[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A78C9C6.6010103@goop.org>
Date: Tue, 04 Aug 2009 16:52:38 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: David Woodhouse <dwmw2@...radead.org>
CC: Dave Airlie <airlied@...il.com>,
Keir Fraser <kier.fraser@...citrix.com>,
xen-devel@...ts.xensource.com, Joerg Roedel <joerg.roedel@....com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Zhenyu Wang <zhenyu.z.wang@...el.com>
Subject: Re: [Xen-devel] Re: [RFC] Make AGP work with IOMMU
On 07/29/09 02:36, David Woodhouse wrote:
> 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.
>
And just when I have patches to use them for their original purpose...
Looking back over the thread, are you saying that most users are already
using the DMA API correctly for AGP accesses? If that's true then we
should be just fine.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists