]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Setup VLPI properties at map time
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 26 Oct 2017 09:44:07 +0000 (10:44 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 2 Nov 2017 15:55:44 +0000 (15:55 +0000)
commit5208e239686a8cbce54a2f705110150a162e09a8
tree65b1f84da956429e65ddd0eb1da2b9930834bcb2
parent3651864b484cfd1c6ffb66db00a8b5a087adc48c
irqchip/gic-v3-its: Setup VLPI properties at map time

So far, we require the hypervisor to update the VLPI properties
once the the VLPI mapping has been established. While this
makes it easy for the ITS driver, it creates a window where
an incoming interrupt can be delivered with an unknown set
of properties. Not very nice.

Instead, let's add a "properties" field to the mapping structure,
and use that to configure the VLPI before it actually gets mapped.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v4.h