summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/eeh.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-09-30 12:38:51 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-30 17:15:06 +1000
commit940376b3a463303787c6227c0327612653bf5600 (patch)
tree3e024b8b62a36894d8c905a4c95d9889e906fd1e /arch/powerpc/include/asm/eeh.h
parent3e938052fb7655c91ff031dd93f064b4087a1387 (diff)
downloadop-kernel-dev-940376b3a463303787c6227c0327612653bf5600.zip
op-kernel-dev-940376b3a463303787c6227c0327612653bf5600.tar.gz
powerpc/eeh: Add eeh_pe_state sysfs entry
The patch adds sysfs entry "eeh_pe_state". Reading on it returns the PE's state while writing to it clears the frozen state. It's used to check or clear the PE frozen state from userland for debugging purpose. The patch also replaces printk(KERN_WARNING ...) with pr_warn() in eeh_sysfs.c Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/eeh.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud