]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Do not invalidate PE properly
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 22 Nov 2012 21:58:26 +0000 (21:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 25 Nov 2012 22:14:16 +0000 (09:14 +1100)
commite7a2ed160253717e0233ca907f17bd7be22c7e88
treef619f557bc95ce22c6b787a408b2acc77f68d01f
parent8e2fd2f91338f329899b8c1131b8c3eec9abf00c
powerpc/eeh: Do not invalidate PE properly

While the EEH does recovery on the specific PE that has PCI errors,
the PCI devices belonging to the PE will be removed and the PE will
be marked as invalid since we still need the information stored in
the PE. We only invalidate the PE when it doesn't have associated
EEH devices and valid child PEs. However, the code used to check
that is wrong. The patch fixes that.

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