# 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_storcenter_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- storcenter_defconfig WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-next_storcenter_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 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 0x4cc274) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.0.0-rc2-g470237cdeea8 Created: Fri Feb 8 16:34:27 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2518861 Bytes = 2459.83 KiB = 2.40 MiB Load Address: 00500000 Entry Point: 00500894 Completed OK # rm -rf /kisskb/build/powerpc-next_storcenter_defconfig_powerpc-gcc5 # Build took: 0:01:18.006543