From: Keir Fraser <keir@xensource.com>
To: Jan Beulich <jbeulich@novell.com>, Keir Fraser <keir@xensource.com>
Cc: Xen Development Mailing List <xen-devel@lists.xensource.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Calvin Webster <cwebster@ec.rr.com>
Subject: Re: [LINUX] dma: Use swiotlb mask for coherent mappings too
Date: Wed, 20 Dec 2006 13:36:11 +0000 [thread overview]
Message-ID: <C1AEECCB.6A3E%keir@xensource.com> (raw)
In-Reply-To: <45893CB8.76E4.0078.0@novell.com>
On 20/12/06 12:38, "Jan Beulich" <jbeulich@novell.com> wrote:
>>>> Keir Fraser <keir@xensource.com> 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
prev parent reply other threads:[~2006-12-20 13:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-20 5:14 [LINUX] dma: Use swiotlb mask for coherent mappings too Herbert Xu
2006-12-20 11:50 ` Jan Beulich
2006-12-20 11:55 ` Keir Fraser
2006-12-20 12:38 ` Jan Beulich
2006-12-20 13:36 ` Keir Fraser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1AEECCB.6A3E%keir@xensource.com \
--to=keir@xensource.com \
--cc=cwebster@ec.rr.com \
--cc=herbert@gondor.apana.org.au \
--cc=jbeulich@novell.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.