arm64: dts: qcom: Correct IRQ number of EL2 non-secure physical timer
PATCH 1/1 arm64: dts: qcom: 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).
---
The EL2 non-secure physical timer is utilized during kernel bootup in EL2 mode with KVM enabled. This patch has been verified on the QCS8300 platform with KVM enabled. Given that the dependency patch has already been reviewed, I am uncertain whether it is preferable to submit this fix as a new patch or to combine it with the dependency patch. I would appreciate your suggestions on this patch.
--- arch/arm64/boot/dts/qcom/qcs8300.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdx75.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/qcs8300.dtsi +1 -1
@@ -1370,6 +1370,6 @@ 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)>; }; };
arch/arm64/boot/dts/qcom/sdx75.dtsi +1 -1
@@ -1548,6 +1548,6 @@ 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)>; }; };
---
base-commit: 6ad9d5070ae9de51803b16ffc384c23d62466c7d
change-id: 20241126-correct_timer_irq-133e0a33e792
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: 73c78f31fa1d504124d4a82b578a6a14126cccd8
prerequisite-patch-id: 5a01283c8654ae7c696d9c69cb21505b71c5ca27
prerequisite-patch-id: dc633d5aaac790776a8a213ea2faa4890a3f665d
prerequisite-patch-id: 9ecf4cb8b5842ac64e51d6baa0e6c1fbe449ee66
Best regards,
Signature · 1 line
Cong Zhang <[email protected]>
Quoted 12 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).
Signed-off-by Cong Zhang <[email protected]>---
The EL2 non-secure physical timer is utilized during kernel bootup in EL2 mode with KVM enabled. This patch has been verified on the QCS8300 platform with KVM enabled. Given that the dependency patch has already been reviewed, I am uncertain whether it is preferable to submit this fix as a new patch or to combine it with the dependency patch. I would appreciate your suggestions on this patch.
Quoted 2 lines
--- arch/arm64/boot/dts/qcom/qcs8300.dtsi | 2 +-
This was not merged. Do not post fixes to things which are still patches on mailing list.
Best regards,
Krzysztof
Quoted 15 lines · Krzysztof Kozlowski
Quoted 12 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).
Signed-off-by Cong Zhang <[email protected]>---
The EL2 non-secure physical timer is utilized during kernel bootup in EL2 mode with KVM enabled. This patch has been verified on the QCS8300 platform with KVM enabled. Given that the dependency patch has already been reviewed, I am uncertain whether it is preferable to submit this fix as a new patch or to combine it with the dependency patch. I would appreciate your suggestions on this patch.Quoted 2 lines
--- arch/arm64/boot/dts/qcom/qcs8300.dtsi | 2 +-
Quoted 5 lines
This was not merged. Do not post fixes to things which are still patches on mailing list.
Best regards,
Krzysztof
Thanks for your suggestion. The patches for qcs8300 are update https://lore.kernel.org/all/[email protected]/. I will update this patch to fix sdx75 platform which is already merged.
Signature · 2 lines
Thanks, Cong Zhang