# git rev-parse -q --verify 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d^{commit} 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d already have revision, skipping fetch # git checkout -q -f -B kisskb 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # git clean -qxdf # < git log -1 # commit 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # Author: Linus Torvalds # Date: Sun Dec 27 10:56:33 2020 -0800 # # proc mountinfo: make splice available again # # Since commit 36e2c7421f02 ("fs: don't allow splice read/write without # explicit ops") we've required that file operation structures explicitly # enable splice support, rather than falling back to the default handlers. # # Most /proc files use the indirect 'struct proc_ops' to describe their # file operations, and were fixed up to support splice earlier in commits # 40be821d627c..b24c30c67863, but the mountinfo files interact with the # VFS directly using their own 'struct file_operations' and got missed as # a result. # # This adds the necessary support for splice to work for /proc/*/mountinfo # and friends. # # Reported-by: Joan Bruguera Micó # Reported-by: Jussi Kivilinna # Link: https://bugzilla.kernel.org/show_bug.cgi?id=209971 # Cc: Greg Kroah-Hartman # Cc: Christoph Hellwig # 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 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64e_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_ppc64e_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_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xd26134) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.10.0-80817-g14e3e989f6a Created: Mon Dec 28 07:57:21 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5322509 Bytes = 5197.76 KiB = 5.08 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/linus_ppc64e_defconfig_powerpc-gcc4.9 # Build took: 0:01:52.032354