diff options
author | Christoph Hellwig <hch@lst.de> | 2019-05-20 09:29:39 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-05-27 17:31:11 +0200 |
commit | 9a4ab94afcc4738d65ecfdff726a4a14abde1b98 (patch) | |
tree | f7404d5985641b887fa810540f6de489414fa676 /drivers/irqchip/irq-atmel-aic-common.h | |
parent | 8680aa5a58abfe6087a3d8248c02232d3e05dc80 (diff) | |
download | linux-9a4ab94afcc4738d65ecfdff726a4a14abde1b98.tar.bz2 |
iommu/dma: Merge the CMA and alloc_pages allocation paths
Instead of having a separate code path for the non-blocking alloc_pages
and CMA allocations paths merge them into one. There is a slight
behavior change here in that we try the page allocator if CMA fails.
This matches what dma-direct and other iommu drivers do and will be
needed to use the dma-iommu code on architectures without DMA remapping
later on.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/irqchip/irq-atmel-aic-common.h')
0 files changed, 0 insertions, 0 deletions