Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736909
| From | Vinod Koul <vinod.koul@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] dmaengine: edma: Align the memcpy acnt array size with the transfer |
| Date | 2017-09-21 19:20 +0200 |
| Message-ID | <usdiO-3Se-23@gated-at.bofh.it> (permalink) |
| References | <uqZrA-3BU-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Sep 18, 2017 at 11:16:26AM +0300, Peter Ujfalusi wrote: > Memory to Memory transfers does not have any special alignment needs > regarding to acnt array size, but if one of the areas are in memory mapped > regions (like PCIe memory), we need to make sure that the acnt array size > is aligned with the mem copy parameters. > > Before "dmaengine: edma: Optimize memcpy operation" change the memcpy was set > up in a different way: acnt == number of bytes in a word based on > __ffs((src | dest | len), bcnt and ccnt for looping the necessary number of > words to comlete the trasnfer. > > Instead of reverting the commit we can fix it to make sure that the ACNT size > is aligned to the traswnfer. Applied, thanks -- ~Vinod
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] dmaengine: edma: Align the memcpy acnt array size with the transfer Peter Ujfalusi <peter.ujfalusi@ti.com> - 2017-09-18 10:20 +0200 Re: [PATCH v2] dmaengine: edma: Align the memcpy acnt array size with the transfer Vinod Koul <vinod.koul@intel.com> - 2017-09-21 19:20 +0200
csiph-web