]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Export raw per-CPU VPA data via debugfs
authorAravinda Prasad <aravinda@linux.vnet.ibm.com>
Tue, 16 Oct 2018 11:50:05 +0000 (17:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Oct 2018 02:26:47 +0000 (13:26 +1100)
commit0fd4faee08d00caaf332d0e6f82c3f28607414a2
treed9d5b0581b12f83365ffc9cd08402035f30146cb
parentef7bbf4c01290f72d24272a436ad427994cf3b1a
powerpc/pseries: Export raw per-CPU VPA data via debugfs

This patch exports the raw per-CPU VPA data via debugfs.
A per-CPU file is created which exports the VPA data of
that CPU to help debug some of the VPA related issues or
to analyze the per-CPU VPA related statistics.

v3: Removed offline CPU check.

v2: Included offline CPU check and other review comments.

Signed-off-by: Aravinda Prasad <aravinda@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/lpar.c