Message ID | 20110223162738.GD27880@edde.se.axis.com |
---|---|
State | New |
Headers | show |
On 02/23/2011 05:27 PM, Edgar E. Iglesias wrote: > For the "almost deadlock" testcase, I think the CRIS image on the > wiki is OK. Ah yes, I was understanding that the watchdog itself slowed down too and didn't trigger. So I was indeed seeing it (and not patient enough to see it boot). > Still slower than non iothread builds though. In particular if you > compare icount 10, with and without iothread. Very good, thanks. I'll look at it after this series is in, and Jan's optimization patch as well hopefully. Paolo
diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c index 133741b..2223744 100644 --- a/hw/etraxfs_timer.c +++ b/hw/etraxfs_timer.c @@ -197,8 +197,8 @@ static void watchdog_hit(void *opaque) ptimer_run(t->ptimer_wd, 1); qemu_irq_raise(t->nmi); } - else - qemu_system_reset_request(); t->wd_hits++; }