]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: EEH_PE_ISOLATED not reflect HW state
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 24 Apr 2014 08:00:11 +0000 (18:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:33:57 +0000 (17:33 +1000)
commita564a3bba8632b0920991b5065d9c080a3939ee9
tree7f8a050bfb871ba780420d0c44bc771c9bf4fa52
parent0419c22654c4c5b79a1aec1d2c9b728671bcd8e5
powerpc/eeh: EEH_PE_ISOLATED not reflect HW state

When doing PE reset, EEH_PE_ISOLATED is cleared unconditionally.
However, We should remove that if the PE reset has cleared the
frozen state successfully. Otherwise, the flag should be kept.
The patch fixes the issue.

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