# git rev-parse -q --verify cee3536d24a1d5db66b9f68c3ece0af128187ab4^{commit} cee3536d24a1d5db66b9f68c3ece0af128187ab4 already have revision, skipping fetch # git checkout -q -f -B kisskb cee3536d24a1d5db66b9f68c3ece0af128187ab4 # git clean -qxdf # < git log -1 # commit cee3536d24a1d5db66b9f68c3ece0af128187ab4 # 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 # Acked-by: Christian Brauner # Link: https://lore.kernel.org/r/20190724140259.23554-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 cee3536d24a1d5db66b9f68c3ece0af128187ab4 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc836x_rdk_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc836x_rdk_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc836x_rdk_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 0x54a6e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc2-gcee3536d24a1 Created: Mon Jul 29 11:01:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2697649 Bytes = 2634.42 KiB = 2.57 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_83xx_mpc836x_rdk_defconfig_powerpc-gcc5 # Build took: 0:01:03.048139