# 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_44x_icon_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/icon_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_icon_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. Completed OK # rm -rf /kisskb/build/powerpc-next_44x_icon_defconfig_powerpc-5.3 # Build took: 0:00:47.951196