# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 db972a3787d12b1ce9ba7a31ec376d8a79e04c47 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8540_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/tqm8540_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8540_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8540_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8540_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x571834) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x561214) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.10.0-rc2-65546-gdb972a37 Created: Wed Dec 9 04:00:41 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2778816 Bytes = 2713.69 KiB = 2.65 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.10.0-rc2-65546-gdb972a37 Created: Wed Dec 9 04:00:41 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2809024 Bytes = 2743.19 KiB = 2.68 MiB Load Address: 00600000 Entry Point: 006002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_tqm8540_defconfig_powerpc-gcc4.9 # Build took: 0:00:46.903028