Fix up GIC_ITS ranges in QCOM DTs
Konrad Dybcio
maintainercover Fix up GIC_ITS ranges in QCOM DTs
Platforms with GIC-700 have additional registers (such as GITS_SGIR). Checked against the docs and compile-tested only.
---
Konrad Dybcio (6):
arm64: dts: qcom: kaanapali: Fix GIC_ITS range length
arm64: dts: qcom: milos: Fix GIC_ITS range length
arm64: dts: qcom: sm8450: Fix GIC_ITS range length
arm64: dts: qcom: sm8550: Fix GIC_ITS range length
arm64: dts: qcom: sm8650: Fix GIC_ITS range length
arm64: dts: qcom: sm8750: Fix GIC_ITS range length
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 2 +- arch/arm64/boot/dts/qcom/milos.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8750.dtsi | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
---
base-commit: 95c541ddfb0815a0ea8477af778bb13bb075079a
change-id: 20260317-topic-its_range_fixup-87af5cd6d8dc
Best regards,
Signature · 1 line
Konrad Dybcio <[email protected]>
Konrad Dybcio
maintainerPATCH 1/6 arm64: dts: qcom: kaanapali: Fix GIC_ITS range length
From: Konrad Dybcio <[email protected]>
Currently, the GITS_SGIR register is cut off. Fix it up.
--- arch/arm64/boot/dts/qcom/kaanapali.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/kaanapali.dtsi +1 -1
@@ -1239,7 +1239,7 @@ intc: interrupt-controller@17000000 { gic_its: msi-controller@17040000 { compatible = "arm,gic-v3-its"; - reg = <0x0 0x17040000 0x0 0x20000>; + reg = <0x0 0x17040000 0x0 0x40000>; msi-controller; #msi-cells = <1>;
Signature · 1 line
2.53.0
Konrad Dybcio
maintainerPATCH 2/6 arm64: dts: qcom: milos: Fix GIC_ITS range length
In reply to Konrad DybcioFrom: Konrad Dybcio <[email protected]>
Currently, the GITS_SGIR register is cut off. Fix it up.
--- arch/arm64/boot/dts/qcom/milos.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/milos.dtsi +1 -1
@@ -1911,7 +1911,7 @@ ppi_cluster1: interrupt-partition-1 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0x0 0x17140000 0x0 0x20000>; + reg = <0x0 0x17140000 0x0 0x40000>; msi-controller; #msi-cells = <1>;
Signature · 1 line
2.53.0
Re: [PATCH 2/6] arm64: dts: qcom: milos: Fix GIC_ITS range length
Quoted 15 lines · Konrad Dybcio
From: Konrad Dybcio <[email protected]>
Currently, the
GITS_SGIRregister is cut off. Fix it up.Fixes d9d59d105f98 ("arm64: dts: qcom: Add initial Milos dtsi")Signed-off-by Konrad Dybcio <[email protected]>--- arch/arm64/boot/dts/qcom/milos.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/qcom/milos.dtsi +0
-0
arch/arm64/boot/dts/qcom/milos.dtsi ppi_cluster1: interrupt-partition-1 { · line 1914
Quoted 5 lines
arch/arm64/boot/dts/qcom/milos.dtsi +1
-1@@ -1911,7 +1911,7 @@ ppi_cluster1: interrupt-partition-1 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0x0 0x17140000 0x0 0x20000>; + reg = <0x0 0x17140000 0x0 0x40000>;
The .FLAT doesn't make it super obvious what the size should be, but yes, GITS0_SGIR would be outside the range with 0x20000, and 0x40000 looks sane given at 0x1718_0000 the next register after GITS0_SGIR is located.
Quoted 3 lines
arch/arm64/boot/dts/qcom/milos.dtsi +0
-0msi-controller; #msi-cells = <1>;
Konrad Dybcio
maintainerPATCH 3/6 arm64: dts: qcom: sm8450: Fix GIC_ITS range length
In reply to Konrad DybcioFrom: Konrad Dybcio <[email protected]>
Currently, the GITS_SGIR register is cut off. Fix it up.
--- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +1 -1
@@ -5104,7 +5104,7 @@ intc: interrupt-controller@17100000 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0x0 0x17140000 0x0 0x20000>; + reg = <0x0 0x17140000 0x0 0x40000>; msi-controller; #msi-cells = <1>; };
Signature · 1 line
2.53.0
Re: [PATCH 3/6] arm64: dts: qcom: sm8450: Fix GIC_ITS range length
Quoted 16 lines · Konrad Dybcio
From: Konrad Dybcio <[email protected]>
Currently, the
GITS_SGIRregister is cut off. Fix it up.Fixes fc8b0b9b630d ("arm64: dts: qcom: sm8450 add ITS device tree node")Signed-off-by Konrad Dybcio <[email protected]>--- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/qcom/sm8450.dtsi +0
-0
arch/arm64/boot/dts/qcom/sm8450.dtsi intc: interrupt-controller@17100000 { · line 5110
Quoted 8 lines
arch/arm64/boot/dts/qcom/sm8450.dtsi +1
-1@@ -5104,7 +5104,7 @@ intc: interrupt-controller@17100000 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0x0 0x17140000 0x0 0x20000>; + reg = <0x0 0x17140000 0x0 0x40000>; msi-controller; #msi-cells = <1>; };
Thanks,
Neil
Konrad Dybcio
maintainerPATCH 4/6 arm64: dts: qcom: sm8550: Fix GIC_ITS range length
In reply to Konrad DybcioFrom: Konrad Dybcio <[email protected]>
Currently, the GITS_SGIR register is cut off. Fix it up.
--- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8550.dtsi +1 -1
@@ -5274,7 +5274,7 @@ ppi_cluster3: interrupt-partition-3 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0 0x17140000 0 0x20000>; + reg = <0 0x17140000 0 0x40000>; msi-controller; #msi-cells = <1>; };
Signature · 1 line
2.53.0
Re: [PATCH 4/6] arm64: dts: qcom: sm8550: Fix GIC_ITS range length
Quoted 16 lines · Konrad Dybcio
From: Konrad Dybcio <[email protected]>
Currently, the
GITS_SGIRregister is cut off. Fix it up.Fixes ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi")Signed-off-by Konrad Dybcio <[email protected]>--- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/qcom/sm8550.dtsi +0
-0
arch/arm64/boot/dts/qcom/sm8550.dtsi ppi_cluster3: interrupt-partition-3 { · line 5280
Quoted 8 lines
arch/arm64/boot/dts/qcom/sm8550.dtsi +1
-1@@ -5274,7 +5274,7 @@ ppi_cluster3: interrupt-partition-3 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0 0x17140000 0 0x20000>; + reg = <0 0x17140000 0 0x40000>; msi-controller; #msi-cells = <1>; };
Thanks,
Neil
Konrad Dybcio
maintainerPATCH 5/6 arm64: dts: qcom: sm8650: Fix GIC_ITS range length
In reply to Konrad DybcioFrom: Konrad Dybcio <[email protected]>
Currently, the GITS_SGIR register is cut off. Fix it up.
--- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8650.dtsi +1 -1
@@ -7219,7 +7219,7 @@ ppi_cluster2: interrupt-partition-2 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0 0x17140000 0 0x20000>; + reg = <0 0x17140000 0 0x40000>; msi-controller; #msi-cells = <1>;
Signature · 1 line
2.53.0
Re: [PATCH 5/6] arm64: dts: qcom: sm8650: Fix GIC_ITS range length
Quoted 16 lines · Konrad Dybcio
From: Konrad Dybcio <[email protected]>
Currently, the
GITS_SGIRregister is cut off. Fix it up.Fixes d2350377997f ("arm64: dts: qcom: add initial SM8650 dtsi")Signed-off-by Konrad Dybcio <[email protected]>--- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/qcom/sm8650.dtsi +0
-0
arch/arm64/boot/dts/qcom/sm8650.dtsi ppi_cluster2: interrupt-partition-2 { · line 7225
Quoted 8 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +1
-1@@ -7219,7 +7219,7 @@ ppi_cluster2: interrupt-partition-2 { gic_its: msi-controller@17140000 { compatible = "arm,gic-v3-its"; - reg = <0 0x17140000 0 0x20000>; + reg = <0 0x17140000 0 0x40000>; msi-controller; #msi-cells = <1>;
Good finding, indeed the ITS code would remap phys_base + SZ_128K for sgir already which is out of the original range.
Thanks,
Neil
Konrad Dybcio
maintainerPATCH 6/6 arm64: dts: qcom: sm8750: Fix GIC_ITS range length
In reply to Konrad DybcioFrom: Konrad Dybcio <[email protected]>
Currently, the GITS_SGIR register is cut off. Fix it up.
--- arch/arm64/boot/dts/qcom/sm8750.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8750.dtsi +1 -1
@@ -4658,7 +4658,7 @@ intc: interrupt-controller@16000000 { gic_its: msi-controller@16040000 { compatible = "arm,gic-v3-its"; - reg = <0x0 0x16040000 0x0 0x20000>; + reg = <0x0 0x16040000 0x0 0x40000>; msi-controller; #msi-cells = <1>;
Signature · 1 line
2.53.0
Quoted 4 lines · Konrad Dybcio
Platforms with GIC-700 have additional registers (such as
GITS_SGIR). Checked against the docs and compile-tested only.Signed-off-by Konrad Dybcio <[email protected]>
Really straight-forward patchset, so for the whole thing:
Quoted 4 lines · Konrad Dybcio
Platforms with GIC-700 have additional registers (such as
GITS_SGIR). Checked against the docs and compile-tested only.
Applied, thanks!
[1/6] arm64: dts: qcom: kaanapali: Fix GIC_ITS range length
commit: b361ec125d847652a2b11b93f1ac083d76d1747e
[2/6] arm64: dts: qcom: milos: Fix GIC_ITS range length
commit: fd05433d7c043252a4789979d8823351c4b6f56e
[3/6] arm64: dts: qcom: sm8450: Fix GIC_ITS range length
commit: 5d3b10acd2eb541625bf04d72b0cf7738002e493
[4/6] arm64: dts: qcom: sm8550: Fix GIC_ITS range length
commit: bd56d3eba56247d9a6d9677811184b82dba433f6
[5/6] arm64: dts: qcom: sm8650: Fix GIC_ITS range length
commit: 68e63451115af1777aa20551f7dc7c307680e012
[6/6] arm64: dts: qcom: sm8750: Fix GIC_ITS range length
commit: 3d3da7a4a8c9b5209163888a20746e0193303dfdBest regards,
Signature · 1 line
Bjorn Andersson <[email protected]>