# 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-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 f01ad0b9f2dcfd006e1fa77104fdf989980ff20f # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_PPC_SPLPAR=n # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.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_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc11 # Build took: 0:06:37.362645