Commit 858231b
scsi: ufs: core: Move the 4K alignment code into the Exynos driver
The DMA alignment for the Exynos controller follows directly from the PRDT
segment size configured in ufs-exynos.c. Hence, move the DMA alignment code
into the Exynos driver source code.
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230921192335.676924-3-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>1 parent cdaaff6 commit 858231b
3 files changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5095 | 5095 | | |
5096 | 5096 | | |
5097 | 5097 | | |
5098 | | - | |
5099 | | - | |
| 5098 | + | |
5100 | 5099 | | |
5101 | 5100 | | |
5102 | 5101 | | |
| |||
5112 | 5111 | | |
5113 | 5112 | | |
5114 | 5113 | | |
| 5114 | + | |
| 5115 | + | |
| 5116 | + | |
5115 | 5117 | | |
5116 | 5118 | | |
5117 | 5119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
1514 | 1519 | | |
1515 | 1520 | | |
1516 | 1521 | | |
| |||
1579 | 1584 | | |
1580 | 1585 | | |
1581 | 1586 | | |
| 1587 | + | |
1582 | 1588 | | |
1583 | 1589 | | |
1584 | 1590 | | |
| |||
1680 | 1686 | | |
1681 | 1687 | | |
1682 | 1688 | | |
1683 | | - | |
1684 | | - | |
| 1689 | + | |
1685 | 1690 | | |
1686 | 1691 | | |
1687 | 1692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| 375 | + | |
374 | 376 | | |
375 | 377 | | |
376 | 378 | | |
| |||
596 | 598 | | |
597 | 599 | | |
598 | 600 | | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | 601 | | |
605 | 602 | | |
606 | 603 | | |
| |||
0 commit comments