# git rev-parse -q --verify 2860180770b4136b1d05f47ed85723aa93bd5bb5^{commit} 2860180770b4136b1d05f47ed85723aa93bd5bb5 already have revision, skipping fetch # git checkout -q -f -B kisskb 2860180770b4136b1d05f47ed85723aa93bd5bb5 # git clean -qxdf # < git log -1 # commit 2860180770b4136b1d05f47ed85723aa93bd5bb5 # Author: Michael Ellerman # Date: Sat Mar 2 22:30:28 2019 +1100 # # powerpc/kconfig: Select HAVE_FUTEX_CMPXCHG # # The futex code allows architectures to determine at runtime if they # support futex_atomic_cmpxchg_inatomic(). It does this by calling that # function early in boot and checking if it returns -ENOSYS. # # That is fine but unnecessary on powerpc, as we always have support for # futex_atomic_cmpxchg_inatomic() if the kernel is built with FUTEX # support. It also means the first page fault we take at boot is on a # deliberate NULL pointer in kernel space, which can be confusing if # you're debugging the page fault code. # # We can avoid the runtime check by selecting HAVE_FUTEX_CMPXCHG, so # let's do that. # # 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 2860180770b4136b1d05f47ed85723aa93bd5bb5 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/obs600_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_obs600_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_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:883: Warning: invalid register expression INFO: Uncompressed kernel (size 0x4a998c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.0.0-rc2-g2860180770b4 Created: Sun Mar 3 19:14:03 2019 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2400654 Bytes = 2344.39 KiB = 2.29 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2393766 Bytes = 2337.66 KiB = 2.28 MiB Image 1: 3 Bytes = 0.00 KiB = 0.00 MiB Image 2: 6866 Bytes = 6.71 KiB = 0.01 MiB Completed OK # rm -rf /kisskb/build/powerpc-next_40x_obs600_defconfig_powerpc-gcc5 # Build took: 0:00:32.310156