[Skiboot] [PATCH] phb4: Dump CAPP error registers when it asserts link down

Stewart Smith stewart at linux.vnet.ibm.com
Mon Jan 15 14:55:04 AEDT 2018


Vaibhav Jain <vaibhav at linux.vnet.ibm.com> writes:
> 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 at linux.vnet.ibm.com>
> ---
>  hw/phb4.c           | 36 +++++++++++++++++++++++++++++++-----
>  include/phb4-capp.h |  8 ++++++--
>  include/phb4-regs.h |  1 +
>  3 files changed, 38 insertions(+), 7 deletions(-)

Thanks, merged to master as of 7b613693d537859acfa13968ecfa28082ec8f72f
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list