OSDN Git Service

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)
commitc6c26fb55e8e4b3fc376be5611685990a17de27a
treed9d5b0581b12f83365ffc9cd08402035f30146cb
parentd2bf793237b3aa9c4275a466eef3893eef593691
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