# git rev-parse -q --verify c7e77442681bf331d369a8d3a64471ca2e4f773b^{commit} c7e77442681bf331d369a8d3a64471ca2e4f773b already have revision, skipping fetch # git checkout -q -f -B kisskb c7e77442681bf331d369a8d3a64471ca2e4f773b # git clean -qxdf # < git log -1 # commit c7e77442681bf331d369a8d3a64471ca2e4f773b # 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 c7e77442681bf331d369a8d3a64471ca2e4f773b # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_sam440ep_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/sam440ep_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_sam440ep_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5deba0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-gc7e77442681b Created: Tue Jul 23 21:30:30 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3063323 Bytes = 2991.53 KiB = 2.92 MiB Load Address: 00600000 Entry Point: 00601534 Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_sam440ep_defconfig_powerpc-gcc5 # Build took: 0:00:25.832085