Skip to contentSkip to conversation

arm64: dts: qcom: sa8775p: Correct IRQ number of EL2 non-secure physical timer

PATCH Applied Cong Zhang 4 participants 4 messages Jun 4, 2024

Subsystems (3)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Cong Zhang

author
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sa8775p: Correct IRQ number of EL2 non-secure physical timer

The INTID of EL2 non-secure physical timer is 26. In linux, the IRQ number has a fixed 16 offset for PPIs. Therefore, the linux IRQ number of EL2 non-secure physical timer should be 10 (26 - 16).

Fixes 603f96d4c9d0 ("arm64: dts: qcom: add initial support for qcom sa8775p-ride")

---
ARM documentation for reference:
https://developer.arm.com/documentation/102379/0103/The-processor-timers/Summary-table

---
 arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sa8775p.dtsi +1 -1
index 89496728d840..efd588fa2abb 100644
@@ -4566,7 +4566,7 @@ arch_timer: timer {
 		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
 			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
 			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
-			     <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
+			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
 	};
 
 	pcie0: pcie@1c00000 {
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Cong Zhang

The INTID of EL2 non-secure physical timer is 26. In linux, the IRQ number has a fixed 16 offset for PPIs. Therefore, the linux IRQ number of EL2 non-secure physical timer should be 10 (26 - 16).

Fixes 603f96d4c9d0 ("arm64: dts: qcom: add initial support for qcom sa8775p-ride")

Please add Cc stable. See stable kernel guidelines.

Quoted 2 lines

---

Best regards,
Krzysztof

Reviewed-by on v1 1/1
#2 lore raw
In reply to Cong Zhang
Quoted 7 lines · Cong Zhang

The INTID of EL2 non-secure physical timer is 26. In linux, the IRQ number has a fixed 16 offset for PPIs. Therefore, the linux IRQ number of EL2 non-secure physical timer should be 10 (26 - 16).

Fixes 603f96d4c9d0 ("arm64: dts: qcom: add initial support for qcom sa8775p-ride")

---

Seems to match other qcom platforms of the timeframe too..

Konrad

maintainer Applied
#3 lore raw
In reply to Cong Zhang
Quoted 5 lines · Cong Zhang

The INTID of EL2 non-secure physical timer is 26. In linux, the IRQ number has a fixed 16 offset for PPIs. Therefore, the linux IRQ number of EL2 non-secure physical timer should be 10 (26 - 16).

Applied, thanks!

[1/1] arm64: dts: qcom: sa8775p: Correct IRQ number of EL2 non-secure physical timer

      commit: 41fca5930afb36453cc90d4002841edd9990d0ad

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>