powerpc/eeh: Allow to check fenced PHB proactively
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 20 Jun 2013 05:21:16 +0000 (13:21 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:06:53 +0000 (17:06 +1000)
commitb95cd2cd44b39cf11087b15f74e29ef9f2c6bf0f
treea89c79c3dd68b32003f96ba47cee56f6072caebe
parentbe7e744607175fb1620f0390d20c880e16de163b
powerpc/eeh: Allow to check fenced PHB proactively

It's meaningless to handle frozen PE if we already had fenced PHB.
The patch intends to check the PHB state before checking PE. If the
PHB has been put into fenced state, we need take care of that firstly.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/eeh.c