Re: [PATCH 1/2] i8253: Disable PIT timer 0 when not in use

From: David Woodhouse
Date: Fri Aug 02 2024 - 12:02:09 EST


On Fri, 2024-08-02 at 15:44 +0000, Michael Kelley wrote:
> Did a basic smoke test of this two-patch series on a Hyper-V Gen 1
> VM and on a Gen 2 VM. All looks good and behaves as expected.
>
> On the Gen 1 VM, the PIT is used briefly at boot (takes ~35 interrupts)
> before the Hyper-V synthetic timer takes over and the PIT is shutdown.
> As expected, no further interrupts are received from the PIT.
>
> On a Gen 2 VM, apic_needs_pit() returns true because
> X86_FEATURE_ARAT isn't present. The PIT doesn't exist in a
> Gen 2 VM, but the code paths handle this situation with no
> problems, just as before the patch series.
>
> For the two-patch series on Hyper-V,
> Tested-by: Michael Kelley <mhkelley@xxxxxxxxxxx>

Thank you!

Attachment: smime.p7s
Description: S/MIME cryptographic signature