Skip to content

Commit

Permalink
arm64: dts: st: Use 128kB size for aliased GIC400 register access on …
Browse files Browse the repository at this point in the history
…stm32mp23 SoCs

Adjust the size of 8kB GIC regions to 128kB so that each 4kB is mapped 16
times over a 64kB region.
The offset is then adjusted in the irq-gic driver.

see commit 12e1406 ("irqchip/GIC: Add workaround for aliased GIC400")

Fixes: e9b03ef ("arm64: dts: st: introduce stm32mp23 SoCs family")
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Christian Bruel <christian.bruel@foss.st.com>
Link: https://lore.kernel.org/r/20250415111654.2103767-7-christian.bruel@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Christian Bruel authored and Arnd Bergmann committed Apr 29, 2025
1 parent 3a1e108 commit 2ef5c66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/st/stm32mp231.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,9 @@
intc: interrupt-controller@4ac10000 {
compatible = "arm,gic-400";
reg = <0x4ac10000 0x1000>,
<0x4ac20000 0x2000>,
<0x4ac40000 0x2000>,
<0x4ac60000 0x2000>;
<0x4ac20000 0x20000>,
<0x4ac40000 0x20000>,
<0x4ac60000 0x20000>;
#interrupt-cells = <3>;
interrupt-controller;
};
Expand Down

0 comments on commit 2ef5c66

Please sign in to comment.