Stanley Chu 46426552e7 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>
2020-07-13 23:24:56 -04:00
..
2020-04-02 17:03:53 -07:00
2020-01-29 18:16:16 -08:00
2019-11-07 06:43:18 -07:00
2020-03-11 23:07:59 -04:00
2020-06-05 15:11:50 -07:00
2020-06-15 23:28:04 -04:00
2020-06-13 13:29:16 -07:00
2019-03-02 11:39:54 -08:00
2019-11-12 22:21:35 -05:00
2020-02-24 14:54:25 -05:00
2020-03-11 23:07:59 -04:00
2020-04-14 21:32:39 -04:00
2019-01-08 21:58:35 -05:00
2019-07-11 15:14:01 -07:00
2020-06-04 10:15:32 -04:00
2019-06-18 19:46:18 -04:00
2019-07-11 15:17:41 -07:00
2020-04-02 17:03:53 -07:00
2018-11-06 21:31:28 -05:00
2019-07-11 15:14:01 -07:00
2019-07-11 15:17:41 -07:00
2020-06-19 23:06:43 -04:00
2019-07-11 15:14:01 -07:00
2020-06-19 23:06:43 -04:00
2020-07-08 01:04:07 -04:00
2020-07-08 01:03:44 -04:00
2019-07-11 15:14:01 -07:00
2020-06-13 13:17:49 -07:00
2020-02-24 15:01:57 -05:00
2019-07-11 15:14:01 -07:00