diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-11-22 03:28:46 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-12-05 00:08:19 -0500 |
commit | 2c77e95741e1202f993a4126f1f401459f1bcd4d (patch) | |
tree | bdcb798caf17237624f7f3503d1417c8362f2c42 /arch | |
parent | 93aef2a789778e7ec787179fc9b34ca4885a5ef3 (diff) |
powerpc/eeh: Output PHB diag-data
When hitting frozen PE or fenced PHB, it's always indicative to
have dumped PHB diag-data for further analysis and diagnosis.
However, we never dump that for the cases. The patch intends to
dump PHB diag-data at the backend of eeh_ops::get_log() for PowerNV
platform.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/powernv/eeh-ioda.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/powernv/eeh-ioda.c b/arch/powerpc/platforms/powernv/eeh-ioda.c index be33a16408be..31320c641c92 100644 --- a/arch/powerpc/platforms/powernv/eeh-ioda.c +++ b/arch/powerpc/platforms/powernv/eeh-ioda.c | |||
@@ -588,11 +588,8 @@ static int ioda_eeh_get_log(struct eeh_pe *pe, int severity, | |||
588 | return -EIO; | 588 | return -EIO; |
589 | } | 589 | } |
590 | 590 | ||
591 | /* | 591 | /* The PHB diag-data is always indicative */ |
592 | * FIXME: We probably need log the error in somewhere. | 592 | pnv_pci_dump_phb_diag_data(hose, phb->diag.blob); |
593 | * Lets make it up in future. | ||
594 | */ | ||
595 | /* pr_info("%s", phb->diag.blob); */ | ||
596 | 593 | ||
597 | spin_unlock_irqrestore(&phb->lock, flags); | 594 | spin_unlock_irqrestore(&phb->lock, flags); |
598 | 595 | ||