History | View | Annotate | Download (2.1 kB)
kvm: x86: Add user space part for in-kernel i8254
This provides the required user space stubs to enable the in-kerneli8254 emulation of KVM.
The in-kernel model supports lost tick compensation according to the"delay" policy. This is enabled by default and can be switched off via a...
i8254: Factor out interface header
Move the public interface of the PIT into its own header file and updateall users.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
i8254: Pass alternative IRQ output object on initialization
HPET legacy emulation will require control over the PIT IRQ output. Toenable this, add support for an alternative IRQ output object to the PITfactory function. If the isa_irq number is < 0, this object will be...
i8254: Rework & fix interaction with HPET in legacy mode
When the HPET enters legacy mode, the IRQ output of the PIT issuppressed and replaced by the HPET timer 0. But the current code toemulate this was broken in many ways. It reset the PIT state after...
i8254: Factor out pit_get_channel_info
Instead of providing 4 individual query functions for mode, gate, outputand initial counter state, introduce a service that queries allinformation at once. This comes with tiny additional costs forpcspk_callback but with a much cleaner interface. Also, it will simplify...