]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
irqchip/GIC: Don't deactivate interrupts forwarded to a guest
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 26 Aug 2015 16:00:45 +0000 (17:00 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Aug 2015 15:13:49 +0000 (17:13 +0200)
commit01f779f4862b53810ba4eb247f57bd1ad31d1c18
tree1561ec18dd58389bba56ab8cd38f1d34e477fa84
parent0b996fd35957a30568cddbce05b917c1897966e0
irqchip/GIC: 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-5-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic.c