diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-24 15:37:55 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 11:36:00 +0300 |
commit | ac2e8860cb545799ce9e6c466117c08c3a61c798 (patch) | |
tree | f8db888e6963421ad889f33b49a0cfa87d8a6530 /arch/mips/loongson64/Kconfig | |
parent | 1c33b6b765e63d5cadd621049759244fb25e8fd4 (diff) | |
download | linux-ac2e8860cb545799ce9e6c466117c08c3a61c798.tar.xz |
mips: use swiotlb_{alloc,free}
These already include the GFP_DMA/GFP_DMA32 usage, and will use CMA
memory if enabled, thus avoiding the GFP_NORETRY hack.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'arch/mips/loongson64/Kconfig')
-rw-r--r-- | arch/mips/loongson64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig index 0d249fc3cfe9..6f109bb54cdb 100644 --- a/arch/mips/loongson64/Kconfig +++ b/arch/mips/loongson64/Kconfig @@ -136,6 +136,7 @@ config SWIOTLB bool "Soft IOMMU Support for All-Memory DMA" default y depends on CPU_LOONGSON3 + select DMA_DIRECT_OPS select IOMMU_HELPER select NEED_SG_DMA_LENGTH select NEED_DMA_MAP_STATE |