android_kernel_xiaomi_sm8350/arch/ia64/kvm
Avi Kivity 399ec807dd KVM: Userspace controlled irq routing
Currently KVM has a static routing from GSI numbers to interrupts (namely,
0-15 are mapped 1:1 to both PIC and IOAPIC, and 16:23 are mapped 1:1 to
the IOAPIC).  This is insufficient for several reasons:

- HPET requires non 1:1 mapping for the timer interrupt
- MSIs need a new method to assign interrupt numbers and dispatch them
- ACPI APIC mode needs to be able to reassign the PCI LINK interrupts to the
  ioapics

This patch implements an interrupt routing table (as a linked list, but this
can be easily changed) and a userspace interface to replace the table.  The
routing table is initialized according to the current hardwired mapping.

Signed-off-by: Avi Kivity <avi@redhat.com>
2009-03-24 11:03:06 +02:00
..
asm-offsets.c KVM: ia64: Remove some macro definitions in asm-offsets.c. 2008-12-31 16:52:25 +02:00
irq.h KVM: Move irqchip_in_kernel() from ioapic.h to irq.h 2008-10-15 14:25:36 +02:00
Kconfig KVM: Add CONFIG_HAVE_KVM_IRQCHIP 2009-03-24 11:03:02 +02:00
kvm_fw.c KVM: ia64: Fix halt emulation logic 2008-10-28 14:22:14 +02:00
kvm_lib.c KVM: ia64: Define printk function for kvm-intel module 2008-12-31 16:54:59 +02:00
kvm_minstate.h KVM: ia64: Re-organize data sturure of guests' data area 2008-12-31 16:51:49 +02:00
kvm-ia64.c KVM: Userspace controlled irq routing 2009-03-24 11:03:06 +02:00
lapic.h
Makefile KVM: change KVM to use IOMMU API 2009-01-03 14:11:07 +01:00
memcpy.S KVM: ia64: fix GVMM module including position-dependent objects 2008-05-18 14:34:16 +03:00
memset.S KVM: ia64: fix GVMM module including position-dependent objects 2008-05-18 14:34:16 +03:00
misc.h KVM: ia64: Re-organize data sturure of guests' data area 2008-12-31 16:51:49 +02:00
mmio.c KVM: ia64: Add some debug points to provide crash infomation 2008-12-31 16:54:59 +02:00
optvfault.S KVM: ia64: Fix: Use correct calling convention for PAL_VPS_RESUME_HANDLER 2008-11-23 15:08:22 +02:00
process.c KVM: ia64: Code cleanup 2009-03-24 11:02:50 +02:00
trampoline.S KVM: ia64: Add trampoline for guest/host mode switch 2008-04-27 12:01:08 +03:00
vcpu.c KVM: ia64: Code cleanup 2009-03-24 11:02:50 +02:00
vcpu.h KVM: ia64: Add handler for crashed vmm 2008-12-31 16:54:59 +02:00
vmm_ivt.S KVM: ia64: Clean up vmm_ivt.S using tab to indent every line 2008-12-31 16:54:59 +02:00
vmm.c KVM: ia64: Add handler for crashed vmm 2008-12-31 16:54:59 +02:00
vti.h
vtlb.c KVM: ia64: Code cleanup 2009-03-24 11:02:50 +02:00