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] Support for AGP aperture as IOMMU in AMD64 mode [2/2]

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Muli Ben-Yehuda" <mulix@xxxxxxxxx>
Subject: RE: [Xen-devel] Support for AGP aperture as IOMMU in AMD64 mode [2/2]
From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Date: Fri, 20 Jan 2006 11:06:11 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 Jan 2006 17:14:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYd4SwdE4EL6+eXTRK5RvZcI46ZeQAAiksQ
Thread-topic: [Xen-devel] Support for AGP aperture as IOMMU in AMD64 mode [2/2]
> >> Some of those change are definitely Xen specific, such as 
> the switch 
> >> from virt_to_phys() to virt_to_bus around line 416,
> >
> > mainline has
> >
> > #define virt_to_bus virt_to_phys,
> >
> > so that should just work. However I'm pretty sure someone 
> was pushing 
> > for deprecating virt_to_bus?
> 
> Yeah, I fell foul of that and it's the reason why phys_to_gart() was 
> originally introduced. I suspect that those uses of virt_to_bus() 
> should actually be phys_to_gart(virt_to_phys()).

Preliminary testing shows that the code works with that
change.

I'm a bit confused about what my next step with this patch should
be.  Should I stop working out of the xen-unstable repository and
make my changes against linux-2.6.xen repository?

-Mark Langsdorf
AMD, Inc.


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