mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v9 0/7] x86/hygon: Add Family 0x18 DF node enumeration and SMN access
@ 2026-10-29  5:33 Lin Wang
  2026-10-29  5:33 ` [PATCH v9 1/7] x86/hygon: Add Family 0x18 DF node enumeration Lin Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Lin Wang @ 2026-10-29  5:33 UTC (permalink / raw)
  To: Borislav Petkov, Yazen Ghannam, Mario Limonciello
  Cc: Pu Wen, Thomas Gleixner, Ingo Molnar, Dave Hansen,
	H. Peter Anvin, Tony Luck, x86, linux-edac, linux-kernel

v9 fixes the SMN root-array leak reported by Sashiko. Each DF node now
holds its own PCI reference to its SMN root, so the temporary root table
can be freed after setup. Config-space reservations are retained on
success and released on failure.

The scope is unchanged. The series adds Hygon Data Fabric (DF) node
enumeration and SMN access. AMD NB/SMN initialization and EDAC/ATL
matching are restricted to AMD CPUs. Hygon EDAC and ATL support will
be submitted separately.

Tested v9 on a Family 0x18 Model 0x07 system with 2 sockets, 12 Core
and DDR Dies (CDDs) and 4 I/O Dies (IODs).

Changes in v9:

  - Free the temporary SMN root table and cache selected roots in the
    DF nodes instead of a separate array. (Sashiko)
  - Drop Reviewed-by from patch 7 because its root ownership changed.
  - Rebase onto mainline with the k10temp Hygon removal included.

Link: https://sashiko.dev/#/patchset/20261022074218.667049-1-wanglin%40open-hieco.net # Sashiko v8 review
Link: https://lore.kernel.org/20261009090111.151878-1-wanglin@open-hieco.net # v7
Link: https://lore.kernel.org/20261022074218.667049-1-wanglin@open-hieco.net # v8

Lin Wang (7):
  x86/hygon: Add Family 0x18 DF node enumeration
  x86/hygon: Map CPU NodeIds to DF nodes
  EDAC/amd64: Stop matching Hygon CPUs
  RAS/AMD/ATL: Match AMD CPUs only
  x86/amd_nb: Restrict the northbridge framework to AMD CPUs
  x86/amd_node: Restrict SMN setup to AMD CPUs
  x86/hygon: Add Family 0x18 SMN access

 MAINTAINERS                       |   7 +
 arch/x86/Kconfig                  |   4 +
 arch/x86/include/asm/hygon/node.h |  41 ++
 arch/x86/kernel/Makefile          |   1 +
 arch/x86/kernel/amd_nb.c          |   6 +-
 arch/x86/kernel/amd_node.c        |   6 +-
 arch/x86/kernel/hygon_node.c      | 851 ++++++++++++++++++++++++++++++
 drivers/edac/amd64_edac.c         |   4 -
 drivers/ras/amd/atl/core.c        |   9 +-
 9 files changed, 914 insertions(+), 15 deletions(-)
 create mode 100644 arch/x86/include/asm/hygon/node.h
 create mode 100644 arch/x86/kernel/hygon_node.c

base-commit: c339f4010dea8b0d754f84ace70cd1b089878ef8
-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-04 17:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29  5:33 [PATCH v9 0/7] x86/hygon: Add Family 0x18 DF node enumeration and SMN access Lin Wang
2026-10-29  5:33 ` [PATCH v9 1/7] x86/hygon: Add Family 0x18 DF node enumeration Lin Wang
2026-10-29  5:33 ` [PATCH v9 2/7] x86/hygon: Map CPU NodeIds to DF nodes Lin Wang
2026-10-29  5:33 ` [PATCH v9 3/7] EDAC/amd64: Stop matching Hygon CPUs Lin Wang
2026-10-29  5:33 ` [PATCH v9 4/7] RAS/AMD/ATL: Match AMD CPUs only Lin Wang
2026-10-29  5:33 ` [PATCH v9 5/7] x86/amd_nb: Restrict the northbridge framework to AMD CPUs Lin Wang
2026-10-29  5:33 ` [PATCH v9 6/7] x86/amd_node: Restrict SMN setup " Lin Wang
2026-10-29  5:33 ` [PATCH v9 7/7] x86/hygon: Add Family 0x18 SMN access Lin Wang
2026-11-04 17:16   ` Yazen Ghannam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®