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: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: [RFC] Make AGP work with IOMMU
From: Dave Airlie <airlied@xxxxxxxxx>
Date: Thu, 6 Aug 2009 09:12:37 +1000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Zhenyu Wang <zhenyu.z.wang@xxxxxxxxx>, Joerg Roedel <joerg.roedel@xxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, David Woodhouse <dwmw2@xxxxxxxxxxxxx>, Keir Fraser <kier.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 05 Aug 2009 16:13:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DVzoYZghCwBcCAXwybNt7z09CQI8R0ZsHUBb5t9fiMw=; b=KJIBmWn5ZJdjWwA2xBhpNUGHNI5pkGK+YwbNuHX02HMHEDLIBzj4jpnpBQzO/J6Xa1 B01KwsV0miYKSyzITL482DhDZghK+acc2hqL2rM/JlyhQ+rsOzz+2gd+h6CO4M98eDSV uVB+4Lmu3dv4I9fVYiF4haHe0wSl7xxaYCUFY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sn+DoTpOGStPfTlSoJfkTcENMHApQxnhgRzR736beLTB62SODM2CNM/wQTQp8UAyba JudXbIws3hmv1kfL4XjPfEMW7qaj4U6KOn8HoGeYm/0yUppLywuvmYyvSFrDzmZrsjv/ dZmhRIckP8LacNJkhdV3slEGX96zblM5CF1bM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A79CEEC.9030008@xxxxxxxx>
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> <4A78C9C6.6010103@xxxxxxxx> <1249454696.9324.325.camel@xxxxxxxxxxxxxxxxxxxxx> <21d7e9970908042357m6080e88fyeaaad171888766f2@xxxxxxxxxxxxxx> <4A79CEEC.9030008@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Aug 6, 2009 at 4:26 AM, Jeremy Fitzhardinge<jeremy@xxxxxxxx> wrote:
> On 08/04/09 23:57, Dave Airlie wrote:
>>> All we've done so far is make intel-agp use the DMA API correctly. And
>>> that's conditional on CONFIG_DMAR. But we could make it unconditional,
>>> and make the other drivers do it too. The code is all fairly generic.
>>>
>>> Without an IOMMU, the overhead would be fairly minimal.
>>>
>>>
>>
>> I'm not sure how prevalent Xen is on AGP systems, I'm going to guess
>> not enough that anyone cares.
>
> What do you mean by AGP here?  Do you mean "machine with physical AGP
> port", or "machine with graphics using the AGP aperature"?  There's an
> increasing interest in putting Xen on desktop machines, so the former is
> debatable, but the latter (I think?) definitely isn't true.
>

I split my mail along those lines already, an AGP system is one
with a physical AGP port, I think you'll probably find a few people
still running some Athlons with VIA chipset and radeon 9200s I think,

The graphics using AGP-like apertures are only Intel and we've fixed those.

>>  Intel integrated chips are the only AGP
>> codebase user that are made any more, and they don't really use AGP
>> its just a legacy of the previous designs.
>>
>>
>
> Plenty of people are using older machines for testing, etc, so I
> wouldn't want to exclude them too lightly.  I've got bug reports from
> people using older Radeons, etc.

My main problem with doing this is getting testing coverage on older
systems, if we change all the AGP drivers, the time to find we busted
something is probably not until the next major distro release with this code
in it. So people can run stuff on 5 year old hardware in 6 months? I'm
not sure the gains justify the costs, but if you guys really want to do it
I'll take the patch, just be prepared to have it ripped out the minute
we get a regression we can't figure out because we haven't got the hw anymore.

Dave.

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