]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: mediatek: mt8516: fix GICv2 range
authorVal Packett <val@packett.cool>
Wed, 4 Dec 2024 19:05:04 +0000 (16:05 -0300)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 9 Dec 2024 11:45:11 +0000 (12:45 +0100)
On the MT8167 which is based on the MT8516 DTS, the following error
was appearing on boot, breaking interrupt operation:

GICv2 detected, but range too small and irqchip.gicv2_force_probe not set

Similar to what's been proposed for MT7622 which has the same issue,
fix by using the range reported by force_probe.

Link: https://lore.kernel.org/all/YmhNSLgp%2Fyg8Vr1F@makrotopia.org/
Fixes: 5236347bde42 ("arm64: dts: mediatek: add dtsi for MT8516")
Signed-off-by: Val Packett <val@packett.cool>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241204190524.21862-2-val@packett.cool
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8516.dtsi

index d0b03dc4d3f43aca71683a3d9b33a409b8ce237f..44442934130232981dd52a6ed89b0268828cc202 100644 (file)
                        interrupt-parent = <&gic>;
                        interrupt-controller;
                        reg = <0 0x10310000 0 0x1000>,
-                             <0 0x10320000 0 0x1000>,
+                             <0 0x1032f000 0 0x2000>,
                              <0 0x10340000 0 0x2000>,
                              <0 0x10360000 0 0x2000>;
                        interrupts = <GIC_PPI 9