Patch "arm64: dts: qcom: sc7280: Add static properties to cryptobam" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: qcom: sc7280: Add static properties to cryptobam

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-qcom-sc7280-add-static-properties-to-crypt.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a400f2cc86d63dcac97efdc349bd088b7dea7890
Author: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
Date:   Fri Dec 29 09:51:37 2023 +0100

    arm64: dts: qcom: sc7280: Add static properties to cryptobam
    
    [ Upstream commit 40ec6a2817d927367461fb0335b42b0d494ff927 ]
    
    When the properties num-channels & qcom,num-ees are not specified, the
    driver tries to read the values from registers, but this read fails and
    resets the device if the interconnect from the qcom,qce node is not
    already active when that happens.
    
    Add the static properties to not touch any registers during probe, the
    rest of the time when the BAM is used by QCE then the interconnect will
    be active already.
    
    Fixes: d488f903a860 ("arm64: dts: qcom: sc7280: add QCrypto nodes")
    Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231229-sc7280-cryptobam-fixup-v1-1-bd8f68589b80@xxxxxxxxxxxxx
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 83b5b76ba1794..ce0d24ee7eedb 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -2345,6 +2345,8 @@ cryptobam: dma-controller@1dc4000 {
 				 <&apps_smmu 0x4e6 0x0011>;
 			qcom,ee = <0>;
 			qcom,controlled-remotely;
+			num-channels = <16>;
+			qcom,num-ees = <4>;
 		};
 
 		crypto: crypto@1dfa000 {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux