# git rev-parse -q --verify 5bb60ea611db1e04814426ed4bd1c95d1487678e^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-test # git rev-parse -q --verify 5bb60ea611db1e04814426ed4bd1c95d1487678e^{commit} 5bb60ea611db1e04814426ed4bd1c95d1487678e # 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/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 5bb60ea611db1e04814426ed4bd1c95d1487678e # < make -s -j 48 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- defconfig arch/m68k/configs/multi_defconfig:322:warning: symbol value 'm' invalid for MCTP # < make -s -j 48 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 48 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 48 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] Completed OK # rm -rf /kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc8 # Build took: 0:02:49.685413