linux/drivers/ufs/core
Bart Van Assche 473cc51699 scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096
[ Upstream commit 86bd0c4a2a ]

The Exynos UFS controller only supports scatter/gather list elements that
are aligned on a 4 KiB boundary. Fix DMA alignment in case PAGE_SIZE !=
4096. Rename UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE into
UFSHCD_QUIRK_4KB_DMA_ALIGNMENT.

Cc: Kiwoong Kim <kwmad.kim@samsung.com>
Fixes: 2b2bfc8aa5 ("scsi: ufs: Introduce a quirk to allow only page-aligned sg entries")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:15 +01:00
..
Kconfig
Makefile
ufs_bsg.c
ufs_bsg.h
ufs-debugfs.c
ufs-debugfs.h
ufs-fault-injection.c
ufs-fault-injection.h
ufs-hwmon.c
ufs-sysfs.c scsi: ufs: core: Print UFSHCD capabilities in controller's sysfs node 2022-09-06 22:18:06 -04:00
ufs-sysfs.h
ufshcd-crypto.c
ufshcd-crypto.h
ufshcd-priv.h scsi: ufs: core: Remove redundant function definitions from ufshcd.h 2022-09-25 12:50:44 -04:00
ufshcd.c scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096 2023-03-10 09:33:15 +01:00
ufshpb.c scsi: ufs: core: Fix typo in comment 2022-10-22 03:29:32 +00:00
ufshpb.h