mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v7 0/7] x86/hygon: Add Family 0x18 DF node enumeration and SMN access
@ 2026-10-09  9:01 Lin Wang
  2026-10-09  9:01 ` [PATCH v7 1/7] x86/hygon: Add Family 0x18 DF node enumeration Lin Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Lin Wang @ 2026-10-09  9:01 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

v7 addresses Boris's comments on v6. File-local names in hygon_node.c
drop the hygon_ prefix. The CPU-to-DF translator remains local to
hygon_node.c for now. It will be used by the Hygon EDAC and ATL support.

The k10temp patch from v6 is dropped because Guenter has applied it to
hwmon-next. It is not in mainline yet and must be merged before patch
6; otherwise k10temp still binds on Hygon and its SMN reads fail.

The scope of the series is unchanged. It adds Data Fabric (DF) node
enumeration and SMN access for Hygon Family 0x18. Hygon DF nodes do not
fit the fixed PCI slot layout used by the AMD node code, so Hygon gets
its own node layer. AMD NB/SMN initialization and EDAC/ATL matching are
restricted to AMD CPUs. Hygon EDAC and ATL support will be posted
separately.

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

Changes in v7:

  - Drop the k10temp patch, applied by Guenter.
  - Keep the CPU-to-DF translator local until needed. (Boris)
  - Drop the hygon_ prefix from file-local names. (Boris)
  - Use kzalloc_objs() for the DF node and SMN root arrays.
  - Remove the two SMN-only cache accessors.

Link: https://lore.kernel.org/20260921055603.25112-1-wanglin@open-hieco.net # v6
Link: https://lore.kernel.org/20260930004330.GFarxbMrS2DQKmC3_M@fat_crate.local # v6 1/8 review
Link: https://lore.kernel.org/20260930030004.GGarx7NIIToO-fWAww@fat_crate.local # v6 2/8 review
Link: https://lore.kernel.org/b292d054-f0cf-4695-94a2-40f0d71563f8@roeck-us.net # k10temp applied

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                       |   3 +
 arch/x86/Kconfig                  |   4 +
 arch/x86/include/asm/hygon/node.h | 164 ++++++
 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      | 887 ++++++++++++++++++++++++++++++
 drivers/edac/amd64_edac.c         |   4 -
 drivers/ras/amd/atl/core.c        |   9 +-
 9 files changed, 1069 insertions(+), 15 deletions(-)
 create mode 100644 arch/x86/include/asm/hygon/node.h
 create mode 100644 arch/x86/kernel/hygon_node.c


base-commit: af32da41b0327b9c6a37856ba82b6760d6c8d10e
-- 
2.43.0


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

end of thread, other threads:[~2026-10-17 15:41 UTC | newest]

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