Re: [PATCH] x86: enable DMA CMA with swiotlb

From: H. Peter Anvin
Date: Fri Nov 22 2013 - 10:02:50 EST


On 11/22/2013 04:27 AM, Akinobu Mita wrote:
>
> I'm currently working for integrating DMA CMA with intel-iommu which
> I can test. Regardless of which dma ops is actually used, I would
> like to allocate large contiguous memory with dma_alloc_coherent()
> and tell the base address to the device.
>
> We can use mem= or crashkernel= to reserve host memory, but it is
> complicated and unables to work with real IOMMU.
>

If you have a real iotlb, why would you need contiguous memory?

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/