irqchip/gic-v3-its: Add VLPI configuration handling
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 20 Dec 2016 09:54:57 +0000 (09:54 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Aug 2017 14:31:34 +0000 (15:31 +0100)
commit015ec0386ab69a5b6b21f6c1559b242f4540de9f
tree336da5e0f1d28f8fda62371ed8d49e519a8e2113
parentd011e4e654d7f519bf892995b9f4b453dbf8a3e5
irqchip/gic-v3-its: Add VLPI configuration handling

When a VLPI is reconfigured (enabled, disabled, change in priority),
the full configuration byte must be written, and the caches invalidated.

Also, when using the irq_mask/irq_unmask methods, it is necessary
to disable the doorbell for that particular interrupt (by mapping it
to 1023) on top of clearing the Enable bit.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c