]> 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)
commit8039c3a4de6c5201a2b33278ba67461c5bafe1d8
tree7f8a050bfb871ba780420d0c44bc771c9bf4fa52
parent3afaa462aff619e9372d25f002bf328c674068b5
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