]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv/pci: Add PHB register dump debugfs handle
authorRussell Currey <ruscur@russell.cc>
Thu, 28 Jul 2016 05:05:03 +0000 (15:05 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Sep 2016 21:54:19 +0000 (07:54 +1000)
commit98b665da5751b10f3f5f3ce3ba75983d52bd949b
tree000923fe62be87c29d588a494f893867e91bd9c3
parent3eabf88579032e3c73e7b0a8495f8dbe8c407f46
powerpc/powernv/pci: Add PHB register dump debugfs handle

On EEH events the kernel will print a dump of relevant registers.
If EEH is unavailable (i.e. CONFIG_EEH is disabled, a new platform
doesn't have EEH support, etc) this information isn't readily available.

Add a new debugfs handler to trigger a PHB register dump, so that this
information can be made available on demand.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c