# git rev-parse -q --verify 5a3840a470c41ec0b85cd36ca80370330656b163^{commit} 5a3840a470c41ec0b85cd36ca80370330656b163 already have revision, skipping fetch # git checkout -q -f -B kisskb 5a3840a470c41ec0b85cd36ca80370330656b163 # git clean -qxdf # < git log -1 # commit 5a3840a470c41ec0b85cd36ca80370330656b163 # Author: Oliver O'Halloran # Date: Thu Jan 31 12:53:47 2019 +1100 # # powerpc/papr_scm: Use the correct bind address # # When binding an SCM volume to a physical address the hypervisor has the # option to return early with a continue token with the expectation that # the guest will resume the bind operation until it completes. A quirk of # this interface is that the bind address will only be returned by the # first bind h-call and the subsequent calls will return # 0xFFFF_FFFF_FFFF_FFFF for the bind address. # # We currently do not save the address returned by the first h-call. As a # result we will use the junk address as the base of the bound region if # the hypervisor decides to split the bind across multiple h-calls. This # bug was found when testing with very large SCM volumes where the bind # process would take more time than they hypervisor's internal h-call time # limit would allow. This patch fixes the issue by saving the bind address # from the first call. # # Cc: stable@vger.kernel.org # Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions") # Signed-off-by: Oliver O'Halloran # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 5a3840a470c41ec0b85cd36ca80370330656b163 # < make -s -j 80 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux- defconfig # make -s -j 80 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/sched.h:16:0, from /kisskb/src/arch/m68k/kernel/asm-offsets.c:15: /kisskb/src/include/linux/shm.h:8:26: fatal error: asm/shmparam.h: No such file or directory compilation terminated. make[2]: *** [/kisskb/src/scripts/Makefile.build:110: arch/m68k/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1092: prepare0] Error 2 make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 80 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_m68k-defconfig_m68k # Build took: 0:00:09.231966