]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
authorWudi Wang <wangwudi@hisilicon.com>
Wed, 8 Dec 2021 01:54:29 +0000 (09:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:57:23 +0000 (10:57 +0100)
commit47d5a0d0b41108359ea436d355f083b57a748626
treecef77042d036d12f4e14be5b3a5af5e0769feea1
parentf5ae35d9e40b0ed97cb5763a01d2c34b9a12b33b
irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL

commit 02192979abcc72a6835eb844e5e29b493e96b080 upstream.

INVALL CMD specifies that the ITS must ensure any caching associated with
the interrupt collection defined by ICID is consistent with the LPI
configuration tables held in memory for all Redistributors. SYNC is
required to ensure that INVALL is executed.

Currently, LPI configuration data may be inconsistent with that in the
memory within a short period of time after the INVALL command is executed.

Signed-off-by: Wudi Wang <wangwudi@hisilicon.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Fixes: a804fc766818 ("irqchip: GICv3: ITS command queue")
Link: https://lore.kernel.org/r/20211208015429.5007-1-zhangshaokun@hisilicon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-gic-v3-its.c