# git rev-parse -q --verify dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe^{commit} dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe already have revision, skipping fetch # git checkout -q -f -B kisskb dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe # git clean -qxdf # < git log -1 # commit dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe # 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 done with irqs enabled, which is # incorrect. # # Fixes: a665eec0a22e ("powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm") # Cc: stable@vger.kernel.org # v5.10+ # Reported-by: Sachin Sant # Link: https://lore.kernel.org/linuxppc-dev/A9A5D83D-BA70-47A4-BCB4-30C1AE19BC22@linux.ibm.com/ # Tested-by: Sachin Sant # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230607005601.583293-1-npiggin@gmail.com # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-gcc --version # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-ld --version # < git log --format=%s --max-count=1 dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe # make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- mmu_defconfig # < make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- help # make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- olddefconfig # make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- Kernel: arch/microblaze/boot/linux.bin is ready (#1) Completed OK # rm -rf /kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 # Build took: 0:00:33.769166