# 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_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_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/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa64cf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa75448) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa64cf0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952809 Bytes = 4836.73 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952750 Bytes = 4836.67 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4953053 Bytes = 4836.97 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952254 Bytes = 4836.19 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4951786 Bytes = 4835.73 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4928250 Bytes = 4812.74 kB = 4.70 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:01 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4952469 Bytes = 4836.40 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4953374 Bytes = 4837.28 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.18.0-rc3+ Created: Mon Aug 6 23:17:03 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4953055 Bytes = 4836.97 kB = 4.72 MB Load Address: 00b00000 Entry Point: 00b007a0 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-5.3 # Build took: 0:04:35.199986