* [PATCH v4 1/2] dt-bindings: crypto: Correct Shikra QCE compatible hierarchy
2026-11-20 11:29 [PATCH v4 0/2] Shikra: Fix qce configuration Kuldeep Singh
@ 2026-11-20 11:29 ` Kuldeep Singh
2026-11-27 5:16 ` Herbert Xu
2026-11-20 11:29 ` [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
2026-12-01 5:22 ` [PATCH v4 0/2] Shikra: Fix qce configuration Kuldeep Singh
2 siblings, 1 reply; 8+ messages in thread
From: Kuldeep Singh @ 2026-11-20 11:29 UTC (permalink / raw)
To: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Abel Vesa
Cc: Kuldeep Singh, Bartosz Golaszewski, linux-crypto, linux-arm-msm,
devicetree, Konrad Dybcio, Krzysztof Kozlowski
Shikra QCE requires an explicit core clock, while the existing
"qcom,sm8150-qce" fallback allows the clock property to be omitted.
Shikra follows the same QCE clock requirements as QRB2210(agatti).
Update the Shikra fallback to "qcom,ipq4019-qce", which requires the
core clock to be specified.
Fixes: 45834ff95a6f ("dt-bindings: crypto: qcom-qce: Document the Shikra crypto engine")
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
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 related [flat|nested] 8+ messages in thread* Re: [PATCH v4 1/2] dt-bindings: crypto: Correct Shikra QCE compatible hierarchy
2026-11-20 11:29 ` [PATCH v4 1/2] dt-bindings: crypto: Correct Shikra QCE compatible hierarchy Kuldeep Singh
@ 2026-11-27 5:16 ` Herbert Xu
0 siblings, 0 replies; 8+ messages in thread
From: Herbert Xu @ 2026-11-27 5:16 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Bartosz Golaszewski, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Abel Vesa, Bartosz Golaszewski, linux-crypto, linux-arm-msm,
devicetree, Konrad Dybcio, Krzysztof Kozlowski
On Fri, Nov 20, 2026 at 04:59:52PM +0530, Kuldeep Singh wrote:
> Shikra QCE requires an explicit core clock, while the existing
> "qcom,sm8150-qce" fallback allows the clock property to be omitted.
>
> Shikra follows the same QCE clock requirements as QRB2210(agatti).
> Update the Shikra fallback to "qcom,ipq4019-qce", which requires the
> core clock to be specified.
>
> Fixes: 45834ff95a6f ("dt-bindings: crypto: qcom-qce: Document the Shikra crypto engine")
> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> 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(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-11-20 11:29 [PATCH v4 0/2] Shikra: Fix qce configuration Kuldeep Singh
2026-11-20 11:29 ` [PATCH v4 1/2] dt-bindings: crypto: Correct Shikra QCE compatible hierarchy Kuldeep Singh
@ 2026-11-20 11:29 ` Kuldeep Singh
2026-11-20 12:09 ` Abel Vesa
` (2 more replies)
2026-12-01 5:22 ` [PATCH v4 0/2] Shikra: Fix qce configuration Kuldeep Singh
2 siblings, 3 replies; 8+ messages in thread
From: Kuldeep Singh @ 2026-11-20 11:29 UTC (permalink / raw)
To: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Abel Vesa
Cc: Kuldeep Singh, Bartosz Golaszewski, linux-crypto, linux-arm-msm,
devicetree, Konrad Dybcio, Wenjia Zhang
Shikra QCE requires an explicit core clock, which is missing from the
current configuration. Adjust fallback compatible to "qcom,ipq4019-qce"
and specify core clock to match updated binding description.
Cryptobam is controlled remotely and its clocks are therefore managed by
remote crypto subsystem.
Fixes: 099cd05d200b ("arm64: dts: qcom: shikra: Add ICE, TRNG and QCE nodes")
Tested-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com> #on shikra device
Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/shikra.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index 0a95ad5a5582..bb9ef1dcd686 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -1208,7 +1208,7 @@ cryptobam: dma-controller@1b04000 {
};
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";
@@ -1222,6 +1222,8 @@ crypto: crypto@1b3a000 {
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 related [flat|nested] 8+ messages in thread* Re: [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-11-20 11:29 ` [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
@ 2026-11-20 12:09 ` Abel Vesa
2026-11-23 14:14 ` Bartosz Golaszewski
2026-11-26 14:34 ` Konrad Dybcio
2 siblings, 0 replies; 8+ messages in thread
From: Abel Vesa @ 2026-11-20 12:09 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Bartosz Golaszewski, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Abel Vesa, Bartosz Golaszewski, linux-crypto, linux-arm-msm,
devicetree, Konrad Dybcio, Wenjia Zhang
On 26-11-20 16:59:53, Kuldeep Singh wrote:
> Shikra QCE requires an explicit core clock, which is missing from the
> current configuration. Adjust fallback compatible to "qcom,ipq4019-qce"
> and specify core clock to match updated binding description.
>
> Cryptobam is controlled remotely and its clocks are therefore managed by
> remote crypto subsystem.
>
> Fixes: 099cd05d200b ("arm64: dts: qcom: shikra: Add ICE, TRNG and QCE nodes")
> Tested-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com> #on shikra device
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-11-20 11:29 ` [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
2026-11-20 12:09 ` Abel Vesa
@ 2026-11-23 14:14 ` Bartosz Golaszewski
2026-11-26 14:34 ` Konrad Dybcio
2 siblings, 0 replies; 8+ messages in thread
From: Bartosz Golaszewski @ 2026-11-23 14:14 UTC (permalink / raw)
To: Kuldeep Singh
Cc: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Bartosz Golaszewski, linux-crypto, linux-arm-msm, devicetree,
Konrad Dybcio, Wenjia Zhang
On Fri, Nov 20, 2026 at 04:59:53PM +0530, Kuldeep Singh wrote:
> Shikra QCE requires an explicit core clock, which is missing from the
> current configuration. Adjust fallback compatible to "qcom,ipq4019-qce"
> and specify core clock to match updated binding description.
>
> Cryptobam is controlled remotely and its clocks are therefore managed by
> remote crypto subsystem.
>
> Fixes: 099cd05d200b ("arm64: dts: qcom: shikra: Add ICE, TRNG and QCE nodes")
> Tested-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com> #on shikra device
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
> ---
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration
2026-11-20 11:29 ` [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
2026-11-20 12:09 ` Abel Vesa
2026-11-23 14:14 ` Bartosz Golaszewski
@ 2026-11-26 14:34 ` Konrad Dybcio
2 siblings, 0 replies; 8+ messages in thread
From: Konrad Dybcio @ 2026-11-26 14:34 UTC (permalink / raw)
To: Kuldeep Singh, Bartosz Golaszewski, Herbert Xu, David S. Miller,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Abel Vesa
Cc: Bartosz Golaszewski, linux-crypto, linux-arm-msm, devicetree,
Wenjia Zhang
On 11/20/26 12:29 PM, Kuldeep Singh wrote:
> Shikra QCE requires an explicit core clock, which is missing from the
> current configuration. Adjust fallback compatible to "qcom,ipq4019-qce"
> and specify core clock to match updated binding description.
>
> Cryptobam is controlled remotely and its clocks are therefore managed by
> remote crypto subsystem.
>
> Fixes: 099cd05d200b ("arm64: dts: qcom: shikra: Add ICE, TRNG and QCE nodes")
> Tested-by: Wenjia Zhang <wenjia.zhang@oss.qualcomm.com> #on shikra device
> Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 0/2] Shikra: Fix qce configuration
2026-11-20 11:29 [PATCH v4 0/2] Shikra: Fix qce configuration Kuldeep Singh
2026-11-20 11:29 ` [PATCH v4 1/2] dt-bindings: crypto: Correct Shikra QCE compatible hierarchy Kuldeep Singh
2026-11-20 11:29 ` [PATCH v4 2/2] arm64: dts: qcom: shikra: Correct QCE node configuration Kuldeep Singh
@ 2026-12-01 5:22 ` Kuldeep Singh
2 siblings, 0 replies; 8+ messages in thread
From: Kuldeep Singh @ 2026-12-01 5:22 UTC (permalink / raw)
To: Herbert Xu, Bjorn Andersson
Cc: Bartosz Golaszewski, linux-crypto, linux-arm-msm, devicetree,
Konrad Dybcio, Krzysztof Kozlowski, Wenjia Zhang,
Bartosz Golaszewski, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio, Abel Vesa
On 20-11-2026 16:59, Kuldeep Singh wrote:
> Herbert/Bjorn,
> This patch series fixes QCE on Shikra and targetted for v7.4.
> Shikra crypto qce binding was consumed in v7.3 but DTS node got merged
> in v7.4-rc1. It's important to merge this fix in v7.4 to avoid breaking
> backward compatibility.
> This series updates shikra fallback compatible and hence, both patches
> should go from same tree to pass make dtbs_check otherwise patches from
> individual tree will break dtbs_check checker. If dtbs_checker is not
> blocker, then patches can go from individual tree.
>
> Bjorn, will you be able to pick both?
Hi Bjorn,
Can you please help in picking dt-binding and DT change through your
tree as there's dependency and both are R-b too.
Picking just binding change is making dtbs checker fail[1].
[1]
https://lore.kernel.org/oe-kbuild-all/202409291949.Ryb99sXg-lkp@intel.com/
--
Regards
Kuldeep
^ permalink raw reply [flat|nested] 8+ messages in thread