diff options
author | Christophe Lombard <clombard@linux.vnet.ibm.com> | 2021-10-14 17:56:59 +0200 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-10-19 12:26:01 +0530 |
commit | a3bbeac7e23795456df4f3f52d442bd1ba35eaa3 (patch) | |
tree | b8d649bbffb04b129cc972bbb2c097cfd3f21184 /include/pau.h | |
parent | d4cd8a29e4c548f6383b47604a83c69b58d849e8 (diff) | |
download | skiboot-a3bbeac7e23795456df4f3f52d442bd1ba35eaa3.zip skiboot-a3bbeac7e23795456df4f3f52d442bd1ba35eaa3.tar.gz skiboot-a3bbeac7e23795456df4f3f52d442bd1ba35eaa3.tar.bz2 |
pau: hmi scom dump
This patch add a new function to dump PAU registers when a HMI has been
raised and an OpenCAPI link has been hit by an error.
For each register, the scom address and the register value are printed.
The hmi.c has been redesigned in order to support the new PHB/PCIEX
type (PAU OpenCapi). Now, the *npu* functions support NPU and PAU units of
P8, P9 and P10 chips.
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'include/pau.h')
-rw-r--r-- | include/pau.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pau.h b/include/pau.h index b6fabe7..547c193 100644 --- a/include/pau.h +++ b/include/pau.h @@ -189,4 +189,6 @@ static inline uint64_t pau_read(struct pau *pau, uint64_t reg) return pau_scom_read(pau, reg, PAU_MISC_DA_LEN_8B); } +void pau_opencapi_dump_scoms(struct pau *pau); + #endif /* __PAU_H */ |