]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 May 2025 07:44:05 +0000 (09:44 +0200)
[ Upstream commit 06c231fe953a26f4bc9d7a37ba1b9b288a59c7c2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/st/stm32mp251.dtsi

index 3219a8ea1e6a7852e4dafff247ae3d08d2e430c5..ce5409acae1ce0f2c27c3bc98758583708de52e5 100644 (file)
@@ -77,9 +77,9 @@
                #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 {