Commit d3badb1
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: a8707f5 ("irqchip/gic-v3: Add Rockchip 3588001 erratum workaround")
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fang Xiang <fangxiang3@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231030083256.4345-1-fangxiang3@xiaomi.com1 parent 8999ad9 commit d3badb1
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2379 | 2379 | | |
2380 | 2380 | | |
2381 | 2381 | | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
2382 | 2385 | | |
2383 | 2386 | | |
2384 | 2387 | | |
2385 | | - | |
2386 | | - | |
2387 | | - | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | 2390 | | |
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | | - | |
| 2397 | + | |
2398 | 2398 | | |
2399 | | - | |
2400 | | - | |
| 2399 | + | |
2401 | 2400 | | |
2402 | 2401 | | |
2403 | 2402 | | |
| |||
2609 | 2608 | | |
2610 | 2609 | | |
2611 | 2610 | | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
2612 | 2616 | | |
2613 | 2617 | | |
2614 | 2618 | | |
| |||
0 commit comments