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

2024-08-02 Thread David Woodhouse
On Fri, 2024-08-02 at 15:44 +, 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 t

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

2024-08-02 Thread Michael Kelley
From: David Woodhouse Sent: Friday, August 2, 2024 6:56 AM > > Leaving the PIT interrupt running can cause noticeable steal time for > virtual guests. The VMM generally has a timer which toggles the IRQ input > to the PIC and I/O APIC, which takes CPU time away from the guest. Even > on real hard

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

2024-08-02 Thread David Woodhouse
From: David Woodhouse Leaving the PIT interrupt running can cause noticeable steal time for virtual guests. The VMM generally has a timer which toggles the IRQ input to the PIC and I/O APIC, which takes CPU time away from the guest. Even on real hardware, running the counter may use power needles