Skip to content

Commit

Permalink
irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
Browse files Browse the repository at this point in the history
commit b383a42 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: cc2d321 ("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>
  • Loading branch information
Wudi Wang authored and Greg Kroah-Hartman committed Dec 14, 2021
1 parent 8c1d43f commit ab41630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-gic-v3-its.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ static struct its_collection *its_build_invall_cmd(struct its_cmd_block *cmd,

its_fixup_cmd(cmd);

return NULL;
return desc->its_invall_cmd.col;
}

static u64 its_cmd_ptr_to_offset(struct its_node *its,
Expand Down

0 comments on commit ab41630

Please sign in to comment.