lkml.org 
[lkml]   [2015]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] KVM: x86: limit interactions between IOAPIC and LAPIC
Date
Inspired by the split irqchip patches, this series limits the
IOAPIC<->LAPIC to the EOI exit bitmap that is inferred from the
redirection table.

TMR is entirely handled within the local APIC, and no global copy
of the IOAPIC-handled vectors is necessary anymore. This makes
it simpler to introduce a userspace IOAPIC.

Tested with ioapic.flat for now, planning to do more complete tests
tomorrow. The most interesting test to do here is an assigned device
that uses INTX, so I am CCing Alex Williamson for a heads up.

Paolo

Paolo Bonzini (2):
KVM: x86: set TMR when the interrupt is accepted
KVM: x86: store IOAPIC-handled vectors in each VCPU

arch/x86/include/asm/kvm_host.h | 3 ++-
arch/x86/kvm/ioapic.c | 27 ++++-----------------------
arch/x86/kvm/ioapic.h | 11 +----------
arch/x86/kvm/lapic.c | 29 ++++++++++++++++++-----------
arch/x86/kvm/lapic.h | 1 -
arch/x86/kvm/svm.c | 2 +-
arch/x86/kvm/vmx.c | 3 ++-
arch/x86/kvm/x86.c | 11 +++--------
8 files changed, 31 insertions(+), 56 deletions(-)

--
1.8.3.1



\
 
 \ /
  Last update: 2015-07-29 21:11    [W:0.262 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site