* Gautham R. Shenoy [off-list ref] [2018-08-20 11:11:43]:
From: "Gautham R. Shenoy" <redacted>
On IBM POWER9, the device tree exposes a property array identifed by
one small nit:
s/identifed/identified/g
"ibm,thread-groups" which will indicate which groups of threads share
a particular set of resources.
As of today we only have one form of grouping identifying the group of
threads in the core that share the L1 cache, translation cache and
instruction data flow.
This patch defines the helper function to parse the contents of
"ibm,thread-groups" and a new structure to contain the parsed output.
The patch also creates the sysfs file named "small_core_siblings" that
returns the physical ids of the threads in the core that share the L1
cache, translation cache and instruction data flow.
Signed-off-by: Gautham R. Shenoy <redacted>
Otherwise looks good to me.
Reviewed-by: Srikar Dronamraju <redacted>