BUILD REGRESSION 90b85567e45736b662d034be536a76ba0f4c7ca8
Ilpo Järvinen
maintainerHi Suma,
Could you please fix this as well.
The relevant configs:
CONFIG_AMD_HSMP=y
#
# AMD HSMP Driver
#CONFIG_AMD_HSMP_ACPI=yCONFIG_AMD_HSMP_PLAT=m
CONFIG_HWMON=m
I think it tries to build HSMP's hwmon.o as non-module and therefore fails to find the symbol because HWMON=m. Maybe something like:
depends on HWMON || HWMON = n
to AMD_HSMP would enforce building hsmp as module if hwmon is module.
Quoted 15 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-ilpo-next branch HEAD:
90b85567e45736b662d034be536a76ba0f4c7ca8platform/x86: Add AMD ISP platform config for OV05C10Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/[email protected]
ERROR: modpost: "
hsmp_create_sensor" [drivers/platform/x86/amd/hsmp/amd_hsmp.ko] undefined!Error/Warning ids grouped by kconfigs:
recent_errors
`-- x86_64-buildonly-randconfig-001-20250515
`-- ERROR:hsmp_create_sensor-drivers-platform-x86-amd-hsmp-amd_hsmp.ko-undefined
Signature · 1 line
i.
Hi Ilpo,
Quoted 6 lines · Ilpo Järvinen
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Hi Suma,
Could you please fix this as well.
I am checking this. will send a fix patch.
Quoted 31 lines
The relevant configs:
CONFIG_AMD_HSMP=y#
# AMD HSMP Driver
#CONFIG_AMD_HSMP_ACPI=yCONFIG_AMD_HSMP_PLAT=m
CONFIG_HWMON=mI think it tries to build HSMP's hwmon.o as non-module and therefore fails to find the symbol because HWMON=m. Maybe something like:
depends on HWMON || HWMON = nto
AMD_HSMPwould enforce building hsmp as module if hwmon is module.Quoted 9 lines · kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-ilpo-next branch HEAD:
90b85567e45736b662d034be536a76ba0f4c7ca8platform/x86: Add AMD ISP platform config for OV05C10Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/[email protected]
ERROR: modpost: "
hsmp_create_sensor" [drivers/platform/x86/amd/hsmp/amd_hsmp.ko] undefined!
Quoted 8 lines
Quoted 6 lines
Error/Warning ids grouped by kconfigs:
recent_errors
`-- x86_64-buildonly-randconfig-001-20250515
`-- ERROR:hsmp_create_sensor-drivers-platform-x86-amd-hsmp-amd_hsmp.ko-undefined--
i.
Thanks and Regards,
Suma