* Gautham R. Shenoy <e...@linux.vnet.ibm.com> [2020-12-10 16:08:59]:

> From: "Gautham R. Shenoy" <e...@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 <sri...@linux.vnet.ibm.com>

-- 
Thanks and Regards
Srikar Dronamraju

Reply via email to