qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Rabin Vincent
Subject: [Qemu-devel] Re: [PATCH 1/2] arm_timer: reload timer when enabled
Date: Thu, 20 May 2010 22:57:42 +0530
User-agent: Mutt/1.5.20 (2009-06-14)

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 limit instead of the value written to TimerLoad.
> 
> This problem is evident on versatileap on current linux-next, which
> enables TIMER_CTRL_32BIT before writing to TimerLoad and then enabling
> periodic mode and starting the timer.  This causes the first periodic
> tick to be scheduled to occur after 0xffffffff periods, leading to a
> perceived hang while the kernel waits for the first timer tick.
> 
> Signed-off-by: Rabin Vincent <address@hidden>

Could these patches please be applied?  What was then linux-next is now
current Linux mainline, and it doesn't boot without this patch.

Rabin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]