# 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/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 8b62a2b95d17d0b7d12b059a8a6e287009300fca # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_chrp32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- chrp32_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_chrp32_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/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/net/netfilter/nf_nat_masquerade.c:15:21: warning: 'masq_refcnt6' defined but not used [-Wunused-variable] static unsigned int masq_refcnt6 __read_mostly; ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_chrp32_defconfig_powerpc-gcc5 # Build took: 0:00:56.303287