Re: [PATCH 1/2] i8253: Disable PIT timer 0 when not in use
From: David Woodhouse <dwmw2@infradead.org>
Date: 2024-08-02 16:01:57
Also in:
lkml
Attachments
- smime.p7s [application/pkcs7-signature] 5965 bytes
From: David Woodhouse <dwmw2@infradead.org>
Date: 2024-08-02 16:01:57
Also in:
lkml
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 <redacted>
Thank you!