Re: [PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-14 Thread Rohit Vaswani
On 8/11/2012 3:17 AM, Marc Zyngier wrote: On Fri, 10 Aug 2012 14:57:34 -0700, Rohit Vaswani wrote: Level triggered interrupt is deasserted when a new TVAL is written only when the interrupt is unmasked. Make sure that the interrupt is unmasked in CTL register before TVAL is written. If this

Re: [PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-14 Thread Rohit Vaswani
On 8/11/2012 3:17 AM, Marc Zyngier wrote: On Fri, 10 Aug 2012 14:57:34 -0700, Rohit Vaswani rvasw...@codeaurora.org wrote: Level triggered interrupt is deasserted when a new TVAL is written only when the interrupt is unmasked. Make sure that the interrupt is unmasked in CTL register before TVAL

Re: [PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-11 Thread Marc Zyngier
On Fri, 10 Aug 2012 14:57:34 -0700, Rohit Vaswani wrote: > Level triggered interrupt is deasserted when a new TVAL is written > only when the interrupt is unmasked. Make sure that the interrupt > is unmasked in CTL register before TVAL is written. > If this order is not followed, there are

Re: [PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-11 Thread Marc Zyngier
On Fri, 10 Aug 2012 14:57:34 -0700, Rohit Vaswani rvasw...@codeaurora.org wrote: Level triggered interrupt is deasserted when a new TVAL is written only when the interrupt is unmasked. Make sure that the interrupt is unmasked in CTL register before TVAL is written. If this order is not

[PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-10 Thread Rohit Vaswani
Level triggered interrupt is deasserted when a new TVAL is written only when the interrupt is unmasked. Make sure that the interrupt is unmasked in CTL register before TVAL is written. If this order is not followed, there are chances that on some hardware you would not receive any timer

[PATCH 1/2] ARM: local timers: Unmask interrupt before new TVAL is set

2012-08-10 Thread Rohit Vaswani
Level triggered interrupt is deasserted when a new TVAL is written only when the interrupt is unmasked. Make sure that the interrupt is unmasked in CTL register before TVAL is written. If this order is not followed, there are chances that on some hardware you would not receive any timer