Re: [PATCH] x86: skip PIT initialization on modern chipsets

From: Daniel Drake
Date: Fri Jun 28 2019 - 03:26:21 EST


Oops, please also add a reference to the main thread:

On Fri, Jun 28, 2019 at 3:23 PM Daniel Drake <drake@xxxxxxxxxxxx> wrote:
> Detect modern setups where we have no need for the PIT (e.g. where
> we already know the TSC and LAPIC timer frequencies, so no need
> to calibrate them against the PIT), and skip initialization PIT in
> such cases.
>
> Skip the IO-APIC timer-checking code when we don't have a PIT
> to test against (this was causing the panic).

Link: https://lore.kernel.org/lkml/CAD8Lp45fedoPLnK=UmUhhtkjy5u2h04sYKrx3U+m04U6FpVZ4A@xxxxxxxxxxxxxx

> Tested-by: Daniel Drake <drake@xxxxxxxxxxxx>