* Re: [PATCH] drm/amdgpu: Remove UML build exclusion from Kconfig
[not found] <20260505162018.1755740-1-alex.hung@amd.com>
@ 2026-05-14 0:45 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 0:45 UTC (permalink / raw)
To: Alex Hung, alexander.deucher, christian.koenig, airlied, simona,
timur.kristof, pratap.nirujogi, vitaly.prosyak, harry.wentland,
amd-gfx, dri-devel
Cc: llvm, oe-kbuild-all
Hi Alex,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v7.1-rc3 next-20260508]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Alex-Hung/drm-amdgpu-Remove-UML-build-exclusion-from-Kconfig/20260513-150500
base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next
patch link: https://lore.kernel.org/r/20260505162018.1755740-1-alex.hung%40amd.com
patch subject: [PATCH] drm/amdgpu: Remove UML build exclusion from Kconfig
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20260514/202605140801.Fqury68H-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605140801.Fqury68H-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605140801.Fqury68H-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26:
In file included from include/linux/pci.h:38:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:24:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1209 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2353:9: error: call to undeclared function 'cpu_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2353 | return cpu_data(first_cpu_of_numa_node).topo.apicid;
| ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2353:41: error: member reference base type 'int' is not a structure or union
2353 | return cpu_data(first_cpu_of_numa_node).topo.apicid;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
1 warning and 2 errors generated.
--
In file included from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:24:
In file included from include/linux/pci.h:38:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:24:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1209 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:1830:27: error: call to undeclared function 'cpu_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1830 | struct cpuinfo_x86 *c = &cpu_data(0);
| ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:1830:26: error: cannot take the address of an rvalue of type 'int'
1830 | struct cpuinfo_x86 *c = &cpu_data(0);
| ^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:1833:7: error: incomplete definition of type 'struct cpuinfo_x86'
1833 | if (c->x86_vendor == X86_VENDOR_AMD)
| ~^
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:1830:9: note: forward declaration of 'struct cpuinfo_x86'
1830 | struct cpuinfo_x86 *c = &cpu_data(0);
| ^
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:1833:23: error: use of undeclared identifier 'X86_VENDOR_AMD'
1833 | if (c->x86_vendor == X86_VENDOR_AMD)
| ^
1 warning and 4 errors generated.
vim +/cpu_data +2353 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c
851a645efd0fee Felix Kuehling 2017-11-27 2342
520b8fb755ccfb Felix Kuehling 2017-12-08 2343 static int kfd_cpumask_to_apic_id(const struct cpumask *cpumask)
520b8fb755ccfb Felix Kuehling 2017-12-08 2344 {
520b8fb755ccfb Felix Kuehling 2017-12-08 2345 int first_cpu_of_numa_node;
520b8fb755ccfb Felix Kuehling 2017-12-08 2346
520b8fb755ccfb Felix Kuehling 2017-12-08 2347 if (!cpumask || cpumask == cpu_none_mask)
520b8fb755ccfb Felix Kuehling 2017-12-08 2348 return -1;
520b8fb755ccfb Felix Kuehling 2017-12-08 2349 first_cpu_of_numa_node = cpumask_first(cpumask);
520b8fb755ccfb Felix Kuehling 2017-12-08 2350 if (first_cpu_of_numa_node >= nr_cpu_ids)
520b8fb755ccfb Felix Kuehling 2017-12-08 2351 return -1;
df1dd4f4a7271e Felix Kuehling 2019-01-02 2352 #ifdef CONFIG_X86_64
b9655e702dc5d8 Thomas Gleixner 2023-08-14 @2353 return cpu_data(first_cpu_of_numa_node).topo.apicid;
df1dd4f4a7271e Felix Kuehling 2019-01-02 2354 #else
df1dd4f4a7271e Felix Kuehling 2019-01-02 2355 return first_cpu_of_numa_node;
df1dd4f4a7271e Felix Kuehling 2019-01-02 2356 #endif
520b8fb755ccfb Felix Kuehling 2017-12-08 2357 }
520b8fb755ccfb Felix Kuehling 2017-12-08 2358
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-14 0:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260505162018.1755740-1-alex.hung@amd.com>
2026-05-14 0:45 ` [PATCH] drm/amdgpu: Remove UML build exclusion from Kconfig kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox