summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2014-11-07 18:05:17 +0000
committerVinod Koul <vinod.koul@intel.com>2014-11-17 13:01:09 +0530
commit137bd11090d89b3a3ef4bdb7a6cf964ffc797517 (patch)
tree1f64fa0aafa630d853c34904bc192e0151261a36 /tools
parent1f9cd915b64bb95f7b41667b4bf8b22f0a0a557b (diff)
downloadop-kernel-dev-137bd11090d89b3a3ef4bdb7a6cf964ffc797517.zip
op-kernel-dev-137bd11090d89b3a3ef4bdb7a6cf964ffc797517.tar.gz
dmaengine: pl330: Align DMA memcpy operations to MFIFO width
The algorithm used for programming the DMA Controller doesn't take into consideration the requirements of transfers that are not aligned to the bus width. This failure may result in DMA transferring one too few MFIFO entries (so too few bytes are copied) or the DMA trying to write one too many MFIFO entries and hanging because this is never provided. See "MFIFO Usage Overview" chapter in the the TRM for "CoreLink DMA Controller DMA-330", Revision r1p1. We work around these shortcomings by making sure we pick a burst size and length which ensures no bursts straddle an MFIFO entry. Signed-off-by: Jon Medhurst <tixy@linaro.org> [squashed linker error "undefined reference to `__aeabi_uldivmod] Reported-by: kbuild test robot <fengguang.wu@intel.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud