Skip to content

powerpc/numa: Enable coregroup support on PowerNV

Srikar Dronamraju linuxppc-dev lkml 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 7 repliesApplied
  2. v23 patches 6 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3powerpc/numa: Simplify find_primary_domain_indexarch/powerpc/mm/numa.c+2 -51 reply
2/3powerpc/numa: Allow cpu_to_coregroup_id without PPC_SPLPARarch/powerpc/include/asm/topology.h arch/powerpc/mm/numa.c+22 -152 replies
3/3powerpc/numa: Support coregroup on PowerNVarch/powerpc/mm/numa.c+48 -103 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchShrikanth Hegde
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] powerpc/numa: Enable coregroup support on PowerNV

This series prepares cpu_to_coregroup_id() for broader use and enables coregroup support on PowerNV when firmware exposes the required associativity information.

The first patch cleans up find_primary_domain_index(). The second makes cpu_to_coregroup_id() available outside PPC_SPLPAR while preserving the existing fallback behavior. The final patch detects coregroup support from the associativity hierarchy and uses it on PowerNV systems.

Changelog from v2: https://lkml.kernel.org/r/[email protected]
- Handle comments from Ritesh (one hunk needed to be moved from patch 2 to patch 3 to build correctly)

Changelog from v1: https://lkml.kernel.org/r/[email protected]
- Split into 3 patches
- Handle comments from Christophe Leroy

Srikar Dronamraju (3):
powerpc/numa: Simplify find_primary_domain_index powerpc/numa: Allow cpu_to_coregroup_id without PPC_SPLPAR powerpc/numa: Support coregroup on PowerNV

 arch/powerpc/include/asm/topology.h | 15 +++--
 arch/powerpc/mm/numa.c              | 85 ++++++++++++++++++++++-------
 2 files changed, 71 insertions(+), 29 deletions(-)
Signature · 1 line
2.43.7