Thread (11 messages) 11 messages, 3 authors, 2021-01-28

Re: [PATCH v2 5/6] arm64: dts: qcom: Add basic devicetree support for SM8350 SoC

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-01-27 15:56:13
Also in: linux-arm-msm, lkml

Hi Sai,

On 27-01-21, 18:37, Sai Prakash Ranjan wrote:
Hi Vinod,

On 2021-01-27 18:00, Vinod Koul wrote:
quoted
+	timer {
+		compatible = "arm,armv8-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)>;
The last interrupt should be hypervisor physical interrupt(10) not 12(hyp
virtual).
It works currently with android bootloaders because the host linux kernel
will run
at EL1 and will use EL1 physical timer interrupt(14), but if we ever have
the host
kernel run in EL2(for example, chrome) then we will not receive any timer
interrupts.
I got these values from downstream and used them as is. I will update
and also check documentation. Thanks for pointing out

-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help