Re: [PATCH v3 11/12] arm64: dts: qcom: sm8650: add hwkm support to ufs ice

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


On 12/8/2023 9:21 AM, Bjorn Andersson wrote:
On Tue, Nov 21, 2023 at 09:38:16PM -0800, Gaurav Kashyap wrote:
The Inline Crypto Engine (ICE) for UFS supports the
Hardware Key Manager (hwkm) to securely manage storage
keys. Enable using this hardware on sm8650.

I'm unable to understand why the size of the reg changes based on this


Actual size of register space size is 0x18000 (as per IPCAT). But all registers space are not used.

HWKM register offset is start at 0x8000. Hence needed to expand reg map size.

Signed-off-by: Gaurav Kashyap <quic_gaurkash@xxxxxxxxxxx>
  arch/arm64/boot/dts/qcom/sm8650.dtsi | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index bbebe15437aa..b61066210e09 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -763,7 +763,8 @@ rng: rng@10c3000 {
  		ice: crypto@1d88000 {
  			compatible = "qcom,sm8650-inline-crypto-engine",
-			reg = <0 0x01d88000 0 0x8000>;
+			reg = <0 0x01d88000 0 0x10000>;
+			qcom,ice-use-hwkm;
clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux