[PATCH 0/3][Xenial SRU] Fix rtc irq race in kvm
Seth Forshee
seth.forshee at canonical.com
Wed Dec 14 22:04:18 UTC 2016
BugLink: http://bugs.launchpad.net/bugs/1649718
A race in kvm can cause the EOI signal for the rtc irq to be lost. When
this happens the guest will never see another rtc intterupt. This is
causing the kernel's rtc selftest to hang, resulting in an autopkgtest
failure for the zesty kernel.
The following three cherry picks from upstream fix this issue.
Thanks,
Seth
Joerg Roedel (3):
kvm: x86: Convert ioapic->rtc_status.dest_map to a struct
kvm: x86: Track irq vectors in ioapic->rtc_status.dest_map
kvm: x86: Check dest_map->vector to match eoi signals for rtc
arch/x86/kvm/ioapic.c | 30 +++++++++++++++++++++---------
arch/x86/kvm/ioapic.h | 17 +++++++++++++++--
arch/x86/kvm/irq_comm.c | 2 +-
arch/x86/kvm/lapic.c | 14 ++++++++------
arch/x86/kvm/lapic.h | 7 +++++--
5 files changed, 50 insertions(+), 20 deletions(-)
More information about the kernel-team
mailing list