# git rev-parse -q --verify cf7cf6977f531acd5dfe55250d0ee8cbbb6f1ae8^{commit} cf7cf6977f531acd5dfe55250d0ee8cbbb6f1ae8 already have revision, skipping fetch # git checkout -q -f -B kisskb cf7cf6977f531acd5dfe55250d0ee8cbbb6f1ae8 # git clean -qxdf # < git log -1 # commit cf7cf6977f531acd5dfe55250d0ee8cbbb6f1ae8 # Author: Michael Ellerman # Date: Tue Apr 9 15:43:11 2019 +1000 # # powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit configs # # The recent commit 8bc086899816 ("powerpc/mm: Only define # MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition # of MAX_PHYSMEM_BITS when SPARSEMEM is disabled. # # This inadvertently broke some 64-bit FLATMEM using configs with eg: # # arch/powerpc/include/asm/book3s/64/mmu-hash.h:584:6: error: "MAX_PHYSMEM_BITS" is not defined, evaluates to 0 # #if (MAX_PHYSMEM_BITS > MAX_EA_BITS_PER_CONTEXT) # ^~~~~~~~~~~~~~~~ # # Fix it by making sure we define MAX_PHYSMEM_BITS for all 64-bit # configs regardless of SPARSEMEM. # # Fixes: 8bc086899816 ("powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations") # Reported-by: Andreas Schwab # Reported-by: Hugh Dickins # Reviewed-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 cf7cf6977f531acd5dfe55250d0ee8cbbb6f1ae8 # < 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- :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] /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_read_stream_request.constprop': /kisskb/src/net/sunrpc/xprtsock.c:525:10: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] return 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; ^ 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", ^ :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] FIT description: Linux 5.1.0-rc2-gcf7cf6977f53 Created: Thu Apr 11 00:22:27 2019 Image 0 (kernel@0) Description: Linux 5.1.0-rc2-gcf7cf6977f53 Created: Thu Apr 11 00:22:27 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4547370 Bytes = 4440.79 KiB = 4.34 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80867490 Hash algo: sha1 Hash value: 49f93124620570fd2dd1cc80361fe3fc46cb50d2 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Thu Apr 11 00:22:27 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 Apr 11 00:22:27 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: Thu Apr 11 00:22:27 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@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:44.419502