> -----Original Message----- > From: Eric Biggers <ebiggers@xxxxxxxxxx> > Sent: Tuesday, July 9, 2024 5:23 AM > To: linux-scsi@xxxxxxxxxxxxxxx > Cc: linux-samsung-soc@xxxxxxxxxxxxxxx; linux-fscrypt@xxxxxxxxxxxxxxx; Alim > Akhtar <alim.akhtar@xxxxxxxxxxx>; Avri Altman <avri.altman@xxxxxxx>; > Bart Van Assche <bvanassche@xxxxxxx>; Martin K . Petersen > <martin.petersen@xxxxxxxxxx>; Peter Griffin <peter.griffin@xxxxxxxxxx>; > André Draszik <andre.draszik@xxxxxxxxxx>; William McVicker > <willmcvicker@xxxxxxxxxx> > Subject: [PATCH v3 1/6] scsi: ufs: core: Add > UFSHCD_QUIRK_CUSTOM_CRYPTO_PROFILE > > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > Add UFSHCD_QUIRK_CUSTOM_CRYPTO_PROFILE which lets UFS host drivers > initialize the blk_crypto_profile themselves rather than have it be initialized > by ufshcd-core according to the UFSHCI standard. This is needed to support > inline encryption on the "Exynos" UFS controller which has a nonstandard > interface. > > Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx> > Reviewed-by: Peter Griffin <peter.griffin@xxxxxxxxxx> > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > --- Reviewed-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx> > drivers/ufs/core/ufshcd-crypto.c | 10 +++++++--- > include/ufs/ufshcd.h | 9 +++++++++ > 2 files changed, 16 insertions(+), 3 deletions(-) > [Snip] = 1 << 0, > -- > 2.45.2
![]() |