Skip to contentSkip to conversation

BUILD REGRESSION 90b85567e45736b662d034be536a76ba0f4c7ca8

pdx86-platform-drivers-x86:review-ilpo-next Ilpo Järvinen 2 participants 2 messages May 21, 2025 – May 22, 2025 1 message not in the archive x86 platform drivers

lore
Share & tools
lore

Ilpo Järvinen

author maintainer
#1 lore raw
In reply to a message not in the archive

Hi Suma,

Could you please fix this as well.

The relevant configs:

CONFIG_AMD_HSMP=y

#
# AMD HSMP Driver
#
CONFIG_AMD_HSMP_ACPI=y
CONFIG_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: 90b85567e45736b662d034be536a76ba0f4c7ca8 platform/x86: Add AMD ISP platform config for OV05C10

Error/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.
#2 lore raw

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=y
CONFIG_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 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: 90b85567e45736b662d034be536a76ba0f4c7ca8 platform/x86: Add AMD ISP platform config for OV05C10

Error/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