]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 19 Mar 2025 15:30:20 +0000 (15:30 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 3 Apr 2025 13:53:50 +0000 (09:53 -0400)
commitf92bb7436802f8eb7ee72dc911a33c8897fde366
treecd8d3f2d83b9ccb63086016f7049c0c0feb1cee9
parent68f5ef7eebf0f41df4d38ea55a54c2462af1e3d6
scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set

If dma-coherent property isn't set then descriptors are non-cacheable
and the iocc shareability bits should be disabled. Without this UFS can
end up in an incompatible configuration and suffer from random cache
related stability issues.

Suggested-by: Bart Van Assche <bvanassche@acm.org>
Fixes: cc52e15397cc ("scsi: ufs: ufs-exynos: Support ExynosAuto v9 UFS")
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250319-exynos-ufs-stability-fixes-v2-3-96722cc2ba1b@linaro.org
Cc: Chanho Park <chanho61.park@samsung.com>
Cc: stable@vger.kernel.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
drivers/ufs/host/ufs-exynos.h