Re: [Qemu-devel] [PATCH 1/2] arm_timer: reload timer when enabled

2010-05-21 Thread Aurelien Jarno
On Sun, May 02, 2010 at 03:20:51PM +0530, Rabin Vincent wrote: > Reload the timer when TimerControl is written, if the timer is to be > enabled. Otherwise, if an earlier write to TimerLoad was done while > periodic mode was not set, s->delta may incorrectly still have the value > of the maximum li

[Qemu-devel] [PATCH 1/2] arm_timer: reload timer when enabled

2010-05-02 Thread Rabin Vincent
Reload the timer when TimerControl is written, if the timer is to be enabled. Otherwise, if an earlier write to TimerLoad was done while periodic mode was not set, s->delta may incorrectly still have the value of the maximum limit instead of the value written to TimerLoad. This problem is evident