commit | 940376b3a463303787c6227c0327612653bf5600 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Tue Sep 30 12:38:51 2014 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Sep 30 17:15:06 2014 +1000 |
tree | 3e024b8b62a36894d8c905a4c95d9889e906fd1e | |
parent | 3e938052fb7655c91ff031dd93f064b4087a1387 [diff] |
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>