Hi all, This revision is based the following branch: https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/log/?h=tip-x86-misc The only major change from the branch is in patch 6. ("x86/amd_nb: Use topology info to get AMD node count") A check is added to verify that all nodes have a 'misc' device. This is to catch any unexpected system configurations including running inside a virtual guest where the node devices aren't exposed. The commit message is also updated. Thanks, Yazen Link: https://lore.kernel.org/r/20241206161210.163701-1-yazen.ghannam@xxxxxxx Major changes v2->v3: * Based on public branch from Boris. * Add check for not finding any 'misc' devices during init. v1->v2: * Rebase HSMP changes on latest upstream rework. * Keep Node and SMN code together. Mario Limonciello (2): x86/amd_nb, hwmon: (k10temp): Simplify amd_pci_dev_to_node_id() x86/amd_nb: Move SMN access code to a new amd_node driver Yazen Ghannam (10): x86/amd_nb: Restrict init function to AMD-based systems x86/amd_nb: Clean up early_is_amd_nb() x86: Start moving AMD node functionality out of AMD_NB x86/amd_nb: Simplify function 4 search x86/amd_nb: Simplify root device search x86/amd_nb: Use topology info to get AMD node count x86/amd_nb: Simplify function 3 search x86/amd_node: Update __amd_smn_rw() error paths x86/amd_node: Remove dependency on AMD_NB x86/amd_node: Use defines for SMN register offsets MAINTAINERS | 8 + arch/x86/Kconfig | 4 + arch/x86/include/asm/amd_nb.h | 22 +- arch/x86/include/asm/amd_node.h | 36 ++++ arch/x86/kernel/Makefile | 1 + arch/x86/kernel/amd_nb.c | 300 ++------------------------- arch/x86/kernel/amd_node.c | 215 +++++++++++++++++++ arch/x86/pci/fixup.c | 4 +- drivers/edac/Kconfig | 1 + drivers/edac/amd64_edac.c | 1 + drivers/hwmon/Kconfig | 2 +- drivers/hwmon/k10temp.c | 7 +- drivers/platform/x86/amd/pmc/Kconfig | 2 +- drivers/platform/x86/amd/pmc/pmc.c | 3 +- drivers/platform/x86/amd/pmf/Kconfig | 2 +- drivers/platform/x86/amd/pmf/core.c | 2 +- drivers/ras/amd/atl/Kconfig | 1 + drivers/ras/amd/atl/internal.h | 1 + 18 files changed, 304 insertions(+), 308 deletions(-) create mode 100644 arch/x86/include/asm/amd_node.h create mode 100644 arch/x86/kernel/amd_node.c -- 2.43.0