# git rev-parse -q --verify db972a3787d12b1ce9ba7a31ec376d8a79e04c47^{commit} db972a3787d12b1ce9ba7a31ec376d8a79e04c47 already have revision, skipping fetch # git checkout -q -f -B kisskb db972a3787d12b1ce9ba7a31ec376d8a79e04c47 # git clean -qxdf # < git log -1 # commit db972a3787d12b1ce9ba7a31ec376d8a79e04c47 # Author: Christophe Leroy # Date: Tue Dec 8 05:24:19 2020 +0000 # # powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK # # low_sleep_handler() can't restore the context from standard # stack because the stack can hardly be accessed with MMU OFF. # # Store everything in a global storage area instead of storing # a pointer to the stack in that global storage area. # # To avoid a complete churn of the function, still use r1 as # the pointer to the storage area during restore. # # Fixes: cd08f109e262 ("powerpc/32s: Enable CONFIG_VMAP_STACK") # Reported-by: Giuseppe Sacco # Signed-off-by: Christophe Leroy # Tested-by: Giuseppe Sacco # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/e3e0d8042a3ba75cb4a9546c19c408b5b5b28994.1607404931.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 db972a3787d12b1ce9ba7a31ec376d8a79e04c47 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet32_smp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xe49400) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) Image Name: Linux-5.10.0-rc2-gdb972a3787d1 Created: Wed Dec 9 03:04:25 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6717965 Bytes = 6560.51 KiB = 6.41 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 # Build took: 0:01:25.456675