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>,
	Jingyi Wang <jingyi.wang@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] arm64: dts: qcom: kaanapali: Add CoreSight nodes for APSS debug block
Date: Thu, 15 Oct 2026 10:26:39 +0800	[thread overview]
Message-ID: <686fe87e-63a2-4358-a6b9-8b2107b369e6@oss.qualcomm.com> (raw)
In-Reply-To: <b410aa8f-c4a0-438b-a02d-765da25dc160@oss.qualcomm.com>



On 10/14/2026 9:23 AM, Jie Gan wrote:
> 
> 
> On 10/13/2026 8:49 PM, Konrad Dybcio wrote:
>> On 9/22/26 12:35 PM, Jie Gan wrote:
>>> The APSS debug block is built with CoreSight devices like ETE,
>>> replicator, funnel and TMC ETF. Add dt nodes for these devices to enable
>>> ETM trace.
>>>
>>> The replicator, funnel and TMC ETF nodes in this block are physically
>>> powered by the CPU cluster power rail rather than by a dedicated 
>>> always-on
>>> rail. Add a power-domains property referencing the cluster_pd domain to
>>> each of these nodes, so their power state is tied to the CPU cluster
>>> domain and the runtime PM core can power the domain on before the
>>> devices are accessed and let it be powered off otherwise.
>>>
>>> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
>>> ---
>>>   arch/arm64/boot/dts/qcom/kaanapali.dtsi | 567 +++++++++++++++++++++ 
>>> +++++++++++
>>>   1 file changed, 567 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/ 
>>> boot/dts/qcom/kaanapali.dtsi
>>> index 131fd2a16c54..d9313de53ee5 100644
>>> --- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
>>> @@ -218,6 +218,110 @@ domain_ss3: domain-sleep-0 {
>>>           };
>>>       };
>>> +    ete-0 {
>>> +        compatible = "arm,embedded-trace-extension";
>>
>> No power-domains for these too?
> 
> ETM/ETE device is the debug device of the CPU, no power-domain property 
> attached to the device and the power management operations relies on the 
> CPU itself.
> 
> I missed qcom,skip-power-up; for those nodes, ETE device should not 
> check the power state of the device.
> 
> Will send new version to address it.
> 
>>
>> [...]
>>
>>> +        tmc@1d029000 {
>>> +            compatible = "arm,coresight-tmc", "arm,primecell";
>>> +            reg = <0x0 0x1d029000 0x0 0x1000>;
>>> +
>>> +            clocks = <&aoss_qmp>;
>>> +            clock-names = "apb_pclk";
>>> +            power-domains = <&cluster_pd>;
>>
>> Is there only being a single cluster_pd a mistake on kaanapali?
>>
> 
>  From psci map, KNP only has one cluster_pd shared among all CPUs.
> 
> Hi Jingyi,
> 
> Can you please help to comment this part?

Hi Konrad,

We have cross checked the cluster info.

The PD configuration for these two clusters is identical byte-for-byte 
and is based on cluster_cl5. I believe this is why they share the same 
cluster PD.

                 domain-idle-states {
                         cluster_cl5: cluster-sleep-0 {
                                 compatible = "domain-idle-state";
                                 arm,psci-suspend-param = <0x01000054>;
                                 entry-latency-us = <2150>;
                                 exit-latency-us = <1983>;
                                 min-residency-us = <9144>;
                         };

Thanks,
Jie

> 
> Thanks,
> Jie
> 
>> The CPUs have a different Aff1 value in the MPIDR register, so one
>> would think there's 2 (also according to the cpu-map)
>>
>> Konrad
> 


  reply	other threads:[~2026-10-15  2:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 10:35 [PATCH 0/4] Add ETM devices for multiple QCOM platforms Jie Gan
2026-09-22 10:35 ` [PATCH 1/4] arm64: dts: qcom: hamoa: Add CoreSight nodes for APSS debug block Jie Gan
2026-10-13 12:46   ` Konrad Dybcio
2026-10-14  1:13     ` Jie Gan
2026-09-22 10:35 ` [PATCH 2/4] arm64: dts: qcom: sm8750: " Jie Gan
2026-09-22 10:35 ` [PATCH 3/4] arm64: dts: qcom: kaanapali: " Jie Gan
2026-10-13 12:49   ` Konrad Dybcio
2026-10-14  1:23     ` Jie Gan
2026-10-15  2:26       ` Jie Gan [this message]
2026-10-15  9:06         ` Konrad Dybcio
2026-09-22 10:35 ` [PATCH 4/4] arm64: dts: qcom: glymur: " Jie Gan

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=686fe87e-63a2-4358-a6b9-8b2107b369e6@oss.qualcomm.com \
    --to=jie.gan@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jingyi.wang@oss.qualcomm.com \
    --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=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®