[PATCH v3 5/5] powerpc/cacheinfo: Print correct cache-sibling map/list for L2 cache
Srikar Dronamraju
srikar at linux.vnet.ibm.com
Tue Dec 15 19:44:10 AEDT 2020
* Gautham R. Shenoy <ego at linux.vnet.ibm.com> [2020-12-10 16:08:59]:
> From: "Gautham R. Shenoy" <ego at linux.vnet.ibm.com>
>
> On POWER platforms where only some groups of threads within a core
> share the L2-cache (indicated by the ibm,thread-groups device-tree
> property), we currently print the incorrect shared_cpu_map/list for
> L2-cache in the sysfs.
>
> This patch reports the correct shared_cpu_map/list on such platforms.
>
> Example:
> On a platform with "ibm,thread-groups" set to
> 00000001 00000002 00000004 00000000
> 00000002 00000004 00000006 00000001
> 00000003 00000005 00000007 00000002
> 00000002 00000004 00000000 00000002
> 00000004 00000006 00000001 00000003
> 00000005 00000007
>
Looks good to me.
Reviewed-by: Srikar Dronamraju <srikar at linux.vnet.ibm.com>
--
Thanks and Regards
Srikar Dronamraju
More information about the Linuxppc-dev
mailing list