# git rev-parse -q --verify 986d7a76fd53c0145e74c72a04d8403b3288ad78^{commit} 986d7a76fd53c0145e74c72a04d8403b3288ad78 already have revision, skipping fetch # git checkout -q -f -B kisskb 986d7a76fd53c0145e74c72a04d8403b3288ad78 # git clean -qxdf # < git log -1 # commit 986d7a76fd53c0145e74c72a04d8403b3288ad78 # Author: Nicholas Piggin # Date: Wed Jun 7 10:56:00 2023 +1000 # # powerpc/64s/radix: Fix exit lazy tlb mm switch with irqs enabled # # Switching mm and tinkering with current->active_mm should be done with # irqs disabled. There is a path where exit_lazy_flush_tlb can be called # with irqs enabled: # # exit_lazy_flush_tlb # flush_type_needed # __flush_all_mm # tlb_finish_mmu # exit_mmap # # Which results in the switching being incorrectly with irqs enabled. # # Reported-by: Sachin Sant # Link: https://lore.kernel.org/linuxppc-dev/87a5xcgopc.fsf@mail.lhotse/T/#m105488939d0cd9f980978ed2fdeeb89bf731e673 # Fixes: a665eec0a22e1 ("powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm") # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230607005601.583293-1-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 986d7a76fd53c0145e74c72a04d8403b3288ad78 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- wii_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_wii_defconfig_powerpc-gcc5 # Build took: 0:01:47.162988