]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Synchronise INV command targetting a VLPI using VSYNC
authorMarc Zyngier <maz@kernel.org>
Fri, 8 Nov 2019 16:58:02 +0000 (16:58 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 10 Nov 2019 18:47:53 +0000 (18:47 +0000)
commitdb6d3f31b2b4f7463d4c29692d95b75fd142d765
tree87b388c8d78910aec198205f2a8004d6ad453cba
parent3638a0e84996fe4b1ce7d1b9f2ec6d9a88459da0
irqchip/gic-v3-its: Synchronise INV command targetting a VLPI using VSYNC

We have so far alwways invalidated VLPIs usinc an INV+SYNC
sequence, but that's pretty wrong for two reasons:

- SYNC only synchronises physical LPIs
- The collection ID that for the associated LPI doesn't match
  the redistributor the vPE is associated with

Instead, send an INV+VSYNC for forwarded LPIs, ensuring that
the ITS can properly synchronise the invalidation of VLPIs.

Fixes: d6c829b353a8 ("irqchip/gic-v3-its: Add VLPI configuration handling")
Reported-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191108165805.3071-9-maz@kernel.org
drivers/irqchip/irq-gic-v3-its.c