[PATCH v3] scsi: ufs-mediatek: Add inline encryption support

Martin K. Petersen martin.petersen at oracle.com
Tue Jul 14 00:58:45 EDT 2020


On Sun, 12 Jul 2020 08:32:26 +0800, Stanley Chu wrote:

> Add inline encryption support to ufs-mediatek.
> 
> The standards-compliant parts, such as querying the crypto capabilities
> and enabling crypto for individual UFS requests, are already handled by
> ufshcd-crypto.c, which itself is wired into the blk-crypto framework.
> 
> However MediaTek UFS host requires a vendor-specific hce_enable operation
> to allow crypto-related registers being accessed normally in kernel.
> After this step, MediaTek UFS host can work as standard-compliant host
> for inline-encryption related functions.

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: ufs-mediatek: Add inline encryption support
      https://git.kernel.org/mkp/scsi/c/46426552e74f

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-mediatek mailing list