Commit 835cfaf
soc: aspeed: xdma: Reduce AST2600 max transfer size (torvalds#254)
There have observations of incomplete DMA transfers under certain
transfer size and host address alignment conditions. Specically,
if the transfer size is within one "page" size of the max transfer
size, and (host address - host address lower page boundary) >=
(max transfer size - transfer size). Page refers to the XDMA PCIe
downstream request size. Therefore, reduce the max transfer size to
below the range where this issue seems to occur.
Signed-off-by: Eddie James <[email protected]>
Co-authored-by: Eddie James <[email protected]>1 parent f8cbd1b commit 835cfaf
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
378 | 380 | | |
379 | 381 | | |
380 | 382 | | |
381 | | - | |
| 383 | + | |
382 | 384 | | |
383 | 385 | | |
384 | 386 | | |
| |||
0 commit comments