mbox series

[V1,0/3] Add support for multiple ICE algorithms

Message ID 20241005064307.18972-1-quic_rdwivedi@quicinc.com (mailing list archive)
Headers show
Series Add support for multiple ICE algorithms | expand

Message

Ram Kumar Dwivedi Oct. 5, 2024, 6:43 a.m. UTC
Add support for ICE algorithms for Qualcomm UFS V5.0 and above,
which uses a pool of crypto cores for TX stream (UFS Write – 
Encryption) and RX stream (UFS Read – Decryption).

Using these algorithms, crypto cores can be dynamically allocated
to either RX stream or TX stream based on algorithm selected.
Qualcomm UFS controller supports three ICE algorithms:
Floor based algorithm, Static Algorithm and Instantaneous algorithm
to share crypto cores between TX and RX stream.

Floor Based allocation is selected by default after power On or Reset.

Ram Kumar Dwivedi (3):
  dt-bindings: ufs: qcom: Document ice configuration table
  arm64: dts: qcom: sm8650: Add ICE algorithm entries
  scsi: ufs: qcom: Add support for multiple ICE algorithms

 .../devicetree/bindings/ufs/qcom,ufs.yaml     |  24 ++
 arch/arm64/boot/dts/qcom/sm8650.dtsi          |  19 ++
 drivers/ufs/host/ufs-qcom.c                   | 232 ++++++++++++++++++
 drivers/ufs/host/ufs-qcom.h                   |  38 ++-
 4 files changed, 312 insertions(+), 1 deletion(-)