Skip to content

Commit b383a42

Browse files
Wudi WangMarc Zyngier
authored andcommitted
irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
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 <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Fixes: cc2d321 ("irqchip: GICv3: ITS command queue") Link: https://lore.kernel.org/r/[email protected]
1 parent 3d9e575 commit b383a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-gic-v3-its.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ static struct its_collection *its_build_invall_cmd(struct its_node *its,
742742

743743
its_fixup_cmd(cmd);
744744

745-
return NULL;
745+
return desc->its_invall_cmd.col;
746746
}
747747

748748
static struct its_vpe *its_build_vinvall_cmd(struct its_node *its,

0 commit comments

Comments
 (0)