[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [LINUX] dma: Use swiotlb mask for coherent mappings too

On 20/12/06 12:38, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>>> Keir Fraser <keir@xxxxxxxxxxxxx> 20.12.06 12:55 >>>
>> We could fall back to swiotlb_alloc/free_coherent?
> Hmm, that would mean extra tracking, as dma_free_coherent must have a way
> to tell whether to call xen_destroy_contiguous_region directly or invoke
> swiotlb_free_coherent (and I wouldn't want to make io_tlb_{start,end} global).

dma_alloc_coherent is used to allocate some rather big areas in some cases
(e.g., when uploading firmware) which I'm sure would not fit in the
swiotlb's 64kB contiguous allocations. Some kind of is-within-aperture query
function would seem a reasonable addition to the swiotlb API.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.