# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 5a3840a470c41ec0b85cd36ca80370330656b163 # < make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 48 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" FIT description: Linux 5.0.0-rc1-g5a3840a470c4 Created: Tue Feb 5 22:07:41 2019 Image 0 (kernel@0) Description: Linux 5.0.0-rc1-g5a3840a470c4 Created: Tue Feb 5 22:07:41 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4500907 Bytes = 4395.42 KiB = 4.29 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808543b0 Hash algo: sha1 Hash value: 705b8c5881e59ed80c0a2340728aab50f495da68 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Tue Feb 5 22:07:41 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Tue Feb 5 22:07:41 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Tue Feb 5 22:07:41 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 509ce58e44c561d54539e64e9d4b47054e696fc6 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel # Build took: 0:01:26.867645