powerpc/eeh: Debugfs for error injection
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 10:13:26 +0000 (18:13 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jun 2013 06:01:52 +0000 (16:01 +1000)
commit8998897b8f966c9036307b5130494d4bf1e6cb18
tree3347a4b4e98fc85513f55c0829f943800becc7de
parent37c367f2792f899528b5bf201a4bd6131f8b75b6
powerpc/eeh: Debugfs for error injection

The patch creates debugfs entries (powerpc/PCIxxxx/err_injct) for
injecting EEH errors for testing purpose.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/eeh-ioda.c