# 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.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig Using /kisskb/src/arch/powerpc/configs/ppc64_defconfig as base Merging /kisskb/src/arch/powerpc/configs/le.config # # merged configuration written to .config (needs make) # # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 # Build took: 0:03:26.888457