xtensa: enable HAVE_DMA_CONTIGUOUS
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 25 Apr 2016 19:08:52 +0000 (22:08 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 15 Dec 2016 18:41:50 +0000 (10:41 -0800)
commit9d2ffe5c62554f2795859bb661eb138759eee980
tree3093778665a69c88e9f0727d5ee2165078c530cb
parent3863c58cc742df9e5f9ef0bde7dc135fdc547c19
xtensa: enable HAVE_DMA_CONTIGUOUS

Enable HAVE_DMA_CONTIGUOUS, reserve contiguous memory at bootmem_init,
use dma_alloc_from_contiguous and dma_release_from_contiguous in
xtensa_dma_alloc/free.
This allows for big contiguous DMA buffer allocation from designated
area configured in the device tree.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/include/asm/Kbuild
arch/xtensa/kernel/pci-dma.c
arch/xtensa/mm/init.c