Thread (31 messages) 31 messages, 6 authors, 2024-08-13

RE: [PATCH] clockevents/drivers/i8253: Do not zero timer counter in shutdown

From: Thomas Gleixner <hidden>
Date: 2024-08-01 18:54:40
Also in: lkml

On Thu, Aug 01 2024 at 16:14, Michael Kelley wrote:
From: Thomas Gleixner <redacted> 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help