# git rev-parse -q --verify f8ad8187c3b536ee2b10502a8340c014204a1af0^{commit} f8ad8187c3b536ee2b10502a8340c014204a1af0 already have revision, skipping fetch # git checkout -q -f -B kisskb f8ad8187c3b536ee2b10502a8340c014204a1af0 # git clean -qxdf # < git log -1 # commit f8ad8187c3b536ee2b10502a8340c014204a1af0 # Author: Johannes Berg # Date: Mon Jan 25 10:16:15 2021 +0100 # # fs/pipe: allow sendfile() to pipe again # # After commit 36e2c7421f02 ("fs: don't allow splice read/write # without explicit ops") sendfile() could no longer send data # from a real file to a pipe, breaking for example certain cgit # setups (e.g. when running behind fcgiwrap), because in this # case cgit will try to do exactly this: sendfile() to a pipe. # # Fix this by using iter_file_splice_write for the splice_write # method of pipes, as suggested by Christoph. # # Cc: stable@vger.kernel.org # Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") # Suggested-by: Christoph Hellwig # Reviewed-by: Christoph Hellwig # Tested-by: Johannes Berg # Signed-off-by: Johannes Berg # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f8ad8187c3b536ee2b10502a8340c014204a1af0 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1520:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc819dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc91fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc819dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5474175 Bytes = 5345.87 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5441513 Bytes = 5313.98 KiB = 5.19 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5474721 Bytes = 5346.41 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00894 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5473685 Bytes = 5345.40 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5472980 Bytes = 5344.71 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5474624 Bytes = 5346.31 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00894 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:27 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5473676 Bytes = 5345.39 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:28 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5473616 Bytes = 5345.33 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.11.0-rc5+ Created: Tue Jan 26 08:37:28 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5470547 Bytes = 5342.33 KiB = 5.22 MiB Load Address: 00d00000 Entry Point: 00d00294 Completed OK # rm -rf /kisskb/build/linus_ppc6xx_defconfig_powerpc-gcc4.9 # Build took: 0:03:29.664526