WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [RFC] Make AGP work with IOMMU

To: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [RFC] Make AGP work with IOMMU
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 04 Aug 2009 16:52:38 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Zhenyu Wang <zhenyu.z.wang@xxxxxxxxx>, Joerg Roedel <joerg.roedel@xxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, Dave Airlie <airlied@xxxxxxxxx>, Keir Fraser <kier.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 04 Aug 2009 16:53:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1248860205.19733.238.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1248707041.6100.35.camel@xxxxxxxxxxxxxxxxxxxxx> <21d7e9970907282328l4a44b9a2of4500c5c84a3586b@xxxxxxxxxxxxxx> <1248851712.19733.214.camel@xxxxxxxxxxxxxxxxxxxxx> <21d7e9970907290143q6778511cvda1c6b915f61654a@xxxxxxxxxxxxxx> <1248860205.19733.238.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel