diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2014-06-04 16:06:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:53:57 -0700 |
commit | 367464362591d89b371e2a690638e9bc899d8ebb (patch) | |
tree | b99cef6b0be4f93280ca08895d8d1cccf5b0ff05 /drivers/base | |
parent | 9c5a3621427da68afe6a078cadf807d2c8cc1d12 (diff) | |
download | linux-367464362591d89b371e2a690638e9bc899d8ebb.tar.gz linux-367464362591d89b371e2a690638e9bc899d8ebb.tar.bz2 linux-367464362591d89b371e2a690638e9bc899d8ebb.zip |
intel-iommu: integrate DMA CMA
This adds support for the DMA Contiguous Memory Allocator for
intel-iommu. This change enables dma_alloc_coherent() to allocate big
contiguous memory.
It is achieved in the same way as nommu_dma_ops currently does, i.e.
trying to allocate memory by dma_alloc_from_contiguous() and
alloc_pages() is used as a fallback.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Don Dutile <ddutile@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions