RE: [PATCH] clockevents/drivers/i8253: Do not zero timer counter in shutdown
From: Thomas Gleixner
Date: Thu Aug 01 2024 - 14:54:48 EST
On Thu, Aug 01 2024 at 16:14, Michael Kelley wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Sent: Thursday, August 1, 2024 7:21 AM
> FWIW, in Hyper-V guests with the Hyper-V quirk removed, tglx's new
> sequence does *not* stop the PIT. But this sequence does:
>
> outb_p(0x30, PIT_MODE);
> outb_p(0xff, PIT_CH0);
> outb_p(0xff, PIT_CH0);
>
> outb_p(0x30, PIT_MODE);
> outb_p(0xff, PIT_CH0);
That works on bare metal too
> I don't have a convenient way to test my sequence on KVM.
But still fails in KVM
Thanks,
tglx