# git rev-parse -q --verify 8b62a2b95d17d0b7d12b059a8a6e287009300fca^{commit} 8b62a2b95d17d0b7d12b059a8a6e287009300fca already have revision, skipping fetch # git checkout -q -f -B kisskb 8b62a2b95d17d0b7d12b059a8a6e287009300fca # git clean -qxdf # < git log -1 # commit 8b62a2b95d17d0b7d12b059a8a6e287009300fca # 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 # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 8b62a2b95d17d0b7d12b059a8a6e287009300fca # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/sbc8548_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:337:21: note: 'pdeo' was declared here /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/fs/fs_parser.c:413:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat] /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'read' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:498:15: note: 'read' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x471f48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4618c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.1.0-rc2-g8b62a2b95d17 Created: Tue Apr 9 17:31:21 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2229257 Bytes = 2177.01 KiB = 2.13 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc2-g8b62a2b95d17 Created: Tue Apr 9 17:31:21 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2259858 Bytes = 2206.89 KiB = 2.16 MiB Load Address: 00500000 Entry Point: 005002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 # Build took: 0:01:02.550075