* [PATCH v6 1/2] dt-bindings: crypto: Adjust Shikra compatible hierarchy
2026-09-07 12:03 [PATCH v6 0/2] Shikra: Support for QCE Kuldeep Singh
@ 2026-09-07 12:03 ` Kuldeep Singh
2026-09-07 13:45 ` Bartosz Golaszewski
2026-09-07 12:03 ` [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
2026-09-07 13:46 ` [PATCH v6 0/2] Shikra: Support for QCE Bartosz Golaszewski
2 siblings, 1 reply; 11+ messages in thread
From: Kuldeep Singh @ 2026-09-07 12:03 UTC (permalink / raw)
To: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio
Cc: Kuldeep Singh, Krzysztof Kozlowski, Bartosz Golaszewski,
linux-arm-msm, linux-crypto, devicetree, linux-kernel
Shikra reuses the same QCE integration as Agatti and should follow the
corresponding binding requirements too.
Move the Shikra compatible to the appropriate binding hierarchy
(matching qcom,qcm2290-qce) to reflect the underlying hardware
description.
Fixes: 45834ff95a6f ("dt-bindings: crypto: qcom-qce: Document the Shikra crypto engine")
Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
---
Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
index 5a653757ee75..fcf725bfa36b 100644
--- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
@@ -39,6 +39,7 @@ properties:
- qcom,msm8996-qce
- qcom,qcm2290-qce
- qcom,sdm845-qce
+ - qcom,shikra-qce
- qcom,sm6115-qce
- const: qcom,ipq4019-qce
- const: qcom,qce
@@ -54,7 +55,6 @@ properties:
- qcom,qcs8300-qce
- qcom,sa8775p-qce
- qcom,sc7280-qce
- - qcom,shikra-qce
- qcom,sm6350-qce
- qcom,sm8250-qce
- qcom,sm8350-qce
@@ -133,6 +133,7 @@ allOf:
contains:
enum:
- qcom,qcm2290-qce
+ - qcom,shikra-qce
- qcom,sm6115-qce
then:
properties:
--
2.34.1
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH v6 1/2] dt-bindings: crypto: Adjust Shikra compatible hierarchy
2026-09-07 12:03 ` [PATCH v6 1/2] dt-bindings: crypto: Adjust Shikra compatible hierarchy Kuldeep Singh
@ 2026-09-07 13:45 ` Bartosz Golaszewski
0 siblings, 0 replies; 11+ messages in thread
From: Bartosz Golaszewski @ 2026-09-07 13:45 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Krzysztof Kozlowski, Bartosz Golaszewski,
linux-arm-msm, linux-crypto, devicetree, linux-kernel
On Mon, 7 Sep 2026 14:03:36 +0200, Kuldeep Singh
<kuldeep.singh@oss.qualcomm.com> said:
> Shikra reuses the same QCE integration as Agatti and should follow the
> corresponding binding requirements too.
>
> Move the Shikra compatible to the appropriate binding hierarchy
> (matching qcom,qcm2290-qce) to reflect the underlying hardware
> description.
>
> Fixes: 45834ff95a6f ("dt-bindings: crypto: qcom-qce: Document the Shikra crypto engine")
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
> index 5a653757ee75..fcf725bfa36b 100644
> --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
> +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
> @@ -39,6 +39,7 @@ properties:
> - qcom,msm8996-qce
> - qcom,qcm2290-qce
> - qcom,sdm845-qce
> + - qcom,shikra-qce
> - qcom,sm6115-qce
> - const: qcom,ipq4019-qce
> - const: qcom,qce
> @@ -54,7 +55,6 @@ properties:
> - qcom,qcs8300-qce
> - qcom,sa8775p-qce
> - qcom,sc7280-qce
> - - qcom,shikra-qce
> - qcom,sm6350-qce
> - qcom,sm8250-qce
> - qcom,sm8350-qce
> @@ -133,6 +133,7 @@ allOf:
> contains:
> enum:
> - qcom,qcm2290-qce
> + - qcom,shikra-qce
> - qcom,sm6115-qce
> then:
> properties:
>
> --
> 2.34.1
>
>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Note: Shikra changes have not been released yet so this doesn't break anything.
Bart
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-09-07 12:03 [PATCH v6 0/2] Shikra: Support for QCE Kuldeep Singh
2026-09-07 12:03 ` [PATCH v6 1/2] dt-bindings: crypto: Adjust Shikra compatible hierarchy Kuldeep Singh
@ 2026-09-07 12:03 ` Kuldeep Singh
2026-09-07 13:31 ` Abel Vesa
2026-09-08 2:51 ` Wenjia Zhang
2026-09-07 13:46 ` [PATCH v6 0/2] Shikra: Support for QCE Bartosz Golaszewski
2 siblings, 2 replies; 11+ messages in thread
From: Kuldeep Singh @ 2026-09-07 12:03 UTC (permalink / raw)
To: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio
Cc: Kuldeep Singh, Krzysztof Kozlowski, Bartosz Golaszewski,
linux-arm-msm, linux-crypto, devicetree, linux-kernel
Shikra is derived from Agatti and uses the same QCE integration.
Update the QCE node to match the underlying hardware implementation by
adjusting the fallback compatible and related properties, including
clocks and clock-names.
Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/shikra.dtsi | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index c1f06f692f66..30c7cabc058a 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -1075,10 +1075,12 @@ cryptobam: dma-controller@1b04000 {
qcom,controlled-remotely;
num-channels = <16>;
qcom,num-ees = <4>;
+ clocks = <&rpmcc RPM_SMD_CE1_CLK>;
+ clock-names = "bam_clk";
};
crypto: crypto@1b3a000 {
- compatible = "qcom,shikra-qce", "qcom,sm8150-qce", "qcom,qce";
+ compatible = "qcom,shikra-qce", "qcom,ipq4019-qce", "qcom,qce";
reg = <0x0 0x01b3a000 0x0 0x6000>;
dmas = <&cryptobam 4>, <&cryptobam 5>;
dma-names = "rx", "tx";
@@ -1089,9 +1091,8 @@ crypto: crypto@1b3a000 {
<&apps_smmu 0x96 0x0011>,
<&apps_smmu 0x98 0x0001>,
<&apps_smmu 0x9f 0x0>;
- interconnects = <&system_noc MASTER_CRYPTO_CORE0 0
- &mc_virt SLAVE_EBI_CH0 0>;
- interconnect-names = "memory";
+ clocks = <&rpmcc RPM_SMD_CE1_CLK>;
+ clock-names = "core";
};
qfprom: efuse@1b44000 {
--
2.34.1
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-09-07 12:03 ` [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
@ 2026-09-07 13:31 ` Abel Vesa
2026-09-07 13:39 ` Kuldeep Singh
2026-09-08 2:51 ` Wenjia Zhang
1 sibling, 1 reply; 11+ messages in thread
From: Abel Vesa @ 2026-09-07 13:31 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Krzysztof Kozlowski, Bartosz Golaszewski,
linux-arm-msm, linux-crypto, devicetree, linux-kernel
On 26-09-07 17:33:37, Kuldeep Singh wrote:
> Shikra is derived from Agatti and uses the same QCE integration.
> Update the QCE node to match the underlying hardware implementation by
> adjusting the fallback compatible and related properties, including
> clocks and clock-names.
>
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
No fixes tag ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-09-07 13:31 ` Abel Vesa
@ 2026-09-07 13:39 ` Kuldeep Singh
2026-09-07 13:44 ` Bartosz Golaszewski
0 siblings, 1 reply; 11+ messages in thread
From: Kuldeep Singh @ 2026-09-07 13:39 UTC (permalink / raw)
To: Abel Vesa
Cc: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Krzysztof Kozlowski, Bartosz Golaszewski,
linux-arm-msm, linux-crypto, devicetree, linux-kernel
On 07-09-2026 19:01, Abel Vesa wrote:
> On 26-09-07 17:33:37, Kuldeep Singh wrote:
>> Shikra is derived from Agatti and uses the same QCE integration.
>> Update the QCE node to match the underlying hardware implementation by
>> adjusting the fallback compatible and related properties, including
>> clocks and clock-names.
>>
>> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
>
> No fixes tag ?
I was having confusion so didn't add it.
The parent change is in linux-next branch and not in torvalds tree
currently.
Shall i update Fixes tag based on linux-next commit only? or not needed
at all?
--
Regards
Kuldeep
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-09-07 13:39 ` Kuldeep Singh
@ 2026-09-07 13:44 ` Bartosz Golaszewski
2026-09-07 13:51 ` Kuldeep Singh
0 siblings, 1 reply; 11+ messages in thread
From: Bartosz Golaszewski @ 2026-09-07 13:44 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Krzysztof Kozlowski, Bartosz Golaszewski,
linux-arm-msm, linux-crypto, devicetree, linux-kernel, Abel Vesa
On Mon, 7 Sep 2026 15:39:10 +0200, Kuldeep Singh
<kuldeep.singh@oss.qualcomm.com> said:
> On 07-09-2026 19:01, Abel Vesa wrote:
>> On 26-09-07 17:33:37, Kuldeep Singh wrote:
>>> Shikra is derived from Agatti and uses the same QCE integration.
>>> Update the QCE node to match the underlying hardware implementation by
>>> adjusting the fallback compatible and related properties, including
>>> clocks and clock-names.
>>>
>>> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
>>
>> No fixes tag ?
>
> I was having confusion so didn't add it.
>
> The parent change is in linux-next branch and not in torvalds tree
> currently.
> Shall i update Fixes tag based on linux-next commit only? or not needed
> at all?
>
It still makes sense to add Fixes tag even if it's targetting the next cycle
and fixing an issue queued for v7.4.
Thanks,
Bart
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-09-07 13:44 ` Bartosz Golaszewski
@ 2026-09-07 13:51 ` Kuldeep Singh
0 siblings, 0 replies; 11+ messages in thread
From: Kuldeep Singh @ 2026-09-07 13:51 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Krzysztof Kozlowski, Bartosz Golaszewski, linux-arm-msm,
linux-crypto, devicetree, linux-kernel, Abel Vesa
On 07-09-2026 19:14, Bartosz Golaszewski wrote:
> On Mon, 7 Sep 2026 15:39:10 +0200, Kuldeep Singh
> <kuldeep.singh@oss.qualcomm.com> said:
>> On 07-09-2026 19:01, Abel Vesa wrote:
>>> On 26-09-07 17:33:37, Kuldeep Singh wrote:
>>>> Shikra is derived from Agatti and uses the same QCE integration.
>>>> Update the QCE node to match the underlying hardware implementation by
>>>> adjusting the fallback compatible and related properties, including
>>>> clocks and clock-names.
>>>>
>>>> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
>>>
>>> No fixes tag ?
>>
>> I was having confusion so didn't add it.
>>
>> The parent change is in linux-next branch and not in torvalds tree
>> currently.
>> Shall i update Fixes tag based on linux-next commit only? or not needed
>> at all?
>>
>
> It still makes sense to add Fixes tag even if it's targetting the next cycle
> and fixing an issue queued for v7.4.
Sure, makes sense. Will update in next rev.
Fixes: 099cd05d200b ("arm64: dts: qcom: shikra: Add ICE, TRNG and QCE
nodes")
--
Regards
Kuldeep
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-09-07 12:03 ` [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
2026-09-07 13:31 ` Abel Vesa
@ 2026-09-08 2:51 ` Wenjia Zhang
1 sibling, 0 replies; 11+ messages in thread
From: Wenjia Zhang @ 2026-09-08 2:51 UTC (permalink / raw)
To: Kuldeep Singh, Bartosz Golaszewski, Herbert Xu, David S. Miller,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio
Cc: Krzysztof Kozlowski, Bartosz Golaszewski, linux-arm-msm,
linux-crypto, devicetree, linux-kernel
On 9/7/2026 8:03 PM, Kuldeep Singh wrote:
> Shikra is derived from Agatti and uses the same QCE integration.
> Update the QCE node to match the underlying hardware implementation by
> adjusting the fallback compatible and related properties, including
> clocks and clock-names.
>
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/shikra.dtsi | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
> index c1f06f692f66..30c7cabc058a 100644
> --- a/arch/arm64/boot/dts/qcom/shikra.dtsi
> +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
> @@ -1075,10 +1075,12 @@ cryptobam: dma-controller@1b04000 {
> qcom,controlled-remotely;
> num-channels = <16>;
> qcom,num-ees = <4>;
> + clocks = <&rpmcc RPM_SMD_CE1_CLK>;
> + clock-names = "bam_clk";
> };
>
> crypto: crypto@1b3a000 {
> - compatible = "qcom,shikra-qce", "qcom,sm8150-qce", "qcom,qce";
> + compatible = "qcom,shikra-qce", "qcom,ipq4019-qce", "qcom,qce";
> reg = <0x0 0x01b3a000 0x0 0x6000>;
> dmas = <&cryptobam 4>, <&cryptobam 5>;
> dma-names = "rx", "tx";
> @@ -1089,9 +1091,8 @@ crypto: crypto@1b3a000 {
> <&apps_smmu 0x96 0x0011>,
> <&apps_smmu 0x98 0x0001>,
> <&apps_smmu 0x9f 0x0>;
> - interconnects = <&system_noc MASTER_CRYPTO_CORE0 0
> - &mc_virt SLAVE_EBI_CH0 0>;
> - interconnect-names = "memory";
> + clocks = <&rpmcc RPM_SMD_CE1_CLK>;
> + clock-names = "core";
> };
>
> qfprom: efuse@1b44000 {
Tested-by: Wanjia Zhang <wenjia.zhang@oss.qualcomm.com> #on shikra device
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v6 0/2] Shikra: Support for QCE
2026-09-07 12:03 [PATCH v6 0/2] Shikra: Support for QCE Kuldeep Singh
2026-09-07 12:03 ` [PATCH v6 1/2] dt-bindings: crypto: Adjust Shikra compatible hierarchy Kuldeep Singh
2026-09-07 12:03 ` [PATCH v6 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
@ 2026-09-07 13:46 ` Bartosz Golaszewski
2026-09-08 5:39 ` Kuldeep Singh
2 siblings, 1 reply; 11+ messages in thread
From: Bartosz Golaszewski @ 2026-09-07 13:46 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Krzysztof Kozlowski, Bartosz Golaszewski, linux-arm-msm,
linux-crypto, devicetree, linux-kernel, Bartosz Golaszewski,
Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
On Mon, 7 Sep 2026 14:03:35 +0200, Kuldeep Singh
<kuldeep.singh@oss.qualcomm.com> said:
> This patch series enable QCE support on Shikra.
> Shikra is derived from agatti target and QCE was using different
> compatible configuration.
> Also, one more reason to update QCE is, clk-smd-rpm was doing proxy
> voting and crypto was consuming it. With proxy vote removal, qce need to
> vote for it's own clocks explicitly which is already being done for
> agatti target. Adapt same mechanism to Shikra QCE too.
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/qcom/agatti.dtsi#n889
>
This looks like a set of fixes to something that's already been queued, why
is this a v6 and not its own new series?
Bartosz
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v6 0/2] Shikra: Support for QCE
2026-09-07 13:46 ` [PATCH v6 0/2] Shikra: Support for QCE Bartosz Golaszewski
@ 2026-09-08 5:39 ` Kuldeep Singh
0 siblings, 0 replies; 11+ messages in thread
From: Kuldeep Singh @ 2026-09-08 5:39 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Krzysztof Kozlowski, Bartosz Golaszewski, linux-arm-msm,
linux-crypto, devicetree, linux-kernel, Herbert Xu,
David S. Miller, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio
On 07-09-2026 19:16, Bartosz Golaszewski wrote:
> On Mon, 7 Sep 2026 14:03:35 +0200, Kuldeep Singh
> <kuldeep.singh@oss.qualcomm.com> said:
>> This patch series enable QCE support on Shikra.
>> Shikra is derived from agatti target and QCE was using different
>> compatible configuration.
>> Also, one more reason to update QCE is, clk-smd-rpm was doing proxy
>> voting and crypto was consuming it. With proxy vote removal, qce need to
>> vote for it's own clocks explicitly which is already being done for
>> agatti target. Adapt same mechanism to Shikra QCE too.
>> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/qcom/agatti.dtsi#n889
>>
>
> This looks like a set of fixes to something that's already been queued, why
> is this a v6 and not its own new series?
Umm, both commits are having fixes tag so indeed it should be new
series. I'll collect feedback on current patchsets and send v1 version
next time.
--
Regards
Kuldeep
^ permalink raw reply [flat|nested] 11+ messages in thread