# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc5200_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_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. INFO: Uncompressed kernel (size 0x6d23d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6d23d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6d23d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6c1cb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:22:49 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3439627 Bytes = 3359.01 kB = 3.28 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:22:49 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3463410 Bytes = 3382.24 kB = 3.30 MB Load Address: 00700000 Entry Point: 00700228 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:22:49 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3463400 Bytes = 3382.23 kB = 3.30 MB Load Address: 00700000 Entry Point: 00700228 Image Name: Linux-4.18.0-rc3-ga2ccce2 Created: Mon Aug 6 23:22:49 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3463154 Bytes = 3381.99 kB = 3.30 MB Load Address: 00700000 Entry Point: 00700228 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-5.3 # Build took: 0:01:17.074605