]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/amd_node, platform/x86/amd/hsmp: Have HSMP use SMN through AMD_NODE
authorYazen Ghannam <yazen.ghannam@amd.com>
Thu, 30 Jan 2025 19:48:55 +0000 (19:48 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 17 Feb 2025 08:47:31 +0000 (09:47 +0100)
commit735049b801cf3d597752017385cfc8768ce44303
tree07e66cb46a56ae02c3de56b69977ae8b154cb51a
parente3cd85963a20d2b92e77046a8d9f0777815f1f71
x86/amd_node, platform/x86/amd/hsmp: Have HSMP use SMN through AMD_NODE

The HSMP interface is just an SMN interface with different offsets.

Define an HSMP wrapper in the SMN code and have the HSMP platform driver
use that rather than a local solution.

Also, remove the "root" member from AMD_NB, since there are no more
users of it.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Carlos Bilbao <carlos.bilbao@kernel.org>
Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250130-wip-x86-amd-nb-cleanup-v4-1-b5cc997e471b@amd.com
arch/x86/include/asm/amd_nb.h
arch/x86/include/asm/amd_node.h
arch/x86/kernel/amd_nb.c
arch/x86/kernel/amd_node.c
drivers/platform/x86/amd/hsmp/Kconfig
drivers/platform/x86/amd/hsmp/acpi.c
drivers/platform/x86/amd/hsmp/hsmp.c
drivers/platform/x86/amd/hsmp/hsmp.h
drivers/platform/x86/amd/hsmp/plat.c