[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.