# git rev-parse -q --verify f01ad0b9f2dcfd006e1fa77104fdf989980ff20f^{commit} f01ad0b9f2dcfd006e1fa77104fdf989980ff20f already have revision, skipping fetch # git checkout -q -f -B kisskb f01ad0b9f2dcfd006e1fa77104fdf989980ff20f # git clean -qxdf # < git log -1 # commit f01ad0b9f2dcfd006e1fa77104fdf989980ff20f # 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f01ad0b9f2dcfd006e1fa77104fdf989980ff20f # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc832x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc832x_mds_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc832x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc832x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc832x_mds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] Completed OK # rm -rf /kisskb/build/powerpc-fixes_83xx_mpc832x_mds_defconfig_powerpc-gcc5 # Build took: 0:01:02.146788