# 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 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7b9c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc6b190) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6123645 Bytes = 5980.12 KiB = 5.84 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154563 Bytes = 6010.32 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154042 Bytes = 6009.81 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154178 Bytes = 6009.94 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6155319 Bytes = 6011.05 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154496 Bytes = 6010.25 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154002 Bytes = 6009.77 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154556 Bytes = 6010.31 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154045 Bytes = 6009.81 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154679 Bytes = 6010.43 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6155465 Bytes = 6011.20 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154180 Bytes = 6009.94 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154557 Bytes = 6010.31 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6156046 Bytes = 6011.76 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6155987 Bytes = 6011.71 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.2.0-gf0791b0a3274 Created: Thu Jul 25 01:10:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6154416 Bytes = 6010.17 KiB = 5.87 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:06.962611