[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ab3f5ee6-eabf-491a-99ef-da1e74b29081@linaro.org>
Date: Thu, 27 Feb 2025 16:40:38 +0100
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Cc: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: sm8650: switch to
interrupt-cells 4 to add PPI partitions
On 27/02/2025 16:11, Dmitry Baryshkov wrote:
> On Thu, Feb 27, 2025 at 10:04:39AM +0100, Neil Armstrong wrote:
>> The ARM PMUs shares the same per-cpu (PPI) interrupt, so we need to switch
>> to interrupt-cells = <4> in the GIC node to allow adding an interrupt
>> partition map phandle as the 4th cell value for GIC_PPI interrupts.
>>
>> Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
>> Signed-off-by: Neil Armstrong <neil.armstrong@...aro.org>
>> ---
>> arch/arm64/boot/dts/qcom/sm8650.dtsi | 542 +++++++++++++++++------------------
>> 1 file changed, 271 insertions(+), 271 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
>> index de960bcaf3ccf6e2be47bf63a02effbfb75241bf..273170a2e9499b900b3348307f13c9bc1a9a7345 100644
>> --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
>> @@ -1417,17 +1417,17 @@ opp-3302400000 {
>>
>> pmu-a520 {
>> compatible = "arm,cortex-a520-pmu";
>> - interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
>> + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH 0>;
>
> Why are you changing the interrupt type? Should that be coming as a part
> of the next patch?
Damn, indeed, bad rebase.
Thanks,
Neil
>
>> };
>>
>> pmu-a720 {
>> compatible = "arm,cortex-a720-pmu";
>> - interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
>> + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH 0>;
>> };
>>
>> pmu-x4 {
>> compatible = "arm,cortex-x4-pmu";
>> - interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
>> + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH 0>;
>> };
>>
>> psci {
>
Powered by blists - more mailing lists