devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
@ 2025-02-27 18:08 Yuvaraj Ranganathan
  2025-02-27 18:08 ` [PATCH 2/2] arm64: dts: qcom: qcs8300: " Yuvaraj Ranganathan
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-02-27 18:08 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, quic_yrangana

The initial QCE node change is reverted by the following patch 
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.

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


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto node
  2025-02-27 18:08 [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node Yuvaraj Ranganathan
@ 2025-02-27 18:08 ` 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
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-02-27 18:08 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, quic_yrangana

The initial QCE node change is reverted by the following patch
https://lore.kernel.org/all/20250128115333.95021-2-krzysztof.kozlowski@linaro.org/
because of the build warning,

  qcs8300-ride.dtb: crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
    ...
    'qcom,qcs8300-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']

1. ICE crypto node is not sorted and fix to sort it.
2. Add the QCE node back that fix the above warning.

Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcs8300.dtsi | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index 13b1121cdf17..0ee0539a22e8 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -785,6 +785,13 @@ ufs_mem_phy: phy@1d87000 {
 			status = "disabled";
 		};
 
+		ice: crypto@1d88000 {
+			compatible = "qcom,qcs8300-inline-crypto-engine",
+				     "qcom,inline-crypto-engine";
+			reg = <0x0 0x01d88000 0x0 0x18000>;
+			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+		};
+
 		cryptobam: dma-controller@1dc4000 {
 			compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
 			reg = <0x0 0x01dc4000 0x0 0x28000>;
@@ -798,11 +805,16 @@ cryptobam: dma-controller@1dc4000 {
 				 <&apps_smmu 0x481 0x00>;
 		};
 
-		ice: crypto@1d88000 {
-			compatible = "qcom,qcs8300-inline-crypto-engine",
-				     "qcom,inline-crypto-engine";
-			reg = <0x0 0x01d88000 0x0 0x18000>;
-			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+		crypto: crypto@1dfa000 {
+			compatible = "qcom,qcs8300-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 QCOM_ICC_TAG_ALWAYS
+					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+			interconnect-names = "memory";
 		};
 
 		tcsr_mutex: hwlock@1f40000 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  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:26 ` Bjorn Andersson
  2025-02-28  5:31   ` Yuvaraj Ranganathan
  2025-03-25  7:30 ` Krzysztof Kozlowski
  2025-03-26 17:34 ` Dmitry Baryshkov
  3 siblings, 1 reply; 19+ messages in thread
From: Bjorn Andersson @ 2025-02-28  0:26 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel

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
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto node
  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
  1 sibling, 0 replies; 19+ messages in thread
From: Bjorn Andersson @ 2025-02-28  0:28 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel

On Thu, Feb 27, 2025 at 11:38:17PM +0530, Yuvaraj Ranganathan wrote:
> The initial QCE node change is reverted by the following patch
> https://lore.kernel.org/all/20250128115333.95021-2-krzysztof.kozlowski@linaro.org/
> because of the build warning,
> 
>   qcs8300-ride.dtb: crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
>     ...
>     'qcom,qcs8300-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
> 
> 1. ICE crypto node is not sorted and fix to sort it.
> 2. Add the QCE node back that fix the above warning.
> 

Please put that in two patches. Please also adjust the language as
requested in patch 1.

Thanks,
Bjorn

> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/qcs8300.dtsi | 22 +++++++++++++++++-----
>  1 file changed, 17 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> index 13b1121cdf17..0ee0539a22e8 100644
> --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
> @@ -785,6 +785,13 @@ ufs_mem_phy: phy@1d87000 {
>  			status = "disabled";
>  		};
>  
> +		ice: crypto@1d88000 {
> +			compatible = "qcom,qcs8300-inline-crypto-engine",
> +				     "qcom,inline-crypto-engine";
> +			reg = <0x0 0x01d88000 0x0 0x18000>;
> +			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
> +		};
> +
>  		cryptobam: dma-controller@1dc4000 {
>  			compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
>  			reg = <0x0 0x01dc4000 0x0 0x28000>;
> @@ -798,11 +805,16 @@ cryptobam: dma-controller@1dc4000 {
>  				 <&apps_smmu 0x481 0x00>;
>  		};
>  
> -		ice: crypto@1d88000 {
> -			compatible = "qcom,qcs8300-inline-crypto-engine",
> -				     "qcom,inline-crypto-engine";
> -			reg = <0x0 0x01d88000 0x0 0x18000>;
> -			clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
> +		crypto: crypto@1dfa000 {
> +			compatible = "qcom,qcs8300-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 QCOM_ICC_TAG_ALWAYS
> +					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
> +			interconnect-names = "memory";
>  		};
>  
>  		tcsr_mutex: hwlock@1f40000 {
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  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
  0 siblings, 1 reply; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-02-28  5:31 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel

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.

Thanks,
Yuvaraj.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-02-28  5:31   ` Yuvaraj Ranganathan
@ 2025-02-28 14:14     ` Bjorn Andersson
  2025-03-01 13:36       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 19+ messages in thread
From: Bjorn Andersson @ 2025-02-28 14:14 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel

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!

Regards,
Bjorn

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-02-28 14:14     ` Bjorn Andersson
@ 2025-03-01 13:36       ` Krzysztof Kozlowski
  2025-03-25  5:20         ` Yuvaraj Ranganathan
  0 siblings, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-01 13:36 UTC (permalink / raw)
  To: Bjorn Andersson, Yuvaraj Ranganathan
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: qcs8300: add QCrypto node
  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
  1 sibling, 0 replies; 19+ messages in thread
From: Dmitry Baryshkov @ 2025-03-01 16:59 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel

On Thu, Feb 27, 2025 at 11:38:17PM +0530, Yuvaraj Ranganathan wrote:
> The initial QCE node change is reverted by the following patch
> https://lore.kernel.org/all/20250128115333.95021-2-krzysztof.kozlowski@linaro.org/
> because of the build warning,
> 
>   qcs8300-ride.dtb: crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
>     ...
>     'qcom,qcs8300-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
> 
> 1. ICE crypto node is not sorted and fix to sort it.
> 2. Add the QCE node back that fix the above warning.

Two issues. Two commits. Pretty simple.

> 
> Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/qcs8300.dtsi | 22 +++++++++++++++++-----
>  1 file changed, 17 insertions(+), 5 deletions(-)
-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-01 13:36       ` Krzysztof Kozlowski
@ 2025-03-25  5:20         ` Yuvaraj Ranganathan
  0 siblings, 0 replies; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-03-25  5:20 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-msm, devicetree, linux-kernel



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.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  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:26 ` [PATCH 1/2] arm64: dts: qcom: sa8775p: " Bjorn Andersson
@ 2025-03-25  7:30 ` Krzysztof Kozlowski
  2025-03-26 17:40   ` Yuvaraj Ranganathan
  2025-03-26 17:34 ` Dmitry Baryshkov
  3 siblings, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-25  7:30 UTC (permalink / raw)
  To: Yuvaraj Ranganathan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 27/02/2025 19:08, Yuvaraj Ranganathan wrote:
> The initial QCE node change is reverted by the following patch 
> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/

Use commit SHA syntax (see submitting patches, checkpatch).

> 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']

Not relevant warning.



Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-02-27 18:08 [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node Yuvaraj Ranganathan
                   ` (2 preceding siblings ...)
  2025-03-25  7:30 ` Krzysztof Kozlowski
@ 2025-03-26 17:34 ` Dmitry Baryshkov
  3 siblings, 0 replies; 19+ messages in thread
From: Dmitry Baryshkov @ 2025-03-26 17:34 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel

On Thu, Feb 27, 2025 at 11:38:16PM +0530, Yuvaraj Ranganathan wrote:
> The initial QCE node change is reverted by the following patch 
> 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.
> 
> 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>;

QCOM_ICC_TAG_ALWAYS

> +			interconnect-names = "memory";
> +		};
> +
>  		stm: stm@4002000 {
>  			compatible = "arm,coresight-stm", "arm,primecell";
>  			reg = <0x0 0x4002000 0x0 0x1000>,
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-25  7:30 ` Krzysztof Kozlowski
@ 2025-03-26 17:40   ` Yuvaraj Ranganathan
  2025-03-27  7:08     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-03-26 17:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 3/25/2025 1:00 PM, Krzysztof Kozlowski wrote:
> On 27/02/2025 19:08, Yuvaraj Ranganathan wrote:
>> The initial QCE node change is reverted by the following patch 
>> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
> 
> Use commit SHA syntax (see submitting patches, checkpatch).
> 
>> 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']
> 
> Not relevant warning.
> 
> 
> 
> Best regards,
> Krzysztof

Are you saying this is not the warning seen at merging?

Thanks,
Yuvaraj.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-26 17:40   ` Yuvaraj Ranganathan
@ 2025-03-27  7:08     ` Krzysztof Kozlowski
  2025-03-28  6:04       ` Yuvaraj Ranganathan
  0 siblings, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-27  7:08 UTC (permalink / raw)
  To: Yuvaraj Ranganathan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 26/03/2025 18:40, Yuvaraj Ranganathan wrote:
> On 3/25/2025 1:00 PM, Krzysztof Kozlowski wrote:
>> On 27/02/2025 19:08, Yuvaraj Ranganathan wrote:
>>> The initial QCE node change is reverted by the following patch 
>>> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
>>
>> Use commit SHA syntax (see submitting patches, checkpatch).
>>
>>> 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']
>>
>> Not relevant warning.
>>
>>
>>
>> Best regards,
>> Krzysztof
> 
> Are you saying this is not the warning seen at merging?
Tell me how it is relevant? Tell me how can I reproduce it.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-27  7:08     ` Krzysztof Kozlowski
@ 2025-03-28  6:04       ` Yuvaraj Ranganathan
  2025-03-28  7:17         ` Krzysztof Kozlowski
  2025-03-28 12:48         ` Dmitry Baryshkov
  0 siblings, 2 replies; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-03-28  6:04 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel



On 3/27/2025 12:38 PM, Krzysztof Kozlowski wrote:
> On 26/03/2025 18:40, Yuvaraj Ranganathan wrote:
>> On 3/25/2025 1:00 PM, Krzysztof Kozlowski wrote:
>>> On 27/02/2025 19:08, Yuvaraj Ranganathan wrote:
>>>> The initial QCE node change is reverted by the following patch 
>>>> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
>>>
>>> Use commit SHA syntax (see submitting patches, checkpatch).
>>>
>>>> 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']
>>>
>>> Not relevant warning.
>>>
>>>
>>>
>>> Best regards,
>>> Krzysztof
>>
>> Are you saying this is not the warning seen at merging?
> Tell me how it is relevant? Tell me how can I reproduce it.
> 
> Best regards,
> Krzysztof

Below commands will show the above warnings without the fix,
make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1

Thanks,
Yuvaraj.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-28  6:04       ` Yuvaraj Ranganathan
@ 2025-03-28  7:17         ` Krzysztof Kozlowski
  2025-03-28  8:32           ` Yuvaraj Ranganathan
  2025-03-28 12:48         ` Dmitry Baryshkov
  1 sibling, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-28  7:17 UTC (permalink / raw)
  To: Yuvaraj Ranganathan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 28/03/2025 07:04, Yuvaraj Ranganathan wrote:
>>>> Use commit SHA syntax (see submitting patches, checkpatch).
>>>>
>>>>> 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']
>>>>
>>>> Not relevant warning.
>>>>
>>>>
>>>>
>>>> Best regards,
>>>> Krzysztof
>>>
>>> Are you saying this is not the warning seen at merging?
>> Tell me how it is relevant? Tell me how can I reproduce it.
>>
>> Best regards,
>> Krzysztof
> 
> Below commands will show the above warnings without the fix,
> make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
> make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1

As I suspected, not possible to reproduce.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-28  7:17         ` Krzysztof Kozlowski
@ 2025-03-28  8:32           ` Yuvaraj Ranganathan
  2025-03-28  9:09             ` Krzysztof Kozlowski
  0 siblings, 1 reply; 19+ messages in thread
From: Yuvaraj Ranganathan @ 2025-03-28  8:32 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel



On 3/28/2025 12:47 PM, Krzysztof Kozlowski wrote:
> On 28/03/2025 07:04, Yuvaraj Ranganathan wrote:
>>>>> Use commit SHA syntax (see submitting patches, checkpatch).
>>>>>
>>>>>> 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']
>>>>>
>>>>> Not relevant warning.
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Krzysztof
>>>>
>>>> Are you saying this is not the warning seen at merging?
>>> Tell me how it is relevant? Tell me how can I reproduce it.
>>>
>>> Best regards,
>>> Krzysztof
>>
>> Below commands will show the above warnings without the fix,
>> make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
>> make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1
> 
> As I suspected, not possible to reproduce.
> 
> Best regards,
> Krzysztof

I'm able to reproduce without this fix, I hope you are discussing about
this failure only,

	from schema $id:
http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml#
/local/mnt/workspace/K2L/upstream-kernel/linux-tree/arch/arm64/boot/dts/qcom/qcs9100-ride.dtb:
crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
	['qcom,sa8775p-qce', 'qcom,qce'] is too long
	['qcom,sa8775p-qce', 'qcom,qce'] is too short
	'qcom,crypto-v5.1' was expected
	'qcom,crypto-v5.4' was expected
	'qcom,sa8775p-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
	'qcom,sa8775p-qce' is not one of ['qcom,ipq6018-qce',
'qcom,ipq8074-qce', 'qcom,ipq9574-qce', 'qcom,msm8996-qce',
'qcom,qcm2290-qce', 'qcom,sdm845-qce', 'qcom,sm6115-qce']
	'qcom,ipq4019-qce' was expected
	'qcom,sm8150-qce' was expected

Thanks,
Yuvaraj.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-28  8:32           ` Yuvaraj Ranganathan
@ 2025-03-28  9:09             ` Krzysztof Kozlowski
  0 siblings, 0 replies; 19+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-28  9:09 UTC (permalink / raw)
  To: Yuvaraj Ranganathan, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 28/03/2025 09:32, Yuvaraj Ranganathan wrote:
> 
> 
> On 3/28/2025 12:47 PM, Krzysztof Kozlowski wrote:
>> On 28/03/2025 07:04, Yuvaraj Ranganathan wrote:
>>>>>> Use commit SHA syntax (see submitting patches, checkpatch).
>>>>>>
>>>>>>> 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']
>>>>>>
>>>>>> Not relevant warning.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Best regards,
>>>>>> Krzysztof
>>>>>
>>>>> Are you saying this is not the warning seen at merging?
>>>> Tell me how it is relevant? Tell me how can I reproduce it.
>>>>
>>>> Best regards,
>>>> Krzysztof
>>>
>>> Below commands will show the above warnings without the fix,
>>> make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
>>> make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1
>>
>> As I suspected, not possible to reproduce.
>>
>> Best regards,
>> Krzysztof
> 
> I'm able to reproduce without this fix, I hope you are discussing about
> this failure only,
> 
> 	from schema $id:
> http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml#
I suspect you work on outdated tree. I followed your instructions on my
tree (you did not specify which) and did not see these errors.

I bet you reply now third time, without any more details claiming the
same but it's just waste of my time.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-28  6:04       ` Yuvaraj Ranganathan
  2025-03-28  7:17         ` Krzysztof Kozlowski
@ 2025-03-28 12:48         ` Dmitry Baryshkov
  2025-03-29 12:08           ` Konrad Dybcio
  1 sibling, 1 reply; 19+ messages in thread
From: Dmitry Baryshkov @ 2025-03-28 12:48 UTC (permalink / raw)
  To: Yuvaraj Ranganathan
  Cc: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
	linux-kernel

On Fri, Mar 28, 2025 at 11:34:58AM +0530, Yuvaraj Ranganathan wrote:
> 
> 
> On 3/27/2025 12:38 PM, Krzysztof Kozlowski wrote:
> > On 26/03/2025 18:40, Yuvaraj Ranganathan wrote:
> >> On 3/25/2025 1:00 PM, Krzysztof Kozlowski wrote:
> >>> On 27/02/2025 19:08, Yuvaraj Ranganathan wrote:
> >>>> The initial QCE node change is reverted by the following patch 
> >>>> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
> >>>
> >>> Use commit SHA syntax (see submitting patches, checkpatch).
> >>>
> >>>> 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']
> >>>
> >>> Not relevant warning.
> >>>
> >>>
> >>>
> >>> Best regards,
> >>> Krzysztof
> >>
> >> Are you saying this is not the warning seen at merging?
> > Tell me how it is relevant? Tell me how can I reproduce it.
> > 
> > Best regards,
> > Krzysztof
> 
> Below commands will show the above warnings without the fix,
> make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
> make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1

You are probably running those commands on a tree where the patch was
not reverted. That's useless. Please update your patches to stop
mentioning the (outdated) warning and just describe your changes (i.e.
adding the QCE nodes, you are not fixing any warnings with your change).

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node
  2025-03-28 12:48         ` Dmitry Baryshkov
@ 2025-03-29 12:08           ` Konrad Dybcio
  0 siblings, 0 replies; 19+ messages in thread
From: Konrad Dybcio @ 2025-03-29 12:08 UTC (permalink / raw)
  To: Dmitry Baryshkov, Yuvaraj Ranganathan
  Cc: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
	linux-kernel

On 3/28/25 1:48 PM, Dmitry Baryshkov wrote:
> On Fri, Mar 28, 2025 at 11:34:58AM +0530, Yuvaraj Ranganathan wrote:
>>
>>
>> On 3/27/2025 12:38 PM, Krzysztof Kozlowski wrote:
>>> On 26/03/2025 18:40, Yuvaraj Ranganathan wrote:
>>>> On 3/25/2025 1:00 PM, Krzysztof Kozlowski wrote:
>>>>> On 27/02/2025 19:08, Yuvaraj Ranganathan wrote:
>>>>>> The initial QCE node change is reverted by the following patch 
>>>>>> https://lore.kernel.org/all/20250128115333.95021-1-krzysztof.kozlowski@linaro.org/
>>>>>
>>>>> Use commit SHA syntax (see submitting patches, checkpatch).
>>>>>
>>>>>> 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']
>>>>>
>>>>> Not relevant warning.
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Krzysztof
>>>>
>>>> Are you saying this is not the warning seen at merging?
>>> Tell me how it is relevant? Tell me how can I reproduce it.
>>>
>>> Best regards,
>>> Krzysztof
>>
>> Below commands will show the above warnings without the fix,
>> make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
>> make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1
> 
> You are probably running those commands on a tree where the patch was
> not reverted. That's useless. Please update your patches to stop
> mentioning the (outdated) warning and just describe your changes (i.e.
> adding the QCE nodes, you are not fixing any warnings with your change).

(please use linux-next/master unless asked otherwise)

Konrad

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-03-29 12:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).