Searched hist:"9 e4aabe2bb3454c83dac8139cf9974503ee044db" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | ioapic.c | diff b0eaf4506f5f95d15d6731d72c0ddf4a2179eefa Wed Sep 14 16:39:12 CDT 2016 Paolo Bonzini <pbonzini@redhat.com> kvm: x86: correctly reset dest_map->vector when restoring LAPIC state
When userspace sends KVM_SET_LAPIC, KVM schedules a check between the vCPU's IRR and ISR and the IOAPIC redirection table, in order to re-establish the IOAPIC's dest_map (the list of CPUs servicing the real-time clock interrupt with the corresponding vectors).
However, __rtc_irq_eoi_tracking_restore_one was forgetting to set dest_map->vectors. Because of this, the IOAPIC did not process the real-time clock interrupt EOI, ioapic->rtc_status.pending_eoi got stuck at a non-zero value, and further RTC interrupts were reported to userspace as coalesced.
Fixes: 9e4aabe2bb3454c83dac8139cf9974503ee044db Fixes: 4d99ba898dd0c521ca6cdfdde55c9b58aea3cb3d Cc: stable@vger.kernel.org Cc: Joerg Roedel <jroedel@suse.de> Cc: David Gilbert <dgilbert@redhat.com> Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> diff 9e4aabe2bb3454c83dac8139cf9974503ee044db Mon Feb 29 09:04:43 CST 2016 Joerg Roedel <jroedel@suse.de> kvm: x86: Convert ioapic->rtc_status.dest_map to a struct
Currently this is a bitmap which tracks which CPUs we expect an EOI from. Move this bitmap to a struct so that we can track additional information there.
Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | ioapic.h | diff 9e4aabe2bb3454c83dac8139cf9974503ee044db Mon Feb 29 09:04:43 CST 2016 Joerg Roedel <jroedel@suse.de> kvm: x86: Convert ioapic->rtc_status.dest_map to a struct
Currently this is a bitmap which tracks which CPUs we expect an EOI from. Move this bitmap to a struct so that we can track additional information there.
Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | irq_comm.c | diff 9e4aabe2bb3454c83dac8139cf9974503ee044db Mon Feb 29 09:04:43 CST 2016 Joerg Roedel <jroedel@suse.de> kvm: x86: Convert ioapic->rtc_status.dest_map to a struct
Currently this is a bitmap which tracks which CPUs we expect an EOI from. Move this bitmap to a struct so that we can track additional information there.
Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | lapic.h | diff 9e4aabe2bb3454c83dac8139cf9974503ee044db Mon Feb 29 09:04:43 CST 2016 Joerg Roedel <jroedel@suse.de> kvm: x86: Convert ioapic->rtc_status.dest_map to a struct
Currently this is a bitmap which tracks which CPUs we expect an EOI from. Move this bitmap to a struct so that we can track additional information there.
Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
H A D | lapic.c | diff 9e4aabe2bb3454c83dac8139cf9974503ee044db Mon Feb 29 09:04:43 CST 2016 Joerg Roedel <jroedel@suse.de> kvm: x86: Convert ioapic->rtc_status.dest_map to a struct
Currently this is a bitmap which tracks which CPUs we expect an EOI from. Move this bitmap to a struct so that we can track additional information there.
Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|