# git rev-parse -q --verify ce9a7e6528a3564a1c6f7851771ad15e44a865d5^{commit} ce9a7e6528a3564a1c6f7851771ad15e44a865d5 already have revision, skipping fetch # git checkout -q -f -B kisskb ce9a7e6528a3564a1c6f7851771ad15e44a865d5 # git clean -qxdf # < git log -1 # commit ce9a7e6528a3564a1c6f7851771ad15e44a865d5 # Author: Michael Ellerman # Date: Mon Jul 22 22:26:56 2019 +1000 # # powerpc: Wire up clone3 syscall # # Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork: # add clone3"). # # This requires a ppc_clone3 wrapper, in order to save the non-volatile # GPRs before calling into the generic syscall code. Otherwise we hit # the BUG_ON in CHECK_FULL_REGS in copy_thread(). # # Lightly tested using Christian's test code on a Power8 LE VM. # # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190722132231.10169-1-mpe@ellerman.id.au # < /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 ce9a7e6528a3564a1c6f7851771ad15e44a865d5 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/pcm030_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^ INFO: Uncompressed kernel (size 0x485f44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.2.0trunk+ Created: Wed Jul 24 00:22:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2319303 Bytes = 2264.94 KiB = 2.21 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_52xx_pcm030_defconfig_powerpc-gcc5 # Build took: 0:00:48.343405