summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2014-01-15 13:16:11 +0800
committerJiri Slaby <jslaby@suse.cz>2014-03-31 14:22:31 +0200
commit20a9e39efdd640c57aa348d53a149ff0692e842a (patch)
tree69fdc73a2e72cb3a582bbaf8533e3323b56441b1 /fs
parent8ebdd122d3a30463bf10ea8120939d2f69b1608a (diff)
powerpc/eeh: Handle multiple EEH errors
commit 7e4e7867b1e551b7b8f326da3604c47332972bc6 upstream. 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> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions