# git rev-parse -q --verify 7a3a4d763837d3aa654cd1059030950410c04d77^{commit} 7a3a4d763837d3aa654cd1059030950410c04d77 already have revision, skipping fetch # git checkout -q -f -B kisskb 7a3a4d763837d3aa654cd1059030950410c04d77 # git clean -qxdf # < git log -1 # commit 7a3a4d763837d3aa654cd1059030950410c04d77 # Author: Alexey Kardashevskiy # Date: Wed Apr 3 15:12:33 2019 +1100 # # powerpc/mm_iommu: Allow pinning large regions # # When called with vmas_arg==NULL, get_user_pages_longterm() allocates # an array of nr_pages*8 which can easily get greater that the max order, # for example, registering memory for a 256GB guest does this and fails # in __alloc_pages_nodemask(). # # This adds a loop over chunks of entries to fit the max order limit. # # Fixes: 678e174c4c16 ("powerpc/mm/iommu: allow migration of cma allocated pages during mm_iommu_do_alloc", 2019-03-05) # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 7a3a4d763837d3aa654cd1059030950410c04d77 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:498:15: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] size_t want, read; ^ /kisskb/src/net/sunrpc/xprtsock.c:529:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret < 0 ? ret : read; ^ /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here ssize_t ret; ^ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/fs_context.h:15, from /kisskb/src/fs/fs_parser.c:13: /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^ /kisskb/src/include/linux/printk.h:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/fs/fs_parser.c:413:6: note: in expansion of macro 'pr_err' pr_err("VALIDATE %s: e[%lu] enum val for %s\n", ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc53928) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc430f4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6054289 Bytes = 5912.39 KiB = 5.77 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083997 Bytes = 5941.40 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083440 Bytes = 5940.86 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083993 Bytes = 5941.40 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083412 Bytes = 5940.83 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083378 Bytes = 5940.80 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083377 Bytes = 5940.80 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6084253 Bytes = 5941.65 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6084707 Bytes = 5942.10 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6084034 Bytes = 5941.44 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6085710 Bytes = 5943.08 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6085189 Bytes = 5942.57 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6085649 Bytes = 5943.02 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6084288 Bytes = 5941.69 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6083388 Bytes = 5940.81 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.1.0-rc2-g7a3a4d763837 Created: Thu Apr 18 02:13:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6084512 Bytes = 5941.91 KiB = 5.80 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:10.552068