diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2014-01-15 13:16:11 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-15 17:18:58 +1100 |
commit | 7e4e7867b1e551b7b8f326da3604c47332972bc6 (patch) | |
tree | e071befc52d4aa431b7ebba8e04685de3bf85751 /arch/mn10300/boot/compressed | |
parent | fac515db45207718168cb55ca4d0a390e43b61af (diff) |
powerpc/eeh: Handle multiple EEH errors
For one PCI error relevant OPAL event, we possibly have multiple
EEH errors for that. For example, multiple frozen PEs detected on
different PHBs. Unfortunately, we didn't cover the case. The patch
enumarates the return value from eeh_ops::next_error() and change
eeh_handle_special_event() and eeh_ops::next_error() to handle all
existing EEH errors.
As Ben pointed out, we needn't list_for_each_entry_safe() since we
are not deleting any PHB from the hose_list and the EEH serialized
lock should be held while purging EEH events. The patch covers those
suggestions as well.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/mn10300/boot/compressed')
0 files changed, 0 insertions, 0 deletions