Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v8 1/4] platform/x86/amd/hsmp: Recognize Family 1Ah client platforms and hide server-only paths
       [not found] <20261009061356.3234513-2-muralidhara.mk@amd.com>
@ 2026-10-09 23:58 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-09 23:58 UTC (permalink / raw)
  To: Muralidhara M K, ilpo.jarvinen
  Cc: llvm, oe-kbuild-all, platform-driver-x86, linux-kernel,
	Muralidhara M K

Hi Muralidhara,

kernel test robot noticed the following build errors:

[auto build test ERROR on 6c377d19d4a5116d9bec5203aa3c6c11523e7898]

url:    https://github.com/intel-lab-lkp/linux/commits/Muralidhara-M-K/platform-x86-amd-hsmp-Recognize-Family-1Ah-client-platforms-and-hide-server-only-paths/20261009-114353
base:   6c377d19d4a5116d9bec5203aa3c6c11523e7898
patch link:    https://lore.kernel.org/r/20261009061356.3234513-2-muralidhara.mk%40amd.com
patch subject: [PATCH v8 1/4] platform/x86/amd/hsmp: Recognize Family 1Ah client platforms and hide server-only paths
config: i386-buildonly-randconfig-1004-20261010 (https://download.01.org/0day-ci/archive/20261010/202610101031.PjgWVMZh-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261010/202610101031.PjgWVMZh-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/202610101031.PjgWVMZh-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/platform/x86/amd/hsmp/hsmp.c:25:
>> drivers/platform/x86/amd/hsmp/hsmp.h:48:10: error: use of undeclared identifier 'acpi_gbl_FADT'
      48 |         switch (acpi_gbl_FADT.preferred_profile) {
         |                 ^~~~~~~~~~~~~
   1 error generated.


vim +/acpi_gbl_FADT +48 drivers/platform/x86/amd/hsmp/hsmp.h

    38	
    39	/* True when the ACPI-reported PM profile indicates a client platform */
    40	static inline bool is_client_platform(void)
    41	{
    42		if (!IS_ENABLED(CONFIG_ACPI))
    43			return false;
    44	
    45		if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD)
    46			return false;
    47	
  > 48		switch (acpi_gbl_FADT.preferred_profile) {
    49		case PM_DESKTOP:
    50		case PM_MOBILE:
    51		case PM_TABLET:
    52			return true;
    53		default:
    54			return false;
    55		}
    56	}
    57	

--
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-10-09 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261009061356.3234513-2-muralidhara.mk@amd.com>
2026-10-09 23:58 ` [PATCH v8 1/4] platform/x86/amd/hsmp: Recognize Family 1Ah client platforms and hide server-only paths 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