summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2014-02-25 15:28:38 +0800
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-02-28 18:43:19 +1100
commitaf87d2fe95444d107e0c0cf0ba7e20e6716a7bfd (patch)
tree26a31e82f783a7125c5b506c0fb801f54299b9b8 /arch/powerpc/include
parent947166043732b69878123bf31f51933ad0316080 (diff)
downloadop-kernel-dev-af87d2fe95444d107e0c0cf0ba7e20e6716a7bfd.zip
op-kernel-dev-af87d2fe95444d107e0c0cf0ba7e20e6716a7bfd.tar.gz
powerpc/powernv: Refactor PHB diag-data dump
As Ben suggested, the patch prints PHB diag-data with multiple fields in one line and omits the line if the fields of that line are all zero. With the patch applied, the PHB3 diag-data dump looks like: PHB3 PHB#3 Diag-data (Version: 1) brdgCtl: 00000002 RootSts: 0000000f 00400000 b0830008 00100147 00002000 nFir: 0000000000000000 0030006e00000000 0000000000000000 PhbSts: 0000001c00000000 0000000000000000 Lem: 0000000000100000 42498e327f502eae 0000000000000000 InAErr: 8000000000000000 8000000000000000 0402030000000000 0000000000000000 PE[ 8] A/B: 8480002b00000000 8000000000000000 [ The current diag data is so big that it overflows the printk buffer pretty quickly in cases when we get a handful of errors at once which can happen. --BenH ] Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> CC: <stable@vger.kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud