aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2015-08-26 17:00:42 +0100
committerThomas Gleixner <[email protected]>2015-08-27 17:13:49 +0200
commit0b6a3da9617a08e13afc09cb7e148470ed0eb280 (patch)
treed6ac56a798b25c3537e2df96422b18020bb20823 /lib/mpi/mpicoder.c
parente324c4dc4a5991d5b1171f434884a4026345e4b4 (diff)
irqchip/GICv3: Convert to EOImode == 1
So far, GICv3 has been used in 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 ICC_EOIR1_EL1 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 ICC_DIR_EL1 marks the interrupt as inactive, meaning it can now be taken again. This patch converts the driver to be able to use this new mode, depending on whether or not the kernel can behave as a hypervisor. No feature change. Signed-off-by: Marc Zyngier <[email protected]> Reviewed-and-tested-by: Eric Auger <[email protected]> Cc: Christoffer Dall <[email protected]> Cc: Jiang Liu <[email protected]> Cc: <[email protected]> Cc: [email protected] Cc: Jason Cooper <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions