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

From: Akinobu Mita
Date: Thu Nov 21 2013 - 10:02:18 EST


2013/11/21 H. Peter Anvin <hpa@xxxxxxxxx>:
> On 11/19/2013 03:32 PM, Akinobu Mita wrote:
>> The DMA Contiguous Memory Allocator support on x86 is disabled when
>> swiotlb config option is enabled. So DMA CMA is always disabled on
>> x86_64 because swiotlb is always enabled. This attempts to support
>> for DMA CMA with enabling swiotlb config option.
>
> What is the use case?

I want to use DMA CMA for the feature that requires a single huge chunk
(about 64MB) of host memory. Please refer 3 of 24 in:
http://www.jedec.org/sites/default/files/T_Fujisawa_MF_2013.pdf
--
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/