# 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 120 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc83xx_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 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7e49d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7d43c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3594028 Bytes = 3509.79 KiB = 3.43 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3624226 Bytes = 3539.28 KiB = 3.46 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3625030 Bytes = 3540.07 KiB = 3.46 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3625472 Bytes = 3540.50 KiB = 3.46 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3624037 Bytes = 3539.10 KiB = 3.46 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3625136 Bytes = 3540.17 KiB = 3.46 MiB Load Address: 00800000 Entry Point: 00800294 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:07:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3625163 Bytes = 3540.20 KiB = 3.46 MiB Load Address: 00800000 Entry Point: 00800294 Completed OK # rm -rf /kisskb/build/linus_mpc83xx_defconfig_powerpc-gcc4.9 # Build took: 0:00:36.987918