# git rev-parse -q --verify 579b9239c1f38665b21e8d0e6ee83ecc96dbd6bb^{commit} 579b9239c1f38665b21e8d0e6ee83ecc96dbd6bb already have revision, skipping fetch # git checkout -q -f -B kisskb 579b9239c1f38665b21e8d0e6ee83ecc96dbd6bb # git clean -qxdf # < git log -1 # commit 579b9239c1f38665b21e8d0e6ee83ecc96dbd6bb # Author: Aneesh Kumar K.V # Date: Wed Jan 23 11:51:38 2019 +0530 # # powerpc/radix: Fix kernel crash with mremap() # # With support for split pmd lock, we use pmd page pmd_huge_pte pointer # to store the deposited page table. In those config when we move page # tables we need to make sure we move the deposited page table to the # correct pmd page. Otherwise this can result in crash when we withdraw # of deposited page table because we can find the pmd_huge_pte NULL. # # eg: # # __split_huge_pmd+0x1070/0x1940 # __split_huge_pmd+0xe34/0x1940 (unreliable) # vma_adjust_trans_huge+0x110/0x1c0 # __vma_adjust+0x2b4/0x9b0 # __split_vma+0x1b8/0x280 # __do_munmap+0x13c/0x550 # sys_mremap+0x220/0x7e0 # system_call+0x5c/0x70 # # Fixes: 675d995297d4 ("powerpc/book3s64: Enable split pmd ptlock.") # Cc: stable@vger.kernel.org # v4.18+ # Signed-off-by: Aneesh Kumar K.V # 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 579b9239c1f38665b21e8d0e6ee83ecc96dbd6bb # < make -s -j 80 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 80 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-g579b9239c1f3 Created: Fri Feb 1 05:37:01 2019 Image 0 (kernel@0) Description: Linux 5.0.0-rc1-g579b9239c1f3 Created: Fri Feb 1 05:37:01 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4500908 Bytes = 4395.42 KiB = 4.29 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808543b0 Hash algo: sha1 Hash value: a3bd2558d8d3668fb407d8e0bd5c5791c4927dc0 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Fri Feb 1 05:37:01 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: Fri Feb 1 05:37:01 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: Fri Feb 1 05:37:01 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:42.193139