]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00cf26f6dfa65ef99fc5ae25bca77c3e7d5cdf6e
tree6ef10fba0dd31fc5b14dec0eed88d73a9f4f9994
parent368bdaa6f6b40f4fafea89a623569426bce9e25e
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