linux-stable/virt/kvm
Marc Zyngier 773299a570 KVM: arm/arm64: vgic: Prevent userspace injection of a mapped interrupt
Virtual interrupts mapped to a HW interrupt should only be triggered
from inside the kernel. Otherwise, you could end up confusing the
kernel (and the GIC's) state machine.

Rearrange the injection path so that kvm_vgic_inject_irq is
used for non-mapped interrupts, and kvm_vgic_inject_mapped_irq is
used for mapped interrupts. The latter should only be called from
inside the kernel (timer, irqfd).

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2015-08-12 11:28:26 +01:00
..
arm KVM: arm/arm64: vgic: Prevent userspace injection of a mapped interrupt 2015-08-12 11:28:26 +01:00
async_pf.c mm: gup: kvm use get_user_pages_unlocked 2015-02-11 17:06:05 -08:00
async_pf.h KVM: fix checkpatch.pl errors in kvm/async_pf.h 2015-06-19 17:16:25 +02:00
coalesced_mmio.c KVM: move iodev.h from virt/kvm/ to include/kvm 2015-03-26 21:43:12 +00:00
coalesced_mmio.h KVM: fix checkpatch.pl errors in kvm/coalesced_mmio.h 2015-06-19 17:16:26 +02:00
eventfd.c KVM: move iodev.h from virt/kvm/ to include/kvm 2015-03-26 21:43:12 +00:00
irqchip.c kvm: irqchip: Break up high order allocations of kvm_irq_routing_table 2015-06-19 17:16:25 +02:00
Kconfig KVM: Disable compat ioctl for s390 2015-02-09 12:44:14 +01:00
kvm_main.c sched, preempt_notifier: separate notifier registration from static_key inc/dec 2015-07-03 18:55:00 +02:00
vfio.c kvm: vfio: fix unregister kvm_device_ops of vfio 2014-10-24 13:30:47 +02:00
vfio.h kvm: vfio: fix unregister kvm_device_ops of vfio 2014-10-24 13:30:47 +02:00