mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jie Gan <jie.gan@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: qcom: shikra: Mark cti_riscv device as failed
Date: Wed, 25 Nov 2026 18:11:03 +0800	[thread overview]
Message-ID: <f2cc0d77-3a5d-4d82-a697-456488bee6cf@oss.qualcomm.com> (raw)
In-Reply-To: <30485a94-cc85-4c64-8593-a2218a3aa59d@oss.qualcomm.com>



On 11/25/2026 5:53 PM, Konrad Dybcio wrote:
> On 11/16/26 12:03 PM, Jie Gan wrote:
>> The cti_riscv device is suspected to have a clock vote issue on the
>> KVM enabled path, which causes the device to crash during bootup. Mark
>> the node with status = "fail" for now to avoid the crash.
>>
>> Fixes: eed738c6dd0c ("arm64: dts: qcom: shikra: Add coresight nodes")
>> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
>> ---
> 
> That would mean Gunyah is enabling some clock that the TZ itself isn't,
> which would be solveable through a clock driver patch. Do we have more
> details here?
>

We are currently debugging this issue. What we have found so far is that 
the RISC-V core is not powered on when the AMBA bus attempts to read the 
PID from the device registers, which causes the system to crash.

Normally, the RISC-V core is powered on by remoteproc much later in the 
boot sequence. However, we have not observed this issue with either the 
UEFI or ABL boot stack.

One possibility is that the RISC-V core is powered on during UEFI or ABL 
and remains powered on when control is handed over to the kernel.

Thanks,
Jie

> Konrad
> 
>>   arch/arm64/boot/dts/qcom/shikra.dtsi | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
>> index 0a95ad5a5582..5f5a786fbd2c 100644
>> --- a/arch/arm64/boot/dts/qcom/shikra.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
>> @@ -3996,6 +3996,7 @@ cti@982b000 {
>>   			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
>>   			clock-names = "apb_pclk";
>>   			label = "cti_riscv";
>> +			status = "fail";
>>   		};
>>   
>>   		tpdm@9860000 {
>>
>> ---
>> base-commit: 84abb955b1015477aa11a96e2f3ac1b938b77f48
>> change-id: 20261116-disable_riscv_cti_for_shikra-574ac8895dea
>>
>> Best regards,


  reply	other threads:[~2026-11-25 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 11:03 Jie Gan
2026-11-25  9:53 ` Konrad Dybcio
2026-11-25 10:11   ` Jie Gan [this message]
2026-11-25 10:30     ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f2cc0d77-3a5d-4d82-a697-456488bee6cf@oss.qualcomm.com \
    --to=jie.gan@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=alex@ghiti.fr \
    --cc=andersson@kernel.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®