]> 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)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:18:05 +0000 (11:18 +0100)
commit8a3dc0f7c4ccf13098dba804be06799b4bd46c7a
tree77c1abcc07c499ccc3da13f9be42378a1ab27d1e
parentad5a3a8f41aaa511b2150859ef5b1d76fff34fc9
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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