aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorSuma Hegde <[email protected]>2025-07-09 10:54:13 +0000
committerIlpo Järvinen <[email protected]>2025-07-09 12:21:50 +0000
commitbde430fb669d03a0025fd90485dc26acfafd9b4f (patch)
treeecd086d2700347f6d910919712906eb1006e031d /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86/intel/pmt/discovery: Fix size_t specifiers for 32-bit (diff)
downloadkernel-bde430fb669d03a0025fd90485dc26acfafd9b4f.tar.gz
kernel-bde430fb669d03a0025fd90485dc26acfafd9b4f.zip
platform/x86/amd/hsmp: Enhance the print messages to prevent confusion
When the HSMP ACPI device is present, loading the amd_hsmp.ko module incorrectly displays the message "HSMP is not supported on Family:%x model:%x\n" despite being supported by the hsmp_acpi.ko module, leading to confusion. To address this issue, relocate the acpi_dev_present() check to the beginning of the hsmp_plt_init() and revise the print message to better reflect the current support status. Additionally, add more error messages in the error paths and debug messages to indicate successful probing for both hsmp_acpi.ko and amd_hsmp.ko modules. Reviewed-by: Naveen Krishna Chatradhi <[email protected]> Signed-off-by: Suma Hegde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions