# git rev-parse -q --verify 5bb60ea611db1e04814426ed4bd1c95d1487678e^{commit} 5bb60ea611db1e04814426ed4bd1c95d1487678e already have revision, skipping fetch # git checkout -q -f -B kisskb 5bb60ea611db1e04814426ed4bd1c95d1487678e # git clean -qxdf # < git log -1 # commit 5bb60ea611db1e04814426ed4bd1c95d1487678e # Author: Christophe Leroy # Date: Thu Nov 18 10:39:53 2021 +0100 # # powerpc/32: Fix hardlockup on vmap stack overflow # # Since the commit c118c7303ad5 ("powerpc/32: Fix vmap stack - Do not # activate MMU before reading task struct") a vmap stack overflow # results in a hard lockup. This is because emergency_ctx is still # addressed with its virtual address allthough data MMU is not active # anymore at that time. # # Fix it by using a physical address instead. # # Fixes: c118c7303ad5 ("powerpc/32: Fix vmap stack - Do not activate MMU before reading task struct") # Cc: stable@vger.kernel.org # v5.10+ # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/ce30364fb7ccda489272af4a1612b6aa147e1d23.1637227521.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 5bb60ea611db1e04814426ed4bd1c95d1487678e # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 # Build took: 0:00:53.883299