diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2019-04-05 16:33:03 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-04-09 10:50:55 +1000 |
commit | d1f3e4faf9d99d76bc413503afea87c8486af8b1 (patch) | |
tree | 5ae00584124d92e2193762e100abe289c26c23e6 /opal-ci | |
parent | 7320a21e7261d5ed87971a7985fecdd7588a72ec (diff) | |
download | skiboot-d1f3e4faf9d99d76bc413503afea87c8486af8b1.zip skiboot-d1f3e4faf9d99d76bc413503afea87c8486af8b1.tar.gz skiboot-d1f3e4faf9d99d76bc413503afea87c8486af8b1.tar.bz2 |
hw/npu2: Dump (more) npu2 registers on link error and HMIs
We were already logging some NPU registers during an HMI. This patch
cleans up a bit how it is done and separates what is global from what
is specific to nvlink or opencapi.
Since we can now receive an error interrupt when an opencapi link goes
down unexpectedly, we also dump the NPU state but we limit it to the
registers of the brick which hit the error.
The list of registers to dump was worked out with the hw team to
allow for proper debugging. For each register, we print the name as
found in the NPU workbook, the scom address and the register value.
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'opal-ci')
0 files changed, 0 insertions, 0 deletions