]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: fix enable for high order unmap pools
authorDan Williams <dan.j.williams@intel.com>
Mon, 9 Dec 2013 18:33:16 +0000 (10:33 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Dec 2013 06:43:42 +0000 (22:43 -0800)
commit3fd5dee6c00491cef1560466bbc3ab8338485906
tree3897c44ab6a8cfc9b37f3a11365a2afc0117e3a1
parent709707fd89e06d828d2b18cc068741f293acee02
dmaengine: fix enable for high order unmap pools

The higher order mempools support raid operations, and we want to
disable them when raid support is not enabled.  Making them conditional
on ASYNC_TX_DMA is not sufficient as other users (specifically dmatest)
will also issue raid operations.  Make raid drivers explicitly request
that the core carry the higher order pools.

Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/Kconfig
drivers/dma/dmaengine.c