All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-5.10 2579/2579] include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t'
@ 2024-12-12 23:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-12 23:01 UTC (permalink / raw)
  To: kernel, heppen; +Cc: oe-kbuild-all

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: c3fe0dc62217d6faa76128ed26d64e421767919e [2579/2579] cpufreq: Add SEEP governor for hardware-managed P-states
config: arm64-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130652.MbID3V5Y-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130652.MbID3V5Y-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/202412130652.MbID3V5Y-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/acpi/cppc_acpi.h:17,
                    from drivers/cpufreq/cpufreq_seep.c:13:
>> include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t'
     221 |         phys_cpuid_t phys_id;   /* CPU hardware ID such as APIC ID for x86 */
         |         ^~~~~~~~~~~~
   include/acpi/processor.h:350:1: error: unknown type name 'phys_cpuid_t'
     350 | phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
         | ^~~~~~~~~~~~
   include/acpi/processor.h:351:1: error: unknown type name 'phys_cpuid_t'
     351 | phys_cpuid_t acpi_map_madt_entry(u32 acpi_id);
         | ^~~~~~~~~~~~
   include/acpi/processor.h:352:20: error: unknown type name 'phys_cpuid_t'
     352 | int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
         |                    ^~~~~~~~~~~~
   include/acpi/processor.h:354:1: error: unknown type name 'phys_cpuid_t'
     354 | phys_cpuid_t acpi_id_to_phys_cpuid(u32 acpi_id);
         | ^~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CPPC_CPUFREQ_SYSFS_INTERFACE
   Depends on [n]: CPU_FREQ [=y] && (ARM || ARM64 [=y]) && ACPI_CPPC_CPUFREQ [=n]
   Selected by [y]:
   - CPU_FREQ_GOV_SEEP [=y] && CPU_FREQ [=y] && (ACPI_CPPC_CPUFREQ [=n] || ARM64 [=y])


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

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

:::::: The code at line 221 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:[~2024-12-12 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12 23:01 [openeuler:OLK-5.10 2579/2579] include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.