arm64: dts: st: Use 128kB size for aliased GIC400 register access on stm32mp23 SoCs
authorChristian Bruel <christian.bruel@foss.st.com>
Mon, 28 Apr 2025 12:07:03 +0000 (14:07 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 29 Apr 2025 16:16:28 +0000 (18:16 +0200)
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 12e14066f4835 ("irqchip/GIC: Add workaround for aliased GIC400")

Fixes: e9b03ef21386e ("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>
arch/arm64/boot/dts/st/stm32mp231.dtsi

index 3f73cf1d443d4371d656835f714d9d73095a42de..75697acd1345b2a1cdf963300c0a64608bbb52de 100644 (file)
                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;
                };