diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-11-22 16:28:45 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-12-05 16:08:18 +1100 |
commit | 93aef2a789778e7ec787179fc9b34ca4885a5ef3 (patch) | |
tree | 0823e462383499c02d7e0a27eef6157eb7aac35d /arch/powerpc/kernel/eeh.c | |
parent | d905c5df9aef38d63df268f6f5e7b13894f626d3 (diff) |
powerpc/powernv: Move PHB-diag dump functions around
Prior to the completion of PCI enumeration, we actively detects
EEH errors on PCI config cycles and dump PHB diag-data if necessary.
The EEH backend also dumps PHB diag-data in case of frozen PE or
fenced PHB. However, we are using different functions to dump the
PHB diag-data for those 2 cases.
The patch merges the functions for dumping PHB diag-data to one so
that we can avoid duplicate code. Also, we never dump PHB3 diag-data
during PCI config cycles with frozen PE. The patch fixes it 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/powerpc/kernel/eeh.c')
0 files changed, 0 insertions, 0 deletions