]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: exynos: Enable PRDT pre-fetching with UFSHCD_CAP_CRYPTO
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 19 Mar 2025 15:30:22 +0000 (15:30 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 3 Apr 2025 13:53:51 +0000 (09:53 -0400)
commitdeac9ad496ec17e1ec06848964ecc635bdaca703
tree32def02f3f5c4409e54093fe5438ad1d06690284
parent7f05fd9a3b6fb3a9abc5a748307d11831c03175f
scsi: ufs: exynos: Enable PRDT pre-fetching with UFSHCD_CAP_CRYPTO

PRDT_PREFETCH_ENABLE[31] bit should be set when desctype field of
fmpsecurity0 register is type2 (double file encryption) or type3
(support for file and disk encryption). Setting this bit enables PRDT
pre-fetching on both TXPRDT and RXPRDT.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250319-exynos-ufs-stability-fixes-v2-5-96722cc2ba1b@linaro.org
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-exynos.c