Re: [PATCH 1/2] x86/time: check usability of IRQ0 PIT timer

2019-04-24 Thread Thomas Gleixner
On Tue, 23 Apr 2019, Daniel Drake wrote: > /* Default timer init function */ > void __init hpet_time_init(void) > { > - if (!hpet_enable()) > - setup_pit_timer(); > + if (hpet_enable()) { > + setup_default_timer_irq(); > + return; > + } > + > +

[PATCH 1/2] x86/time: check usability of IRQ0 PIT timer

2019-04-22 Thread Daniel Drake
Modern Intel SoCs now include a special ITSSPRC register that can be used to "gate" the PIT such that IRQ0 interrupts do not fire. With Intel Apollo Lake we are starting to see consumer products that have a BIOS option to apply this (defaulting to gated). Some such products also lack the HPET ACPI