irqchip/gic-v3-its: Lock VLPI map array before translating it
authorMarc Zyngier <maz@kernel.org>
Fri, 8 Nov 2019 16:58:04 +0000 (16:58 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 10 Nov 2019 18:48:30 +0000 (18:48 +0000)
commit046b5054f56691c7f5861197a812f3990f66b30e
tree95e065253d545b708840f381537681ad33bb76cb
parented0e4aa9cc74c08a429f4a389483c1076da2ca51
irqchip/gic-v3-its: Lock VLPI map array before translating it

Obtaining the mapping ivformation for a VLPI should always be
done with the vlpi_lock for this device held. Otherwise, we
expose ourselves to races against a concurrent unmap.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191108165805.3071-11-maz@kernel.org
drivers/irqchip/irq-gic-v3-its.c