powerpc/hv-24x7: Add sysfs files inside hv-24x7 device to show processor details
authorKajol Jain <kjain@linux.ibm.com>
Mon, 25 May 2020 10:43:05 +0000 (16:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 May 2020 13:24:39 +0000 (23:24 +1000)
commit60beb65da1efd4cc23d05141181c39b98487950f
tree95ba22f7b9157cfdb1367327366955b5c3c072b8
parent8ba21426738207711347335b2cf3e99c690fc777
powerpc/hv-24x7: Add sysfs files inside hv-24x7 device to show processor details

To expose the system dependent parameter like total number of
sockets and numbers of chips per socket, patch adds two sysfs files.
"sockets" and "chips" are added to /sys/devices/hv_24x7/interface/
of the "hv_24x7" pmu.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200525104308.9814-4-kjain@linux.ibm.com
arch/powerpc/perf/hv-24x7.c