From: Eric Biggers <ebiggers@kernel.org>
To: "zheng.gong" <zheng.gong@samsung.com>
Cc: linux-scsi@vger.kernel.org, avri.altman@wdc.com,
bvanassche@acm.org, quic_cang@quicinc.com,
alim.akhtar@samsung.com, martin.petersen@oracle.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 0/3] scsi: ufs: Add crypto_keyslot_remap support
Date: Wed, 28 Jan 2026 19:31:16 -0800 [thread overview]
Message-ID: <20260129033116.GA68575@sol> (raw)
In-Reply-To: <20260129031033.3428295-1-zheng.gong@samsung.com>
On Thu, Jan 29, 2026 at 11:10:30AM +0800, zheng.gong wrote:
> 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'.
I don't think it's plausible that this actually works, considering that
ufs-exynos.c installs a custom blk_crypto_profile that doesn't have any
keyslots. (It does that because the Exynos UFS host controller takes
the raw key directly in the PRDT on a per-block basis.) With no
keyslots, the concept of remapping them is meaningless.
Could you clarify what exactly this patchset is meant to do, and how you
tested it?
Do you perhaps have additional patches that this depends on? Perhaps
patches that add support for a version of the Exynos UFS host controller
that does have keyslots?
- Eric
next prev parent reply other threads:[~2026-01-29 3:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20251112030559epcas5p13358e7b05ca6b39688530b9c8178527e@epcas5p1.samsung.com>
[not found] ` <20251112030524.3545394-1-zheng.gong@samsung.com>
2025-11-12 3:05 ` [PATCH 1/1] scsi: ufs: crypto: Add ufs_hba_variant_ops::crypto_keyslot_remap zheng.gong
2025-11-12 3:10 ` Eric Biggers
2025-11-27 7:06 ` [PATCH v2 0/2] scsi: ufs: Add crypto_keyslot_remap support zheng.gong
2025-11-27 7:06 ` [PATCH v2 1/2] scsi: ufs: crypto: Add ufs_hba_variant_ops::crypto_keyslot_remap zheng.gong
2025-11-27 7:06 ` [PATCH v2 2/2] scsi: ufs: Add crypto keyslot remapping test module zheng.gong
2025-11-27 22:24 ` [PATCH v2 0/2] scsi: ufs: Add crypto_keyslot_remap support Eric Biggers
2025-11-28 3:37 ` [PATCH v3 0/1] scsi: ufs: Add crypto_keyslot_remap variant op zheng.gong
2025-11-28 3:37 ` [PATCH v3 1/1] scsi: ufs: crypto: Add ufs_hba_variant_ops::crypto_keyslot_remap zheng.gong
2025-11-28 3:47 ` [PATCH v3 0/1] scsi: ufs: Add crypto_keyslot_remap variant op Eric Biggers
2026-01-29 3:10 ` [PATCH v4 0/3] scsi: ufs: Add crypto_keyslot_remap support zheng.gong
2026-01-29 3:10 ` [PATCH v4 1/3] scsi: ufs: crypto: Add ufs_hba_variant_ops::crypto_keyslot_remap zheng.gong
2026-01-29 16:43 ` Bart Van Assche
2026-01-29 3:10 ` [PATCH v4 2/3] scsi: ufs: exynos: Support crypto keyslot remapping via DT zheng.gong
2026-01-29 3:10 ` [PATCH v4 3/3] dt-bindings: ufs: Add binding for ufs-keyslot-offset zheng.gong
2026-01-29 3:31 ` Eric Biggers [this message]
2026-01-29 6:17 ` Re:Re: [PATCH v4 0/3] scsi: ufs: Add crypto_keyslot_remap support zheng.gong
2026-01-29 7:42 ` Eric Biggers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260129033116.GA68575@sol \
--to=ebiggers@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=avri.altman@wdc.com \
--cc=bvanassche@acm.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=quic_cang@quicinc.com \
--cc=zheng.gong@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox