Re: [PATCH v8 1/4] platform/x86/amd/hsmp: Recognize Family 1Ah client platforms and hide server-only paths
From: kernel test robot
Date: Fri Oct 09 2026 - 19:59:44 EST
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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610101031.PjgWVMZh-lkp@xxxxxxxxx/
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