# 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-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe # make -s -j 24 ARCH=arm64 O=/kisskb/build/powerpc-fixes_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 24 ARCH=arm64 O=/kisskb/build/powerpc-fixes_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 24 ARCH=arm64 O=/kisskb/build/powerpc-fixes_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 24 ARCH=arm64 O=/kisskb/build/powerpc-fixes_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_defconfig_arm64-gcc11 # Build took: 0:12:26.389393