]> 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)
commit33fb7163ad6bf7b1225abd808442451427fd17d5
treed9d5b0581b12f83365ffc9cd08402035f30146cb
parent84d1ad5bebec9ad9830d0563ae76c06af1511555
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