summaryrefslogtreecommitdiffstats
path: root/drivers/ide/trm290.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-08-26 17:00:44 +0100
committerThomas Gleixner <tglx@linutronix.de>2015-08-27 17:13:49 +0200
commit0b996fd35957a30568cddbce05b917c1897966e0 (patch)
treeebea5c35ca54370365d9791323a10a43c756e0c4 /drivers/ide/trm290.c
parent530bf353e4eb06bcba5078390c949650cd26a7c7 (diff)
downloadblackbird-op-linux-0b996fd35957a30568cddbce05b917c1897966e0.tar.gz
blackbird-op-linux-0b996fd35957a30568cddbce05b917c1897966e0.zip
irqchip/GIC: Convert to EOImode == 1
So far, GICv2 has been used with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the interrupt at the same time. While this works perfectly for Linux (we only have a single priority), it causes issues when an interrupt is forwarded to a guest, and when we want the guest to perform the EOI itself. For this case, the GIC architecture provides EOImode == 1, where: - A write to the EOI register drops the priority of the interrupt and leaves it active. Other interrupts at the same priority level can now be taken, but the active interrupt cannot be taken again - A write to the DIR marks the interrupt as inactive, meaning it can now be taken again. We only enable this feature when booted in HYP mode and that the device-tree reported a suitable CPU interface. Observable behaviour should remain unchanged. 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-4-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/ide/trm290.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud