# 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/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 dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/stx_gp3_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_stx_gp3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_stx_gp3_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_85xx_stx_gp3_defconfig_powerpc-gcc5 # Build took: 0:00:38.780090