# git rev-parse -q --verify c145ff82749b4daa660ab4739f5412b2d62e2d8a^{commit} c145ff82749b4daa660ab4739f5412b2d62e2d8a already have revision, skipping fetch # git checkout -q -f -B kisskb c145ff82749b4daa660ab4739f5412b2d62e2d8a # git clean -qxdf # < git log -1 # commit c145ff82749b4daa660ab4739f5412b2d62e2d8a # Author: Aneesh Kumar K.V # Date: Tue Sep 17 18:08:51 2019 +0530 # # powerpc/nvdimm: Update vmemmap_populated to check sub-section range # # With commit: 7cc7867fb061 ("mm/devm_memremap_pages: enable sub-section remap") # pmem namespaces are remapped in 2M chunks. On architectures like ppc64 we # can map the memmap area using 16MB hugepage size and that can cover # a memory range of 16G. # # While enabling new pmem namespaces, since memory is added in sub-section chunks, # before creating a new memmap mapping, kernel should check whether there is an # existing memmap mapping covering the new pmem namespace. Currently, this is # validated by checking whether the section covering the range is already # initialized or not. Considering there can be multiple namespaces in the same # section this can result in wrong validation. Update this to check for # sub-sections in the range. This is done by checking for all pfns in the range we # are mapping. # # We could optimize this by checking only just one pfn in each sub-section. But # since this is not fast-path we keep this simple. # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190917123851.22553-1-aneesh.kumar@linux.ibm.com # < /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 c145ff82749b4daa660ab4739f5412b2d62e2d8a # < make -s -j 8 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 8 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- FIT description: Linux 5.4.0-rc2-gc145ff82749b Created: Thu Oct 17 11:02:31 2019 Image 0 (kernel@0) Description: Linux 5.4.0-rc2-gc145ff82749b Created: Thu Oct 17 11:02:31 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4788473 Bytes = 4676.24 KiB = 4.57 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808d5390 Hash algo: sha1 Hash value: f5da89fa4335823be083d5be3bebde45aa920246 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Thu Oct 17 11:02:31 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: Thu Oct 17 11:02:31 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@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Thu Oct 17 11:02:31 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 4639 Bytes = 4.53 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 018897896b42c41c943aca35a20e4300dba250c8 Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Thu Oct 17 11:02:31 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 5198 Bytes = 5.08 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 36c7bd0bd79cfc2f7dd6acda6c7996294f4967e6 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Thu Oct 17 11:02:31 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d 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@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel # Build took: 0:02:28.403811