From: David Woodhouse <dwmw2@infradead.org>
To: Dave Airlie <airlied@gmail.com>,
Keir Fraser <kier.fraser@eu.citrix.com>,
xen-devel@lists.xensource.com
Cc: Zhenyu Wang <zhenyu.z.wang@intel.com>,
linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org,
Joerg Roedel <joerg.roedel@amd.com>
Subject: Re: [RFC] Make AGP work with IOMMU
Date: Wed, 29 Jul 2009 10:36:45 +0100 [thread overview]
Message-ID: <1248860205.19733.238.camel@macbook.infradead.org> (raw)
In-Reply-To: <21d7e9970907290143q6778511cvda1c6b915f61654a@mail.gmail.com>
On Wed, 2009-07-29 at 18:43 +1000, Dave Airlie wrote:
> >> don't suppose we want page_to_gart or is the double function nicer?
> >
> > I pondered that briefly. But then observed that phys_to_gart() and
> > gart_to_phys() _always_ describe an identity mapping, so perhaps they
> > could just be ditched completely?
>
> Yeah that could work too, no idea why they were introduced, well before my time.
http://git.infradead.org/users/dwmw2/iommu-agp.git?a=commitdiff;h=8bf2f3a9
It was introduced by Keir in 2005 for Xen (commit 07eee78e). I suspect
it can die though, and that the right answer there is also to use the
DMA API correctly.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
next prev parent reply other threads:[~2009-07-29 9:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 15:04 David Woodhouse
2009-07-29 6:28 ` Dave Airlie
2009-07-29 7:15 ` David Woodhouse
2009-07-29 8:43 ` Dave Airlie
2009-07-29 9:01 ` David Woodhouse
2009-07-29 9:36 ` David Woodhouse [this message]
2009-08-03 6:50 ` Zhenyu Wang
2009-08-03 8:39 ` David Woodhouse
2009-08-04 23:52 ` [Xen-devel] " Jeremy Fitzhardinge
2009-08-05 6:44 ` David Woodhouse
2009-08-05 6:57 ` Dave Airlie
2009-08-05 7:08 ` David Woodhouse
2009-08-05 18:26 ` Jeremy Fitzhardinge
2009-08-05 23:12 ` Dave Airlie
2009-08-06 19:32 ` Jeremy Fitzhardinge
2009-08-06 19:36 ` David Woodhouse
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=1248860205.19733.238.camel@macbook.infradead.org \
--to=dwmw2@infradead.org \
--cc=airlied@gmail.com \
--cc=iommu@lists.linux-foundation.org \
--cc=joerg.roedel@amd.com \
--cc=kier.fraser@eu.citrix.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xensource.com \
--cc=zhenyu.z.wang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome