From: Gavin Shan Date: Tue, 30 Sep 2014 02:38:51 +0000 (+1000) Subject: powerpc/eeh: Add eeh_pe_state sysfs entry X-Git-Tag: fixes-against-v3.18-rc2~117^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940376b3a463303787c6227c0327612653bf5600;p=pandora-kernel.git 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 Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed