Skip to content

x86/topo: SNC Divination

Peter Zijlstra lkml 2 versions – Applied

Status from this message: The following commit has been merged into the x86/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesApplied
  2. v1 RFC6 patches 25 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5x86/numa: Store extra copy of numa_nodes_parsedarch/x86/include/asm/numa.h arch/x86/mm/numa.c arch/x86/mm/srat.c+16 -00 replies
2/5x86/topo: Add topology_num_nodes_per_package()arch/x86/include/asm/topology.h arch/x86/kernel/cpu/common.c arch/x86/kernel/cpu/topology.c+20 -20 replies
3/5x86/topo: Replace x86_has_numa_in_packagearch/x86/kernel/smpboot.c+3 -100 replies
4/5x86/topo: Fix SNC topology messarch/x86/kernel/smpboot.c+140 -452 replies
5/5x86/resctrl: Fix SNC detectionarch/x86/kernel/cpu/resctrl/monitor.c+5 -313 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchK Prateek NayakZhang RuiChen YuKyle MeyerTony LuckIngo Molnar
SeriesR-b
1/5T-b T-b T-b T-b
2/5T-b T-b T-b T-b T-b
3/5T-b T-b T-b T-b T-b
4/5T-b T-b T-b T-b R-b
5/5T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] x86/topo: SNC Divination

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/[email protected]

---
 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(-)