aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/Makefile
diff options
context:
space:
mode:
authorGravatar Suma Hegde <suma.hegde@amd.com> 2022-02-22 10:35:00 +0530
committerGravatar Hans de Goede <hdegoede@redhat.com> 2022-03-02 11:42:36 +0100
commit91f410aa679a035e7abdff47daca4418c384c770 (patch)
treed579aec46c6be453e2b8a13ec51eea774fbc4c1d /drivers/platform/x86/Makefile
parentsurface: surface3_power: Fix battery readings on batteries without a serial n... (diff)
downloadlinux-91f410aa679a035e7abdff47daca4418c384c770.tar.gz
linux-91f410aa679a035e7abdff47daca4418c384c770.tar.bz2
linux-91f410aa679a035e7abdff47daca4418c384c770.zip
platform/x86: Add AMD system management interface
Recent Fam19h EPYC server line of processors from AMD support system management functionality via HSMP (Host System Management Port) interface. The Host System Management Port (HSMP) is an interface to provide OS-level software with access to system management functions via a set of mailbox registers. More details on the interface can be found in chapter "7 Host System Management Port (HSMP)" of the following PPR https://www.amd.com/system/files/TechDocs/55898_B1_pub_0.50.zip This patch adds new amd_hsmp module under the drivers/platforms/x86/ which creates miscdevice with an IOCTL interface to the user space. /dev/hsmp is for running the hsmp mailbox commands. Signed-off-by: Suma Hegde <suma.hegde@amd.com> Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com> Reviewed-by: Carlos Bilbao <carlos.bilbao@amd.com> Acked-by: Song Liu <song@kernel.org> Reviewed-by: Nathan Fontenot <nathan.fontenot@amd.com> Link: https://lore.kernel.org/r/20220222050501.18789-1-nchatrad@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Makefile')
-rw-r--r--drivers/platform/x86/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
index 9527088bba7f..fe4d4c8970ef 100644
--- a/drivers/platform/x86/Makefile
+++ b/drivers/platform/x86/Makefile
@@ -24,6 +24,7 @@ obj-$(CONFIG_ACER_WMI) += acer-wmi.o
# AMD
obj-$(CONFIG_AMD_PMC) += amd-pmc.o
+obj-$(CONFIG_AMD_HSMP) += amd_hsmp.o
# Advantech
obj-$(CONFIG_ADV_SWBUTTON) += adv_swbutton.o