On 01/11/2017 12:56 AM, Christoph Hellwig wrote:
>> +lib-$(CONFIG_HAS_DMA) += dma-virt.o
>
> There probably should be a config option for it for two reasons:
>
> - do not bloat kernels that don't need it.
> - the feature can only work for 32-bit architectures or for
>64-bit architectures th
> +lib-$(CONFIG_HAS_DMA) += dma-virt.o
There probably should be a config option for it for two reasons:
- do not bloat kernels that don't need it.
- the feature can only work for 32-bit architectures or for
64-bit architectures that set ARCH_DMA_ADDR_T_64BIT…
Altenatiely this option would
Several RDMA drivers need to provide a DMA mapping API but use the
CPU to transfer data. Provide DMA mapping operations that are
suitable for these drivers.
Signed-off-by: Bart Van Assche
Cc: Christian Borntraeger
Cc: Joerg Roedel
Cc: Andy Lutomirski
Cc: Michael S. Tsirkin
---
include/linux/
3 matches
Mail list logo