# 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/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 986d7a76fd53c0145e74c72a04d8403b3288ad78 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_PPC_POWERNV=n # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- gcc: error: /kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11/tools/objtool/libsubcmd/libsubcmd.a: No such file or directory make[3]: *** [Makefile:71: /kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11/tools/objtool/objtool] Error 1 make[2]: *** [Makefile:73: objtool] Error 2 make[1]: *** [/kisskb/src/Makefile:1440: tools/objtool] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc11 # Build took: 0:01:22.256202