arm64: dts: st: Use 128kB size for aliased GIC400 register access on stm32mp25 SoCs
authorChristian Bruel <christian.bruel@foss.st.com>
Mon, 28 Apr 2025 12:06:59 +0000 (14:06 +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: 5d30d03aaf785 ("arm64: dts: st: introduce stm32mp25 SoCs family")
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Christian Bruel <christian.bruel@foss.st.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250415111654.2103767-3-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/stm32mp251.dtsi

index 379e290313dc0e4fd545cf363f32450fad19aa93..87110f91e4895ad701940c91c6cb372667193b48 100644 (file)
                #interrupt-cells = <3>;
                interrupt-controller;
                reg = <0x0 0x4ac10000 0x0 0x1000>,
-                     <0x0 0x4ac20000 0x0 0x2000>,
-                     <0x0 0x4ac40000 0x0 0x2000>,
-                     <0x0 0x4ac60000 0x0 0x2000>;
+                     <0x0 0x4ac20000 0x0 0x20000>,
+                     <0x0 0x4ac40000 0x0 0x20000>,
+                     <0x0 0x4ac60000 0x0 0x20000>;
        };
 
        psci {