Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v8 0/7] x86/hygon: Add Family 0x18 DF node enumeration and SMN access
@ 2026-10-22  7:42 Lin Wang
  2026-10-22  7:42 ` [PATCH v8 1/7] x86/hygon: Add Family 0x18 DF node enumeration Lin Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Lin Wang @ 2026-10-22  7:42 UTC (permalink / raw)
  To: Borislav Petkov, Yazen Ghannam, Mario Limonciello
  Cc: Pu Wen, Thomas Gleixner, Ingo Molnar, Dave Hansen, H. Peter Anvin,
	Tony Luck, Guenter Roeck, x86, linux-edac, linux-hwmon,
	linux-kernel

v8 addresses Yazen's comments on v7. The node and SMN helpers remain
local to hygon_node.c until Hygon consumers are added upstream. The
cache-build warning for -ENODEV is suppressed in guests; other errors
and bare-metal warnings are unchanged.

Patch 6 depends on "hwmon: (k10temp) Stop matching Hygon devices",
which Guenter has applied 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 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 v8 on a Family 0x18 Model 0x07 system with 2 sockets, 12 Core
and DDR Dies (CDDs) and 4 I/O Dies (IODs).

Changes in v8:

  - Keep unused node and SMN interfaces local. (Yazen)
  - Avoid the -ENODEV cache-build warning in guests. (Yazen)
  - Align the CPU-to-DF assignments. (Yazen)
  - Simplify the AMD SMN commit message. (Yazen)
  - Add a separate HYGON NODE DRIVER entry instead of changing
    HYGON PROCESSOR SUPPORT.

Link: https://lore.kernel.org/20261009090111.151878-1-wanglin@open-hieco.net # v7
Link: https://lore.kernel.org/20261017145226.GA359037@yaz-khff2.amd.com # v7 1/7 review
Link: https://lore.kernel.org/20261017153308.GE359037@yaz-khff2.amd.com # v7 6/7 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                       |   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      | 882 ++++++++++++++++++++++++++++++
 drivers/edac/amd64_edac.c         |   4 -
 drivers/ras/amd/atl/core.c        |   9 +-
 9 files changed, 945 insertions(+), 15 deletions(-)
 create mode 100644 arch/x86/include/asm/hygon/node.h
 create mode 100644 arch/x86/kernel/hygon_node.c

base-commit: 7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614
-- 
2.43.0


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

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

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-22  7:42 [PATCH v8 0/7] x86/hygon: Add Family 0x18 DF node enumeration and SMN access Lin Wang
2026-10-22  7:42 ` [PATCH v8 1/7] x86/hygon: Add Family 0x18 DF node enumeration Lin Wang
2026-10-22  7:49   ` sashiko-bot
2026-10-24 15:15   ` Yazen Ghannam
2026-10-22  7:42 ` [PATCH v8 2/7] x86/hygon: Map CPU NodeIds to DF nodes Lin Wang
2026-10-22  7:56   ` sashiko-bot
2026-10-22  7:42 ` [PATCH v8 3/7] EDAC/amd64: Stop matching Hygon CPUs Lin Wang
2026-10-22  7:45   ` sashiko-bot
2026-10-22  7:42 ` [PATCH v8 4/7] RAS/AMD/ATL: Match AMD CPUs only Lin Wang
2026-10-22  7:46   ` sashiko-bot
2026-10-22  7:42 ` [PATCH v8 5/7] x86/amd_nb: Restrict the northbridge framework to AMD CPUs Lin Wang
2026-10-22  7:48   ` sashiko-bot
2026-10-22  7:42 ` [PATCH v8 6/7] x86/amd_node: Restrict SMN setup " Lin Wang
2026-10-22  7:49   ` sashiko-bot
2026-10-22  7:42 ` [PATCH v8 7/7] x86/hygon: Add Family 0x18 SMN access Lin Wang
2026-10-22  7:52   ` sashiko-bot

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