-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'dma-rename-4.18' of git://git.infradead.org/users/hch/dma-…
…mapping Pull dma-mapping rename from Christoph Hellwig: "Move all the dma-mapping code to kernel/dma and lose their dma-* prefixes" * tag 'dma-rename-4.18' of git://git.infradead.org/users/hch/dma-mapping: dma-mapping: move all DMA mapping code to kernel/dma dma-mapping: use obj-y instead of lib-y for generic dma ops
- Loading branch information
Showing
18 changed files
with
69 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
config HAS_DMA | ||
bool | ||
depends on !NO_DMA | ||
default y | ||
|
||
config NEED_SG_DMA_LENGTH | ||
bool | ||
|
||
config NEED_DMA_MAP_STATE | ||
bool | ||
|
||
config ARCH_DMA_ADDR_T_64BIT | ||
def_bool 64BIT || PHYS_ADDR_T_64BIT | ||
|
||
config HAVE_GENERIC_DMA_COHERENT | ||
bool | ||
|
||
config ARCH_HAS_SYNC_DMA_FOR_DEVICE | ||
bool | ||
|
||
config ARCH_HAS_SYNC_DMA_FOR_CPU | ||
bool | ||
select NEED_DMA_MAP_STATE | ||
|
||
config DMA_DIRECT_OPS | ||
bool | ||
depends on HAS_DMA | ||
|
||
config DMA_NONCOHERENT_OPS | ||
bool | ||
depends on HAS_DMA | ||
select DMA_DIRECT_OPS | ||
|
||
config DMA_NONCOHERENT_MMAP | ||
bool | ||
depends on DMA_NONCOHERENT_OPS | ||
|
||
config DMA_NONCOHERENT_CACHE_SYNC | ||
bool | ||
depends on DMA_NONCOHERENT_OPS | ||
|
||
config DMA_VIRT_OPS | ||
bool | ||
depends on HAS_DMA | ||
|
||
config SWIOTLB | ||
bool | ||
select DMA_DIRECT_OPS | ||
select NEED_DMA_MAP_STATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
obj-$(CONFIG_HAS_DMA) += mapping.o | ||
obj-$(CONFIG_DMA_CMA) += contiguous.o | ||
obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += coherent.o | ||
obj-$(CONFIG_DMA_DIRECT_OPS) += direct.o | ||
obj-$(CONFIG_DMA_NONCOHERENT_OPS) += noncoherent.o | ||
obj-$(CONFIG_DMA_VIRT_OPS) += virt.o | ||
obj-$(CONFIG_DMA_API_DEBUG) += debug.o | ||
obj-$(CONFIG_SWIOTLB) += swiotlb.o | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters