irqchip/GICv3: Don't deactivate interrupts forwarded to a guest
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 26 Aug 2015 16:00:43 +0000 (17:00 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Aug 2015 15:13:49 +0000 (17:13 +0200)
commit530bf353e4eb06bcba5078390c949650cd26a7c7
treed18dd4acfce81aa7b67c9c65cd8c0d5c8645e0b6
parent0b6a3da9617a08e13afc09cb7e148470ed0eb280
irqchip/GICv3: Don't deactivate interrupts forwarded to a guest

Commit 0a4377de3056 ("genirq: Introduce irq_set_vcpu_affinity() to
target an interrupt to a VCPU") added just what we needed at the
lowest level to allow an interrupt to be deactivated by a guest.

When such a request reaches the GIC, it knows it doesn't need to
perform the deactivation anymore, and can safely leave the guest
do its magic. This of course requires additional support in both
VFIO and KVM.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-and-tested-by: Eric Auger <eric.auger@linaro.org>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: kvmarm@lists.cs.columbia.edu
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1440604845-28229-3-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic-v3.c