Thread (4 messages) 4 messages, 1 author, 12d ago
COOLING12d

[PATCH v2 0/3] powerpc/numa: Enable coregroup support on PowerNV

From: Srikar Dronamraju <hidden>
Date: 2026-06-05 05:53:55

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 v1: https://lkml.kernel.org/r/20260524010017.140408-1-srikar@linux.ibm.com
- 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(-)

-- 
2.43.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help