summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.ibm.com>2026-09-02 18:05:02 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-10-12 11:24:19 +0530
commit129f5d395fd66b6587a5ac156b232cca060d6512 (patch)
tree37f679eeb985fb2276dbf03cc3b13a1086e8aa0b /tools/lib/python
parente18351513a8e7ba08d9735056864f0c0095676d0 (diff)
downloadlinux-next-129f5d395fd66b6587a5ac156b232cca060d6512.tar.gz
linux-next-129f5d395fd66b6587a5ac156b232cca060d6512.zip
powerpc/numa: Support coregroup on PowerNV
Coregroup support on powerpc has so far been limited to PowerVM LPARs. However, PowerNV can also support coregroups when firmware exposes the required coregroup information through the associativity hierarchy. Detect coregroup support by checking whether primary_domain_index is the penultimate domain in the CPU node's ibm,associativity property. On PowerNV, a non-penultimate primary_domain_index indicates that firmware provides an additional level for coregroup information. This keeps the logic compatible with PowerVM systems, where primary_domain_index is likewise not the penultimate associativity domain. Signed-off-by: Srikar Dronamraju <srikar@linux.ibm.com> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260902123458.340456-8-srikar@linux.ibm.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions