# git rev-parse -q --verify 5bbb336ba75d95611a7b9456355b48705016bdb1^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 5bbb336ba75d95611a7b9456355b48705016bdb1^{commit} 5bbb336ba75d95611a7b9456355b48705016bdb1 # git checkout -q -f -B kisskb 5bbb336ba75d95611a7b9456355b48705016bdb1 # git clean -qxdf # < git log -1 # commit 5bbb336ba75d95611a7b9456355b48705016bdb1 # Merge: 9820b4dca0f9 0b81e80c813f # Author: Linus Torvalds # Date: Sun Feb 21 11:10:39 2021 -0800 # # Merge tag 'for-5.12/io_uring-2021-02-17' of git://git.kernel.dk/linux-block # # Pull io_uring updates from Jens Axboe: # "Highlights from this cycles are things like request recycling and # task_work optimizations, which net us anywhere from 10-20% of speedups # on workloads that mostly are inline. # # This work was originally done to put io_uring under memcg, which adds # considerable overhead. But it's a really nice win as well. Also worth # highlighting is the LOOKUP_CACHED work in the VFS, and using it in # io_uring. Greatly speeds up the fast path for file opens. # # Summary: # # - Put io_uring under memcg protection. We accounted just the rings # themselves under rlimit memlock before, now we account everything. # # - Request cache recycling, persistent across invocations (Pavel, me) # # - First part of a cleanup/improvement to buffer registration (Bijan) # # - SQPOLL fixes (Hao) # # - File registration NULL pointer fixup (Dan) # # - LOOKUP_CACHED support for io_uring # # - Disable /proc/thread-self/ for io_uring, like we do for /proc/self # # - Add Pavel to the io_uring MAINTAINERS entry # # - Tons of code cleanups and optimizations (Pavel) # # - Support for skip entries in file registration (Noah)" # # * tag 'for-5.12/io_uring-2021-02-17' of git://git.kernel.dk/linux-block: (103 commits) # io_uring: tctx->task_lock should be IRQ safe # proc: don't allow async path resolution of /proc/thread-self components # io_uring: kill cached requests from exiting task closing the ring # io_uring: add helper to free all request caches # io_uring: allow task match to be passed to io_req_cache_free() # io-wq: clear out worker ->fs and ->files # io_uring: optimise io_init_req() flags setting # io_uring: clean io_req_find_next() fast check # io_uring: don't check PF_EXITING from syscall # io_uring: don't split out consume out of SQE get # io_uring: save ctx put/get for task_work submit # io_uring: don't duplicate io_req_task_queue() # io_uring: optimise SQPOLL mm/files grabbing # io_uring: optimise out unlikely link queue # io_uring: take compl state from submit state # io_uring: inline io_complete_rw_common() # io_uring: move res check out of io_rw_reissue() # io_uring: simplify iopoll reissuing # io_uring: clean up io_req_free_batch_finish() # io_uring: move submit side state closer in the ring # ... # < /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 5bbb336ba75d95611a7b9456355b48705016bdb1 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x62785092 WARNING: unmet direct dependencies detected for ATA Depends on [n]: HAS_IOMEM [=y] && BLOCK [=n] Selected by [y]: - AKEBONO [=y] && PPC_47x [=y] WARNING: unmet direct dependencies detected for NETDEVICES Depends on [n]: NET [=n] Selected by [y]: - AKEBONO [=y] && PPC_47x [=y] WARNING: unmet direct dependencies detected for ETHERNET Depends on [n]: NETDEVICES [=y] && NET [=n] Selected by [y]: - AKEBONO [=y] && PPC_47x [=y] WARNING: unmet direct dependencies detected for ATA Depends on [n]: HAS_IOMEM [=y] && BLOCK [=n] Selected by [y]: - AKEBONO [=y] && PPC_47x [=y] WARNING: unmet direct dependencies detected for NETDEVICES Depends on [n]: NET [=n] Selected by [y]: - AKEBONO [=y] && PPC_47x [=y] WARNING: unmet direct dependencies detected for ETHERNET Depends on [n]: NETDEVICES [=y] && NET [=n] Selected by [y]: - AKEBONO [=y] && PPC_47x [=y] WARNING: unmet direct dependencies detected for GRO_CELLS Depends on [n]: NET [=n] Selected by [y]: - MACSEC [=y] && NETDEVICES [=y] && NET_CORE [=y] WARNING: unmet direct dependencies detected for NET_DEVLINK Depends on [n]: NET [=n] Selected by [y]: - NFP [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_NETRONOME [=y] && PCI [=y] && PCI_MSI [=y] && (VXLAN [=n] || VXLAN [=n]=n) && (TLS [=n] && TLS_DEVICE [=n] || !TLS_DEVICE [=n]) - QLGE [=y] && STAGING [=y] && ETHERNET [=y] && PCI [=y] WARNING: unmet direct dependencies detected for FAILOVER Depends on [n]: NET [=n] Selected by [y]: - NET_FAILOVER [=y] && NETDEVICES [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5058:warning: override: reassigning to symbol STANDALONE .config:5062:warning: override: reassigning to symbol PPC64 .config:5065:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5070:warning: override: reassigning to symbol UBSAN # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/eeh.c:1571:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] static int proc_eeh_show(struct seq_file *m, void *v) ^ /kisskb/src/kernel/seccomp.c: In function '__seccomp_filter': /kisskb/src/kernel/seccomp.c:1287:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:279: kernel/seccomp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/vfio/pci/vfio_pci_nvlink2.c: In function 'vfio_pci_nvgpu_release': /kisskb/src/drivers/vfio/pci/vfio_pci_nvlink2.c:101:4: error: implicit declaration of function 'mm_iommu_put' [-Werror=implicit-function-declaration] ret = mm_iommu_put(data->mm, data->mem); ^ /kisskb/src/drivers/vfio/pci/vfio_pci_nvlink2.c: In function 'vfio_pci_nvgpu_mmap': /kisskb/src/drivers/vfio/pci/vfio_pci_nvlink2.c:165:2: error: implicit declaration of function 'mm_iommu_newdev' [-Werror=implicit-function-declaration] ret = (int) mm_iommu_newdev(data->mm, data->useraddr, ^ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:279: drivers/vfio/pci/vfio_pci_nvlink2.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:496: drivers/vfio/pci] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:496: drivers/vfio] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1812: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c: In function 'navi10_get_gpu_metrics': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2285:2: warning: missing braces around initializer [-Wmissing-braces] SmuMetrics_NV12_t nv12_metrics = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c:2285:2: warning: (near initialization for 'nv12_metrics.CurrClock') [-Wmissing-braces] make[1]: *** [/kisskb/src/Makefile:1812: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 # Build took: 0:03:46.135120