# git rev-parse -q --verify f0791b0a3274517aaffb9b2cfb7c0a97cb4b0367^{commit} f0791b0a3274517aaffb9b2cfb7c0a97cb4b0367 already have revision, skipping fetch # git checkout -q -f -B kisskb f0791b0a3274517aaffb9b2cfb7c0a97cb4b0367 # git clean -qxdf # < git log -1 # commit f0791b0a3274517aaffb9b2cfb7c0a97cb4b0367 # 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 f0791b0a3274517aaffb9b2cfb7c0a97cb4b0367 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc8540_ads_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x4ac3bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x49bcfc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:15:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2425743 Bytes = 2368.89 KiB = 2.31 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:15:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2454571 Bytes = 2397.04 KiB = 2.34 MiB Load Address: 00500000 Entry Point: 005002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_mpc8540_ads_defconfig_powerpc-gcc5 # Build took: 0:00:49.211662