powerpc/eeh: Clear frozen state for child PE
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Sun, 4 May 2014 23:29:02 +0000 (09:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 07:04:12 +0000 (17:04 +1000)
commit2c66599206938412d1781171953d565652ca3b93
tree30ddb3eba867f719c59711b5e50fd47f90333142
parent4817fc323dad9f08f2cb1aca22e6dc7f894c95d5
powerpc/eeh: Clear frozen state for child PE

Since commit cb523e09 ("powerpc/eeh: Avoid I/O access during PE
reset"), the PE is kept as frozen state on hardware level until
the PE reset is done completely. After that, we explicitly clear
the frozen state of the affected PE. However, there might have
frozen child PEs of the affected PE and we also need clear their
frozen state as well. Otherwise, the recovery is going to fail.

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