X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH v2] platform/x86/amd/hsmp: Add CONFIG_ACPI dependency
@ 2024-01-30  7:34 Suma Hegde
  2024-01-30  7:34 ` [PATCH v2] platform/x86/amd/hsmp: Remove NULL dereferencing code Suma Hegde
  2024-02-19 12:45 ` [PATCH v2] platform/x86/amd/hsmp: Add CONFIG_ACPI dependency Hans de Goede
  0 siblings, 2 replies; 8+ messages in thread
From: Suma Hegde @ 2024-01-30  7:34 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: ilpo.jarvinen, hdegoede, Suma Hegde, kernel test robot,
	Naveen Krishna Chatradhi

HSMP interface is only supported on x86 based AMD EPYC line of
processors. Driver uses ACPI APIs, so make it dependent on CONFIG_ACPI.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401281437.aus91srb-lkp@intel.com/
Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
---
Changes since v1:
Correct the email id for Naveen Krishna Chatradhi and change it as
Reviewed-by.

 drivers/platform/x86/amd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/amd/Kconfig b/drivers/platform/x86/amd/Kconfig
index 54753213cc61..f88682d36447 100644
--- a/drivers/platform/x86/amd/Kconfig
+++ b/drivers/platform/x86/amd/Kconfig
@@ -8,7 +8,7 @@ source "drivers/platform/x86/amd/pmc/Kconfig"
 
 config AMD_HSMP
 	tristate "AMD HSMP Driver"
-	depends on AMD_NB && X86_64
+	depends on AMD_NB && X86_64 && ACPI
 	help
 	  The driver provides a way for user space tools to monitor and manage
 	  system management functionality on EPYC server CPUs from AMD.
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-20 13:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30  7:34 [PATCH v2] platform/x86/amd/hsmp: Add CONFIG_ACPI dependency Suma Hegde
2024-01-30  7:34 ` [PATCH v2] platform/x86/amd/hsmp: Remove NULL dereferencing code Suma Hegde
2024-02-19 12:48   ` Hans de Goede
2024-02-20 11:47     ` Hegde, Suma
2024-02-19 12:45 ` [PATCH v2] platform/x86/amd/hsmp: Add CONFIG_ACPI dependency Hans de Goede
2024-02-20 11:54   ` Hegde, Suma
2024-02-20 12:06     ` Ilpo Järvinen
2024-02-20 13:36       ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox