aboutsummaryrefslogtreecommitdiff
path: root/hw/slw.c
diff options
context:
space:
mode:
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>2018-01-08 17:23:05 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-14 21:05:51 -0600
commit7b613693d537859acfa13968ecfa28082ec8f72f (patch)
tree65194c78e601f8ebf691b6a1c349a5ed86010b91 /hw/slw.c
parent4e23b42d2ad76da21422a1d2de471df29f76b8df (diff)
downloadskiboot-7b613693d537859acfa13968ecfa28082ec8f72f.zip
skiboot-7b613693d537859acfa13968ecfa28082ec8f72f.tar.gz
skiboot-7b613693d537859acfa13968ecfa28082ec8f72f.tar.bz2
phb4: Dump CAPP error registers when it asserts link down
This patch introduces a new function phb4_dump_app_err_regs() that dumps CAPP error registers in case the PEC nestfir register indicates that the fence was due to a CAPP error (BIT-24). Contents of these registers are helpful in diagnosing CAPP issues. Registers that are dumped in phb4_dump_app_err_regs() are: * CAPP FIR Register * CAPP APC Master Error Report Register * CAPP Snoop Error Report Register * CAPP Transport Error Report Register * CAPP TLBI Error Report Register * CAPP Error Status and Control Register Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Reviewed-by: Christophe Lombard<clombard@linux.vnet.ibm.com> Acked-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
0 files changed, 0 insertions, 0 deletions