# 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_randconfig+ppc64le_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xB1FFEB25 # 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=n # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_BOOK3E_64=n # Added to kconfig CONFIG_PPC_BOOK3S_64=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_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_randconfig+ppc64le_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_randconfig+ppc64le_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:3998:warning: override: reassigning to symbol PPC64 .config:4003: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_randconfig+ppc64le_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/arch/powerpc/kernel/eeh.c:1707:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] 1707 | static int proc_eeh_show(struct seq_file *m, void *v) | ^~~~~~~~~~~~~ /kisskb/src/drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_reboot_notifier': /kisskb/src/drivers/cpufreq/powernv-cpufreq.c:896:1: warning: the frame size of 1264 bytes is larger than 1024 bytes [-Wframe-larger-than=] 896 | } | ^ In file included from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:29, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:37, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:27: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: In function 'dcn_bw_apply_registry_override': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:64:3: error: implicit declaration of function 'enable_kernel_vsx'; did you mean 'enable_kernel_fp'? [-Werror=implicit-function-declaration] 64 | enable_kernel_vsx(); \ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:626:2: note: in expansion of macro 'DC_FP_START' 626 | DC_FP_START(); | ^~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:67:3: error: implicit declaration of function 'enable_kernel_altivec'; did you mean 'enable_kernel_fp'? [-Werror=implicit-function-declaration] 67 | enable_kernel_altivec(); \ | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:626:2: note: in expansion of macro 'DC_FP_START' 626 | DC_FP_START(); | ^~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:75:3: error: implicit declaration of function 'disable_kernel_vsx'; did you mean 'disable_kernel_fp'? [-Werror=implicit-function-declaration] 75 | disable_kernel_vsx(); \ | ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:662:2: note: in expansion of macro 'DC_FP_END' 662 | DC_FP_END(); | ^~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:78:3: error: implicit declaration of function 'disable_kernel_altivec'; did you mean 'disable_kernel_fp'? [-Werror=implicit-function-declaration] 78 | disable_kernel_altivec(); \ | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:662:2: note: in expansion of macro 'DC_FP_END' 662 | DC_FP_END(); | ^~~~~~~~~ cc1: some warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:281: drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:497: drivers/gpu] Error 2 make[1]: *** [/kisskb/src/Makefile:1778: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_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_randconfig+ppc64le_powerpc-gcc9 # Build took: 0:03:36.498968