# 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/ia64-linux/bin/ia64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-ld --version # < git log --format=%s --max-count=1 db972a3787d12b1ce9ba7a31ec376d8a79e04c47 # < make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- defconfig arch/ia64/configs/generic_defconfig:58:warning: override: reassigning to symbol ATA arch/ia64/configs/generic_defconfig:59:warning: override: reassigning to symbol ATA_PIIX # < make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- help # make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- olddefconfig # make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/ia64/include/uapi/asm/intrinsics.h:22:0, from /kisskb/src/arch/ia64/include/asm/intrinsics.h:11, from /kisskb/src/arch/ia64/include/asm/timex.h:14, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:73, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:355:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^ No errors detected in 22326 functions. Completed OK # rm -rf /kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 # Build took: 0:02:17.035394