]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/dma/pl330.c
dmaengine: pl330: Limit MFIFO usage for memcpy to avoid exhausting entries
authorJon Medhurst <tixy@linaro.org>
Fri, 7 Nov 2014 18:05:18 +0000 (18:05 +0000)
committerVinod Koul <vinod.koul@intel.com>
Mon, 17 Nov 2014 07:31:20 +0000 (13:01 +0530)
commitc27f95568d1ed2573fc9c8848d741da63ca9a34e
tree6ef10fba0dd31fc5b14dec0eed88d73a9f4f9994
parent137bd11090d89b3a3ef4bdb7a6cf964ffc797517
dmaengine: pl330: Limit MFIFO usage for memcpy to avoid exhausting entries

The MFIFO is shared by all channels so restrict each memcpy to it's fair
share. This is being over cautious, but without a global view of DMA
channel usage on a system it's not possible to come up with a more
optimum safe limit.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c