LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] powerpc/numa: Enable coregroup support on PowerNV
@ 2026-06-05  5:52 Srikar Dronamraju
  2026-06-05  5:52 ` [PATCH v2 1/3] powerpc/numa: Simplify find_primary_domain_index Srikar Dronamraju
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Srikar Dronamraju @ 2026-06-05  5:52 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Michael Ellerman, Madhavan Srinivasan, skiboot, arbab, mahesh,
	chleroy, Srikar Dronamraju

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



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

end of thread, other threads:[~2026-06-05  5:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05  5:52 [PATCH v2 0/3] powerpc/numa: Enable coregroup support on PowerNV Srikar Dronamraju
2026-06-05  5:52 ` [PATCH v2 1/3] powerpc/numa: Simplify find_primary_domain_index Srikar Dronamraju
2026-06-05  5:52 ` [PATCH v2 2/3] powerpc/numa: Allow cpu_to_coregroup_id without PPC_SPLPAR Srikar Dronamraju
2026-06-05  5:52 ` [PATCH v2 3/3] powerpc/numa: Support coregroup on PowerNV Srikar Dronamraju

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