[PATCH v4 0/3] scsi: ufs: Add crypto_keyslot_remap support
From: zheng.gong
Date: Wed Jan 28 2026 - 22:20:37 EST
Hello Eric,
Sorry for late due to other affairs.
Readjuest the patchset adds support for platform-specific crypto keyslot
remapping in the exynos UFS host driver.
The 1st patch raise a new variant op:
ufs_hba_variant_ops::crypto_keyslot_remap
which allows platforms to adjust the keyslot index at io request period.
The 2nd patch adds a real, upstream user in ufs-exynos.c that supports
remapping via device tree. This makes the hook justifiable for mainline
inclusion.
The 3rd patch adds DT binding description for the new property
'ufs-keyslot-offset'.
zheng.gong (3):
scsi: ufs: crypto: Add ufs_hba_variant_ops::crypto_keyslot_remap
scsi: ufs: exynos: Support crypto keyslot remapping via DT
dt-bindings: ufs: Add binding for ufs-keyslot-offset
.../bindings/ufs/samsung,exynos-ufs.yaml | 5 +++++
drivers/ufs/core/ufshcd-crypto.h | 10 ++++++++--
drivers/ufs/core/ufshcd.c | 9 +++++----
drivers/ufs/host/ufs-exynos.c | 16 ++++++++++++++++
include/ufs/ufshcd.h | 6 ++++++
5 files changed, 40 insertions(+), 6 deletions(-)
--
2.50.1