# git rev-parse -q --verify 470237cdeea8ab853523a7b9947124b60d21aae6^{commit} 470237cdeea8ab853523a7b9947124b60d21aae6 already have revision, skipping fetch # git checkout -q -f -B kisskb 470237cdeea8ab853523a7b9947124b60d21aae6 # git clean -qxdf # < git log -1 # commit 470237cdeea8ab853523a7b9947124b60d21aae6 # Author: Michael Ellerman # Date: Thu Feb 7 16:28:06 2019 +1100 # # powerpc: Make PPC_64K_PAGES depend on only 44x or PPC_BOOK3S_64 # # In commit 7820856a4fcd ("powerpc/mm/book3e/64: Remove unsupported # 64Kpage size from 64bit booke") we dropped the 64K page size support # from the 64-bit nohash (Book3E) code. # # But we didn't update the dependencies of the PPC_64K_PAGES option, # meaning a randconfig can still trigger this code and cause a build # breakage, eg: # arch/powerpc/include/asm/nohash/64/pgtable.h:14:2: error: #error "Page size not supported" # arch/powerpc/include/asm/nohash/mmu-book3e.h:275:2: error: #error Unsupported page size # # So remove PPC_BOOK3E_64 from the dependencies. This also means we # don't need to worry about PPC_FSL_BOOK3E, because that was just trying # to prevent the PPC_BOOK3E_64=y && PPC_FSL_BOOK3E=y case. # # 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 470237cdeea8ab853523a7b9947124b60d21aae6 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc8272_ads_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:994: Warning: invalid register expression WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' INFO: Uncompressed kernel (size 0x55f478) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54ee34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-g470237cdeea8 Created: Fri Feb 8 16:47:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2769776 Bytes = 2704.86 KiB = 2.64 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-g470237cdeea8 Created: Fri Feb 8 16:47:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2800254 Bytes = 2734.62 KiB = 2.67 MiB Load Address: 00600000 Entry Point: 00600894 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 # Build took: 0:01:34.826131