From 1b28f170d99170a1fdd22818a9610a73196b391d Mon Sep 17 00:00:00 2001 From: Gavin Shan Date: Thu, 11 Dec 2014 14:28:56 +1100 Subject: [PATCH] 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-format-patch failed