# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 986d7a76fd53c0145e74c72a04d8403b3288ad78 # < make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 # Build took: 0:02:42.449095