Thread (1 message) 1 message, 1 author, 2018-07-30

[PATCH mmc-next v3 3/3] mmc: sdhci-of-dwcmshc: solve 128MB DMA boundary limitation

From: Jisheng Zhang <hidden>
Date: 2018-07-30 03:14:04
Also in: linux-mmc, lkml

On Mon, 30 Jul 2018 03:11:59 +0000
Matthew Leon [off-list ref] wrote:
 >> Hey Jisheng,  
quoted
Hi,  
quoted
quoted
 
quoted
In LKML, we'd better not top post.  
Noted. My apologies.
quoted
quoted
Shouldn't we be splitting until all DMA blocks are less than 128M  
boundary?
quoted
quoted
I am a noob, but I think we should be prepared for boundaries that when
split in two, will still be greater than 128M. Feel free to disagree but
please explain why I may be wrong. Thank-you.  
quoted
the limitation is "DMA addr can't span 128MB boundary" rather than "must be
less than 128MB", they are different.  
quoted
And the max transfer size of one DMA desc is 64KB.  
quoted
thanks  
I have misspoken. What if the DMA transfer size is 1024M? If we split in
two, then we have 2 transfers, each of which span 512M. So wouldn't we need
to split again to have 4 transfers, each of which span 128M?
the max transfer size of each desc is 64KB, how could it be 1024MB?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help