Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [avpatel:riscv_trace_acpi_support_v1 60/60] include/acpi/processor.h:224:2: error: unknown type name 'phys_cpuid_t'
@ 2026-05-13 17:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-13 17:18 UTC (permalink / raw)
  To: Sunil V L; +Cc: llvm, oe-kbuild-all, Anup Patel

tree:   https://github.com/avpatel/linux.git riscv_trace_acpi_support_v1
head:   893faf8dbff9fe0958fb1f32b778914af0fa1b45
commit: 893faf8dbff9fe0958fb1f32b778914af0fa1b45 [60/60] rvtrace: Add ACPI support
config: riscv-randconfig-001-20260513 (https://download.01.org/0day-ci/archive/20260514/202605140151.5X5VUqqn-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605140151.5X5VUqqn-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/202605140151.5X5VUqqn-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/hwtracing/rvtrace/rvtrace-platform.c:15:
>> include/acpi/processor.h:224:2: error: unknown type name 'phys_cpuid_t'
     224 |         phys_cpuid_t phys_id;   /* CPU hardware ID such as APIC ID for x86 */
         |         ^
   include/acpi/processor.h:358:1: error: unknown type name 'phys_cpuid_t'
     358 | phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
         | ^
   include/acpi/processor.h:359:1: error: unknown type name 'phys_cpuid_t'
     359 | phys_cpuid_t acpi_map_madt_entry(u32 acpi_id);
         | ^
   include/acpi/processor.h:360:20: error: unknown type name 'phys_cpuid_t'
     360 | int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
         |                    ^
   4 errors generated.


vim +/phys_cpuid_t +224 include/acpi/processor.h

^1da177e4c3f41 Linus Torvalds    2005-04-16  220  
^1da177e4c3f41 Linus Torvalds    2005-04-16  221  struct acpi_processor {
^1da177e4c3f41 Linus Torvalds    2005-04-16  222  	acpi_handle handle;
^1da177e4c3f41 Linus Torvalds    2005-04-16  223  	u32 acpi_id;
828aef376d7a12 Catalin Marinas   2015-03-24 @224  	phys_cpuid_t phys_id;	/* CPU hardware ID such as APIC ID for x86 */
af8f3f514d193e Hanjun Guo        2015-01-04  225  	u32 id;		/* CPU logical ID allocated by OS */
^1da177e4c3f41 Linus Torvalds    2005-04-16  226  	u32 pblk;
^1da177e4c3f41 Linus Torvalds    2005-04-16  227  	int performance_platform_limit;
01854e697a77a4 Luming Yu         2007-05-26  228  	int throttling_platform_limit;
ff55a9cebab024 Len Brown         2007-06-02  229  	/* 0 - states 0..n-th state available */
01854e697a77a4 Luming Yu         2007-05-26  230  
^1da177e4c3f41 Linus Torvalds    2005-04-16  231  	struct acpi_processor_flags flags;
^1da177e4c3f41 Linus Torvalds    2005-04-16  232  	struct acpi_processor_power power;
^1da177e4c3f41 Linus Torvalds    2005-04-16  233  	struct acpi_processor_performance *performance;
^1da177e4c3f41 Linus Torvalds    2005-04-16  234  	struct acpi_processor_throttling throttling;
^1da177e4c3f41 Linus Torvalds    2005-04-16  235  	struct acpi_processor_limit limit;
d9460fd227ed2c Zhang Rui         2008-01-17  236  	struct thermal_cooling_device *cdev;
ac212b6980d8d5 Rafael J. Wysocki 2013-05-03  237  	struct device *dev; /* Processor device. */
3000ce3c52f8b8 Rafael J. Wysocki 2019-10-16  238  	struct freq_qos_request perflib_req;
3000ce3c52f8b8 Rafael J. Wysocki 2019-10-16  239  	struct freq_qos_request thermal_req;
^1da177e4c3f41 Linus Torvalds    2005-04-16  240  };
^1da177e4c3f41 Linus Torvalds    2005-04-16  241  

:::::: The code at line 224 was first introduced by commit
:::::: 828aef376d7a129547bc4ebb949965040177e3da ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

:::::: TO: Catalin Marinas <catalin.marinas@arm.com>
:::::: CC: Will Deacon <will.deacon@arm.com>

--
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-13 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-13 17:18 [avpatel:riscv_trace_acpi_support_v1 60/60] include/acpi/processor.h:224:2: error: unknown type name 'phys_cpuid_t' 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