From fbdc91e693fc3103f7e2a65054ed32bfb26a2e17 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Wed, 28 Feb 2018 17:52:12 +1100 Subject: 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 --- hw/slw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/slw.c') diff --git a/hw/slw.c b/hw/slw.c index f3c8374..db238ec 100644 --- a/hw/slw.c +++ b/hw/slw.c @@ -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); -- cgit v1.1