diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-01-12 15:42:14 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-01-23 21:35:54 -0500 |
commit | 9a80bc5debf74b09f3a8bbc02cfba8d04e2048d0 (patch) | |
tree | 34c159a59c380964a1beeb0883b6f9a0aacd2a09 /drivers/ufs/host/ufs-hisi.h | |
parent | 86bd0c4a2a5dc4265884648cb92c681646509692 (diff) |
scsi: ufs: exynos: Fix the maximum segment size
Prepare for enabling DMA clustering and also for supporting PAGE_SIZE !=
4096 by declaring explicitly that the maximum segment size is 4096 bytes
for Exynos UFS host controllers. Add this code in
exynos_ufs_hce_enable_notify() such that it happens after scsi_host_alloc()
and before __scsi_init_queue() is called by the LUN scanning code.
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Kiwoong Kim <kwmad.kim@samsung.com>
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>
Diffstat (limited to 'drivers/ufs/host/ufs-hisi.h')
0 files changed, 0 insertions, 0 deletions