mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Jie Gan <jie.gan@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 11:30:45 +0100	[thread overview]
Message-ID: <9ab9503d-1668-401c-8d56-632bac5d82ff@oss.qualcomm.com> (raw)
In-Reply-To: <f2cc0d77-3a5d-4d82-a697-456488bee6cf@oss.qualcomm.com>

On 11/25/26 11:11 AM, Jie Gan wrote:
> 
> 
> 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.

As a workaround for now:

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

      reply	other threads:[~2026-11-25 10:30 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
2026-11-25 10:30     ` Konrad Dybcio [this message]

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=9ab9503d-1668-401c-8d56-632bac5d82ff@oss.qualcomm.com \
    --to=konrad.dybcio@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=jie.gan@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®