From: Gavin Shan Date: Thu, 11 Dec 2014 03:28:56 +0000 (+1100) Subject: powerpc/eeh: Allow to set maximal frozen times X-Git-Tag: fixes-v4.0-rc1~132^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b28f170d99170a1fdd22818a9610a73196b391d;p=pandora-kernel.git powerpc/eeh: Allow to set maximal frozen times When PE's frozen count hits maximal allowed frozen times, which is 5 currently, it will be forced to be offline permanently. Once the PE is removed permanently, rebooting machine is required to bring the PE back. It's not convienent when testing EEH functionality. The patch exports the maximal allowed frozen times through debugfs entry (/sys/kernel/debug/powerpc/eeh_max_freezes). Requested-by: Ryan Grimm Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed