Newer Fam19h EPYC server line of processors from AMD support system management functionality via HSMP (Host System Management Port). 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. This patchset adds a driver and documentation for the device interface. Naveen Krishna Chatradhi (1): Documentation: Add x86/amd_hsmp driver Suma Hegde (1): platforms/x86: Add AMD system management interface driver .../userspace-api/ioctl/ioctl-number.rst | 2 + Documentation/x86/amd_hsmp.rst | 93 ++++ arch/x86/include/asm/amd_hsmp.h | 16 + arch/x86/include/uapi/asm/amd_hsmp.h | 56 +++ drivers/platform/x86/Kconfig | 13 + drivers/platform/x86/Makefile | 1 + drivers/platform/x86/amd_hsmp.c | 426 ++++++++++++++++++ 7 files changed, 607 insertions(+) create mode 100644 Documentation/x86/amd_hsmp.rst create mode 100644 arch/x86/include/asm/amd_hsmp.h create mode 100644 arch/x86/include/uapi/asm/amd_hsmp.h create mode 100644 drivers/platform/x86/amd_hsmp.c -- 2.17.1