# git rev-parse -q --verify 3371673d42d314f9ac721dc5042135df8bec49f9^{commit} 3371673d42d314f9ac721dc5042135df8bec49f9 already have revision, skipping fetch # git checkout -q -f -B kisskb 3371673d42d314f9ac721dc5042135df8bec49f9 # git clean -qxdf # < git log -1 # commit 3371673d42d314f9ac721dc5042135df8bec49f9 # Author: Alexey Kardashevskiy # Date: Fri Jun 12 14:33:03 2020 +1000 # # powerpc/xive: Ignore kmemleak false positives # # xive_native_provision_pages() allocates memory and passes the pointer to # OPAL so kmemleak cannot find the pointer usage in the kernel memory and # produces a false positive report (below) (even if the kernel did scan # OPAL memory, it is unable to deal with __pa() addresses anyway). # # This silences the warning. # # unreferenced object 0xc000200350c40000 (size 65536): # comm "qemu-system-ppc", pid 2725, jiffies 4294946414 (age 70776.530s) # hex dump (first 32 bytes): # 02 00 00 00 50 00 00 00 00 00 00 00 00 00 00 00 ....P........... # 01 00 08 07 00 00 00 00 00 00 00 00 00 00 00 00 ................ # backtrace: # [<0000000081ff046c>] xive_native_alloc_vp_block+0x120/0x250 # [<00000000d555d524>] kvmppc_xive_compute_vp_id+0x248/0x350 [kvm] # [<00000000d69b9c9f>] kvmppc_xive_connect_vcpu+0xc0/0x520 [kvm] # [<000000006acbc81c>] kvm_arch_vcpu_ioctl+0x308/0x580 [kvm] # [<0000000089c69580>] kvm_vcpu_ioctl+0x19c/0xae0 [kvm] # [<00000000902ae91e>] ksys_ioctl+0x184/0x1b0 # [<00000000f3e68bd7>] sys_ioctl+0x48/0xb0 # [<0000000001b2c127>] system_call_exception+0x124/0x1f0 # [<00000000d2b2ee40>] system_call_common+0xe8/0x214 # # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200612043303.84894-1-aik@ozlabs.ru # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3371673d42d314f9ac721dc5042135df8bec49f9 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x320C5CD0 # 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:6098:warning: override: reassigning to symbol STANDALONE .config:6102:warning: override: reassigning to symbol PPC64 .config:6103:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:6104:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:6105:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] /kisskb/src/lib/test_objagg.c: In function 'test_hints_case.constprop': /kisskb/src/lib/test_objagg.c:994:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] 994 | } | ^ /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:10: error: implicit declaration of function 'mm_iommu_put'; did you mean 'mm_iommu_init'? [-Werror=implicit-function-declaration] 101 | ret = mm_iommu_put(data->mm, data->mem); | ^~~~~~~~~~~~ | mm_iommu_init /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:14: error: implicit declaration of function 'mm_iommu_newdev' [-Werror=implicit-function-declaration] 165 | ret = (int) mm_iommu_newdev(data->mm, data->useraddr, | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:280: drivers/vfio/pci/vfio_pci_nvlink2.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/vfio/pci] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/vfio] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-main.c: In function 'VXGE_COMPLETE_VPATH_TX.isra.0': /kisskb/src/drivers/net/ethernet/neterion/vxge/vxge-main.c:119:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] 119 | } | ^ make[1]: *** [/kisskb/src/Makefile:1778: drivers] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:03:54.383717