# git rev-parse -q --verify a2ccce2ddfec3972eb628de6aafe4910770ccb21^{commit} a2ccce2ddfec3972eb628de6aafe4910770ccb21 already have revision, skipping fetch # git checkout -q -f -B kisskb a2ccce2ddfec3972eb628de6aafe4910770ccb21 # git clean -qxdf # < git log -1 # commit a2ccce2ddfec3972eb628de6aafe4910770ccb21 # Author: Paul Mackerras # Date: Fri Aug 3 20:13:06 2018 +1000 # # powerpc/64: Copy as much as possible in __copy_tofrom_user # # In __copy_tofrom_user, if we encounter an exception on a store, we # stop copying and return the number of bytes not copied. However, # if the store is wider than one byte and is to an unaligned address, # it is possible that the store operand overlaps a page boundary # and the exception occurred on the latter part of the store operand, # meaning that it would be possible to copy a few more bytes. Since # copy_to_user is generally expected to copy as much as possible, # it would be better to copy those extra few bytes. This adds code # to do that. Since this edge case is not performance-critical, # the code has been written to be compact rather than as fast as # possible. # # Signed-off-by: Paul Mackerras # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 a2ccce2ddfec3972eb628de6aafe4910770ccb21 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. In file included from /kisskb/src/include/linux/kernel.h:10: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:77: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)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8555cds.dtb: 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 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb56f60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614715 Bytes = 5483.12 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5615249 Bytes = 5483.64 kB = 5.36 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613963 Bytes = 5482.39 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614695 Bytes = 5483.10 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5590817 Bytes = 5459.78 kB = 5.33 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5615876 Bytes = 5484.25 kB = 5.36 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614697 Bytes = 5483.10 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613920 Bytes = 5482.34 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613744 Bytes = 5482.17 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614278 Bytes = 5482.69 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614876 Bytes = 5483.28 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613743 Bytes = 5482.17 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5613938 Bytes = 5482.36 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5615840 Bytes = 5484.22 kB = 5.36 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614599 Bytes = 5483.01 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:12:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614613 Bytes = 5483.02 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:49.882049