# 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/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-gcc --version # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-ld --version # < git log --format=%s --max-count=1 f01ad0b9f2dcfd006e1fa77104fdf989980ff20f # < make -s -j 32 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- mmu_defconfig # < make -s -j 32 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- help # make -s -j 32 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- olddefconfig # make -s -j 32 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- :1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp] Kernel: arch/microblaze/boot/linux.bin is ready (#1) Completed OK # rm -rf /kisskb/build/powerpc-fixes_mmu_defconfig_microblaze # Build took: 0:00:35.926012