Re: [Qemu-devel] [PATCH] sparc64: reimplement tick timers v2

2010-01-20 Thread Blue Swirl
On Tue, Jan 19, 2010 at 10:24 PM, Igor Kovalenko wrote: > On Tue, Jan 19, 2010 at 9:44 PM, Blue Swirl wrote: >> On Mon, Jan 18, 2010 at 10:28 PM, Igor V. Kovalenko >> wrote: >>> From: Igor V. Kovalenko >>> >>> sparc64 timer has tick counter which can be set and read, >>> and tick compare value

Re: [Qemu-devel] [PATCH] sparc64: reimplement tick timers v2

2010-01-19 Thread Igor Kovalenko
On Tue, Jan 19, 2010 at 9:44 PM, Blue Swirl wrote: > On Mon, Jan 18, 2010 at 10:28 PM, Igor V. Kovalenko > wrote: >> From: Igor V. Kovalenko >> >> sparc64 timer has tick counter which can be set and read, >> and tick compare value used as deadline to fire timer interrupt. >> The timer is not use

Re: [Qemu-devel] [PATCH] sparc64: reimplement tick timers v2

2010-01-19 Thread Blue Swirl
On Mon, Jan 18, 2010 at 10:28 PM, Igor V. Kovalenko wrote: > From: Igor V. Kovalenko > > sparc64 timer has tick counter which can be set and read, > and tick compare value used as deadline to fire timer interrupt. > The timer is not used as periodic timer, instead deadline > is set each time new

[Qemu-devel] [PATCH] sparc64: reimplement tick timers v2

2010-01-18 Thread Igor V. Kovalenko
From: Igor V. Kovalenko sparc64 timer has tick counter which can be set and read, and tick compare value used as deadline to fire timer interrupt. The timer is not used as periodic timer, instead deadline is set each time new timer interrupt is needed. v1 -> v2: - new conversion helpers cpu_to_t