public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] x86/topo: SNC Divination
@ 2026-03-03 10:55 Peter Zijlstra
  2026-03-03 10:55 ` [PATCH v2 1/5] x86/numa: Store extra copy of numa_nodes_parsed Peter Zijlstra
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Peter Zijlstra @ 2026-03-03 10:55 UTC (permalink / raw)
  To: x86, tglx
  Cc: linux-kernel, peterz, tim.c.chen, yu.c.chen, kyle.meyer,
	vinicius.gomes, brgerst, hpa, kprateek.nayak, patryk.wlazlyn,
	rafael.j.wysocki, russ.anderson, zhao1.liu, tony.luck

Hi!

Extend Thomas' MADT time topology code to include SRAT based node counts to
provide a boot time based: topology_num_nodes_per_package().

This provides a best effort estimate for things like Intel CoD/SNC and AMD NPS
modes that are not otherwise enumerated.

Use this measure to address various SNC snafus.

v1: https://lkml.kernel.org/r/20260226104909.675623579@infradead.org

---
 arch/x86/include/asm/numa.h           |   6 ++
 arch/x86/include/asm/topology.h       |   6 ++
 arch/x86/kernel/cpu/common.c          |   3 +
 arch/x86/kernel/cpu/resctrl/monitor.c |  36 +------
 arch/x86/kernel/cpu/topology.c        |  13 ++-
 arch/x86/kernel/smpboot.c             | 198 ++++++++++++++++++++++++----------
 arch/x86/mm/numa.c                    |   8 ++
 arch/x86/mm/srat.c                    |   2 +
 8 files changed, 184 insertions(+), 88 deletions(-)



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

end of thread, other threads:[~2026-03-04 15:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 10:55 [PATCH v2 0/5] x86/topo: SNC Divination Peter Zijlstra
2026-03-03 10:55 ` [PATCH v2 1/5] x86/numa: Store extra copy of numa_nodes_parsed Peter Zijlstra
2026-03-04 15:46   ` [tip: x86/urgent] " tip-bot2 for Peter Zijlstra
2026-03-03 10:55 ` [PATCH v2 2/5] x86/topo: Add topology_num_nodes_per_package() Peter Zijlstra
2026-03-04 15:46   ` [tip: x86/urgent] " tip-bot2 for Peter Zijlstra
2026-03-03 10:55 ` [PATCH v2 3/5] x86/topo: Replace x86_has_numa_in_package Peter Zijlstra
2026-03-04 15:46   ` [tip: x86/urgent] " tip-bot2 for Peter Zijlstra
2026-03-03 10:55 ` [PATCH v2 4/5] x86/topo: Fix SNC topology mess Peter Zijlstra
2026-03-03 11:59   ` Ingo Molnar
2026-03-03 14:45     ` Peter Zijlstra
2026-03-04 15:46   ` [tip: x86/urgent] " tip-bot2 for Peter Zijlstra
2026-03-03 10:55 ` [PATCH v2 5/5] x86/resctrl: Fix SNC detection Peter Zijlstra
2026-03-04 15:46   ` [tip: x86/urgent] " tip-bot2 for Tony Luck
2026-03-03 12:01 ` [PATCH v2 0/5] x86/topo: SNC Divination Ingo Molnar

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