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

Srikar Dronamraju <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded,gmane.comp.boot-loaders.skiboot
Message-ID <[email protected]>
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(-)

-- 
2.43.7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.