# 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 80 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_canyonlands_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/canyonlands_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_canyonlands_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_canyonlands_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_canyonlands_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_44x_canyonlands_defconfig_powerpc-gcc5 # Build took: 0:00:48.321665