]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7b401850a1c9b64b010b3d107321df4e7d066995
tree7f8a050bfb871ba780420d0c44bc771c9bf4fa52
parentb34497d1844ac89269eb2c6faea0ceec7757a9c3
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