Skip to content
Commit d3badb15 authored by Fang Xiang's avatar Fang Xiang Committed by Thomas Gleixner
Browse files

irqchip/gic-v3-its: Flush ITS tables correctly in non-coherent GIC designs

In non-coherent GIC designs, the ITS tables must be flushed before writing
to the GITS_BASER<n> registers, otherwise the ITS could read dirty tables,
which results in unpredictable behavior.

Flush the tables right at the begin of its_setup_baser() to prevent that.

[ tglx: Massage changelog ]

Fixes: a8707f55

 ("irqchip/gic-v3: Add Rockchip 3588001 erratum workaround")
Suggested-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarFang Xiang <fangxiang3@xiaomi.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231030083256.4345-1-fangxiang3@xiaomi.com
parent 8999ad99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment