summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2020-07-12 08:32:26 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-13 23:24:56 -0400
commit46426552e74fd38e43aa95af17487d3cc285d71f (patch)
tree19660fde2ced9c9b1af55bd2597ce17616af8f7e /drivers/scsi/scsi_debug.c
parent30f259b4886a0d0121e03516bbff6f057a52a0b2 (diff)
scsi: ufs-mediatek: Add inline encryption support
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. Link: https://lore.kernel.org/r/20200712003226.7593-1-stanley.chu@mediatek.com Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions