]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
x86: Start moving AMD node functionality out of AMD_NB
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 6 Dec 2024 16:11:57 +0000 (16:11 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 8 Jan 2025 09:47:36 +0000 (10:47 +0100)
commite6e6e5e85116b8587ab2dff7cd6ab3e082859ce7
tree32d4678ec0a03ce90c8d25fd8468e1a6b6fac814
parente13f51b51814e2527c51998d2dae594ef9cb633a
x86: Start moving AMD node functionality out of AMD_NB

The "AMD Node" concept spans many families of systems and applies to
a number of subsystems and drivers.

Currently, the AMD Northbridge code is overloaded with AMD node
functionality. However, the node concept is broader than just
northbridges.

Start files to host common AMD node functions and definitions.  Include
a helper to find an AMD node device function based on the convention
described in AMD documentation.

Anything that needs node functionality should include this rather than
amd_nb.h. The AMD_NB code will be reduced to only northbridge-specific
code needed for legacy systems.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20241206161210.163701-5-yazen.ghannam@amd.com
MAINTAINERS
arch/x86/Kconfig
arch/x86/include/asm/amd_node.h [new file with mode: 0644]
arch/x86/kernel/Makefile
arch/x86/kernel/amd_node.c [new file with mode: 0644]