mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 22:07:26 +07:00
974c24c5be
The patch adding the infrastructure failed to actually add the symbol
declaration, oops..
Fixes: faef87723a
("dma-noncoherent: add a arch_sync_dma_for_cpu_all hook")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paul Burton <paul.burton@mips.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
54 lines
765 B
Plaintext
54 lines
765 B
Plaintext
|
|
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 ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
|
|
bool
|
|
|
|
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
|