Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
Date: Tue, 25 Mar 2025 10:50:41 +0530	[thread overview]
Message-ID: <2bc16a4e-96d6-4175-a52c-e344115fc4ac@quicinc.com> (raw)
In-Reply-To: <d5f67734-db1e-4096-98f9-3f026e4bd46b@kernel.org>



On 3/1/2025 7:06 PM, Krzysztof Kozlowski wrote:
> On 28/02/2025 15:14, Bjorn Andersson wrote:
>> On Fri, Feb 28, 2025 at 11:01:16AM +0530, Yuvaraj Ranganathan wrote:
>>> On 2/28/2025 5:56 AM, Bjorn Andersson wrote:
>>>> On Thu, Feb 27, 2025 at 11:38:16PM +0530, Yuvaraj Ranganathan wrote:
>>>>> The initial QCE node change is reverted by the following patch 
>>>>
>>>> s/is/was/
>>>>
>>>>> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
>>>>> because of the build warning,
>>>>>
>>>>>   sa8775p-ride.dtb: crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
>>>>>     ...
>>>>>     'qcom,sa8775p-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
>>>>>
>>>>> Add the QCE node back that fix the warnings.
>>>>>
>>>>
>>>> Are you saying that adding this node back will fix the warning?
>>>>
>>>> I'd expect that you would say something like "The changes to the
>>>> Devicetree binding has accepted, so add the node back".
>>>>
>>>> Regards,
>>>> Bjorn
>>>>
>>>>> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
>>>>> ---
>>>>>  arch/arm64/boot/dts/qcom/sa8775p.dtsi | 12 ++++++++++++
>>>>>  1 file changed, 12 insertions(+)
>>>>>
>>>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>>>>> index 23049cc58896..b0d77b109305 100644
>>>>> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>>>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>>>>> @@ -2418,6 +2418,18 @@ cryptobam: dma-controller@1dc4000 {
>>>>>  				 <&apps_smmu 0x481 0x00>;
>>>>>  		};
>>>>>  
>>>>> +		crypto: crypto@1dfa000 {
>>>>> +			compatible = "qcom,sa8775p-qce", "qcom,sm8150-qce", "qcom,qce";
>>>>> +			reg = <0x0 0x01dfa000 0x0 0x6000>;
>>>>> +			dmas = <&cryptobam 4>, <&cryptobam 5>;
>>>>> +			dma-names = "rx", "tx";
>>>>> +			iommus = <&apps_smmu 0x480 0x00>,
>>>>> +				 <&apps_smmu 0x481 0x00>;
>>>>> +			interconnects = <&aggre2_noc MASTER_CRYPTO_CORE0 0
>>>>> +					 &mc_virt SLAVE_EBI1 0>;
>>>>> +			interconnect-names = "memory";
>>>>> +		};
>>>>> +
>>>>>  		stm: stm@4002000 {
>>>>>  			compatible = "arm,coresight-stm", "arm,primecell";
>>>>>  			reg = <0x0 0x4002000 0x0 0x1000>,
>>>>> -- 
>>>>> 2.34.1
>>>>>
>>>
>>> DeviceTree bindings were accepted but the comptabile string does not
>>> properly bind to it. Hence, adding the correct binding string in the
>>> compatible has resolved the issue.
>>>
>>
>> Please then write that in the commit message.
>>
>>
>> That said, what did you base this patch on? While I have picked
>> Krzysztof's two reverts in my local tree, I have not yet published them.
>> So your patch is not even based on v6.14-rc1, which now is 4 weeks old.
>>
>> Patches sent upstream should be built and tested on a suitable upstream
>> branch!
> 
> I sent reverts because author, even though pinged more than once (!),
> ignored reported problems.
> 
> It seems that reverting the code gets some attention, so maybe author
> will fix the original issue and my reverts can be dropped/ignored.
> 
> Best regards,
> Krzysztof

The original issue was not observed at our end during the first time
validation and its due to some environment issue. This patch does
resolves the issue and it is validated against the linux-next master branch.

Thanks,
Yuvaraj.


  reply	other threads:[~2025-03-25  5:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-27 18:08 [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node Yuvaraj Ranganathan
2025-02-27 18:08 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: " Yuvaraj Ranganathan
2025-02-28  0:28   ` Bjorn Andersson
2025-03-01 16:59   ` Dmitry Baryshkov
2025-02-28  0:26 ` [PATCH 1/2] arm64: dts: qcom: sa8775p: " Bjorn Andersson
2025-02-28  5:31   ` Yuvaraj Ranganathan
2025-02-28 14:14     ` Bjorn Andersson
2025-03-01 13:36       ` Krzysztof Kozlowski
2025-03-25  5:20         ` Yuvaraj Ranganathan [this message]
2025-03-25  7:30 ` Krzysztof Kozlowski
2025-03-26 17:40   ` Yuvaraj Ranganathan
2025-03-27  7:08     ` Krzysztof Kozlowski
2025-03-28  6:04       ` Yuvaraj Ranganathan
2025-03-28  7:17         ` Krzysztof Kozlowski
2025-03-28  8:32           ` Yuvaraj Ranganathan
2025-03-28  9:09             ` Krzysztof Kozlowski
2025-03-28 12:48         ` Dmitry Baryshkov
2025-03-29 12:08           ` Konrad Dybcio
2025-03-26 17:34 ` Dmitry Baryshkov

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=2bc16a4e-96d6-4175-a52c-e344115fc4ac@quicinc.com \
    --to=quic_yrangana@quicinc.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@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