Re: [PATCH] rtc/rtc-cmos: Initialize hpet timer before irq is registered

2016-09-19 Thread Alexandre Belloni
On 15/09/2016 at 09:38:16 +0530, Pratyush Anand wrote : > We have observed on few x86 machines with rtc-cmos device that > hpet_rtc_interrupt() is called just after irq registration and before > cmos_do_probe() could call hpet_rtc_timer_init(). > > So, neither hpet_default_delta nor hpet_t1_cmp

Re: [PATCH] rtc/rtc-cmos: Initialize hpet timer before irq is registered

2016-09-19 Thread Alexandre Belloni
On 15/09/2016 at 09:38:16 +0530, Pratyush Anand wrote : > We have observed on few x86 machines with rtc-cmos device that > hpet_rtc_interrupt() is called just after irq registration and before > cmos_do_probe() could call hpet_rtc_timer_init(). > > So, neither hpet_default_delta nor hpet_t1_cmp

Re: [PATCH] rtc/rtc-cmos: Initialize hpet timer before irq is registered

2016-09-19 Thread Thomas Gleixner
On Thu, 15 Sep 2016, Pratyush Anand wrote: > > Suggested-by: Thomas Gleixner > Signed-off-by: Pratyush Anand Acked-by: Thomas Gleixner

Re: [PATCH] rtc/rtc-cmos: Initialize hpet timer before irq is registered

2016-09-19 Thread Thomas Gleixner
On Thu, 15 Sep 2016, Pratyush Anand wrote: > > Suggested-by: Thomas Gleixner > Signed-off-by: Pratyush Anand Acked-by: Thomas Gleixner

[PATCH] rtc/rtc-cmos: Initialize hpet timer before irq is registered

2016-09-14 Thread Pratyush Anand
We have observed on few x86 machines with rtc-cmos device that hpet_rtc_interrupt() is called just after irq registration and before cmos_do_probe() could call hpet_rtc_timer_init(). So, neither hpet_default_delta nor hpet_t1_cmp is initialized by the time interrupt is raised in the given

[PATCH] rtc/rtc-cmos: Initialize hpet timer before irq is registered

2016-09-14 Thread Pratyush Anand
We have observed on few x86 machines with rtc-cmos device that hpet_rtc_interrupt() is called just after irq registration and before cmos_do_probe() could call hpet_rtc_timer_init(). So, neither hpet_default_delta nor hpet_t1_cmp is initialized by the time interrupt is raised in the given