diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-02-28 17:52:12 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2018-02-28 20:28:39 -0600 |
commit | fbdc91e693fc3103f7e2a65054ed32bfb26a2e17 (patch) | |
tree | d3f6b3335d631ec42afde41941e2ba53a3213188 /hw/slw.c | |
parent | 18d7ee718bef3c95787473e3537be5f0653470c4 (diff) | |
download | skiboot-fbdc91e693fc3103f7e2a65054ed32bfb26a2e17.zip skiboot-fbdc91e693fc3103f7e2a65054ed32bfb26a2e17.tar.gz skiboot-fbdc91e693fc3103f7e2a65054ed32bfb26a2e17.tar.bz2 |
NPU2 HMIs: dump out a *LOT* of npu2 registers for debugging
This is not the way we want to end up doing this.
This is a hack to make folk happy and not require crondump to
debug nvidia/npu2 issues.
Cc: stable
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
-rw-r--r-- | hw/slw.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1620,7 +1620,7 @@ void slw_update_timer_expiry(uint64_t new_target) /* Grab generation and spin if odd */ _xscom_lock(); for (;;) { - rc = _xscom_read(slw_timer_chip, 0xE0006, &gen, false); + rc = _xscom_read(slw_timer_chip, 0xE0006, &gen, false, false); if (rc) { prerror("SLW: Error %lld reading tmr gen " " count\n", rc); @@ -1664,7 +1664,7 @@ void slw_update_timer_expiry(uint64_t new_target) } /* Re-check gen count */ - rc = _xscom_read(slw_timer_chip, 0xE0006, &gen2, false); + rc = _xscom_read(slw_timer_chip, 0xE0006, &gen2, false, false); if (rc) { prerror("SLW: Error %lld re-reading tmr gen " " count\n", rc); |