watchdog/aspeed: Improve watchdog timeout message
Users benefit from knowing which watchdog timer has expired. The address of the watchdog's registers unambiguously indicates which has expired, so log that. Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-id: 20191119141211.25716-9-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
310b5bc692
commit
aabf1de4b7
@ -219,7 +219,8 @@ static void aspeed_wdt_timer_expired(void *dev)
|
||||
return;
|
||||
}
|
||||
|
||||
qemu_log_mask(CPU_LOG_RESET, "Watchdog timer expired.\n");
|
||||
qemu_log_mask(CPU_LOG_RESET, "Watchdog timer %" HWADDR_PRIx " expired.\n",
|
||||
s->iomem.addr);
|
||||
watchdog_perform_action();
|
||||
timer_del(s->timer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user