android_kernel_xiaomi_sm8350/arch/ia64/kvm
Sheng Yang 5550af4df1 KVM: Fix guest shared interrupt with in-kernel irqchip
Every call of kvm_set_irq() should offer an irq_source_id, which is
allocated by kvm_request_irq_source_id(). Based on irq_source_id, we
identify the irq source and implement logical OR for shared level
interrupts.

The allocated irq_source_id can be freed by kvm_free_irq_source_id().

Currently, we support at most sizeof(unsigned long) different irq sources.

[Amit: - rebase to kvm.git HEAD
       - move definition of KVM_USERSPACE_IRQ_SOURCE_ID to common file
       - move kvm_request_irq_source_id to the update_irq ioctl]

[Xiantao: - Add kvm/ia64 stuff and make it work for kvm/ia64 guests]

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-10-28 14:21:34 +02:00
..
asm-offsets.c KVM: ia64: Generate offset values for assembly code use 2008-04-27 12:01:10 +03:00
irq.h KVM: Move irqchip_in_kernel() from ioapic.h to irq.h 2008-10-15 14:25:36 +02:00
Kconfig KVM: ia64: Enable virtio driver for ia64 in Kconfig 2008-10-15 10:15:22 +02:00
kvm_fw.c fix build error of arch/ia64/kvm/* 2008-07-17 09:16:31 -07:00
kvm_minstate.h KVM: ia64: Implement a uniform vps interface 2008-10-15 14:25:12 +02:00
kvm-ia64.c KVM: Fix guest shared interrupt with in-kernel irqchip 2008-10-28 14:21:34 +02:00
lapic.h
Makefile KVM: ia64: Add intel iommu support for guests. 2008-10-15 14:25:39 +02: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
mmio.c KVM: ia64: fix zero extending for mmio ld1/2/4 emulation in KVM 2008-06-06 21:08:25 +03:00
optvfault.S KVM: ia64: add support for Tukwila processors 2008-10-15 14:25:13 +02:00
process.c KVM: ia64: Implement a uniform vps interface 2008-10-15 14:25:12 +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: Add processor virtulization support 2008-04-27 12:01:09 +03:00
vcpu.h KVM: ia64: add directed mmio range support for kvm guests 2008-10-15 14:25:38 +02:00
vmm_ivt.S KVM: ia64: Implement a uniform vps interface 2008-10-15 14:25:12 +02:00
vmm.c KVM: ia64: VMM module interfaces 2008-04-27 12:01:04 +03:00
vti.h
vtlb.c KVM: ia64: add directed mmio range support for kvm guests 2008-10-15 14:25:38 +02:00