From: Neil Armstrong <neil.armstrong@linaro.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: sm8650: add PPI interrupt partitions for the ARM PMUs
Date: Sun, 9 Feb 2025 15:44:47 +0100 [thread overview]
Message-ID: <6aa71142-3b1d-476f-9c78-1207fbbed3f5@linaro.org> (raw)
In-Reply-To: <ba546075-cfc0-4b17-9129-f99054e2e1ae@oss.qualcomm.com>
On 07/02/2025 21:30, Konrad Dybcio wrote:
> On 7.02.2025 11:31 AM, Neil Armstrong wrote:
>> The PMUs shares the same per-cpu (PPI) interrupt, so declare the proper
>> interrupt partition maps and use the 4th interrupt cell to pass the
>> partition phandle for each ARM PMU node.
>>
>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>> ---
>
>> @@ -5309,6 +5309,20 @@ intc: interrupt-controller@17100000 {
>> #size-cells = <2>;
>> ranges;
>>
>> + ppi-partitions {
>> + ppi_cluster0: interrupt-partition-0 {
>> + affinity = <&cpu0 &cpu1>;
>> + };
>> +
>> + ppi_cluster1: interrupt-partition-1 {
>> + affinity = <&cpu2 &cpu3 &cpu4 &cpu5 &cpu6>;
>> + };
>> +
>> + ppi_cluster2: interrupt-partition-2 {
>> + affinity = <&cpu7>;
>> + };
>
> I'm not sure this is accurate.
>
> I *think* it's cores 0-1 and 2-7, but I can't find a concrete answer
Core 7 is a Cortex-X4, and has a dedicated PMU node, look at the cpu compatibles.
Neil
>
> Konrad
next prev parent reply other threads:[~2025-02-09 14:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 10:31 [PATCH 0/2] arm64: dts: qcom: sm8650: switch to 4 interrupt cells to add PPI partitions for PMUs Neil Armstrong
2025-02-07 10:31 ` [PATCH 1/2] arm64: dts: qcom: sm8650: switch to interrupt-cells 4 to add PPI partitions Neil Armstrong
2025-02-07 20:23 ` Konrad Dybcio
2025-02-09 14:45 ` Neil Armstrong
2025-02-10 9:27 ` Neil Armstrong
2025-02-10 18:20 ` Konrad Dybcio
2025-02-10 18:21 ` Konrad Dybcio
2025-02-07 10:31 ` [PATCH 2/2] arm64: dts: qcom: sm8650: add PPI interrupt partitions for the ARM PMUs Neil Armstrong
2025-02-07 20:30 ` Konrad Dybcio
2025-02-09 14:44 ` Neil Armstrong [this message]
2025-02-10 15:23 ` Konrad Dybcio
2025-02-10 15:30 ` neil.armstrong
2025-02-10 18:29 ` Konrad Dybcio
2025-02-11 8:02 ` neil.armstrong
2025-02-11 13:08 ` 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=6aa71142-3b1d-476f-9c78-1207fbbed3f5@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=andersson@kernel.org \
--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=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;
as well as URLs for NNTP newsgroup(s).