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

Re: [Xen-merge] [PATCH] move i386's swiotlb.h



On Fri, Dec 23, 2005 at 01:34:51PM +0100, Vincent Hanquez wrote:
> On Fri, Dec 23, 2005 at 01:27:22PM +0100, Jan Beulich wrote:
> > Subject says it all.
> 
> > Index: 2005-12-16/include/asm-i386/mach-xen/asm/swiotlb.h
> > ===================================================================
> > --- 2005-12-16.orig/include/asm-i386/mach-xen/asm/swiotlb.h 2005-11-21 
> > 16:42:07.000000000 +0100
> > +++ /dev/null       1970-01-01 00:00:00.000000000 +0000
> 
> isn't the swiotlb was suppose to move to lib/ and be available to almost
> all arch ? IIRC there was talk to do that on the LKML (well at least
> powerpc is trying to add it).

There are several relevant things in progress here:

- in 2.6.15, swiotlb.c is available under lib/ for both x86-64 and
IA64. Unfortunately Xen's swiotlb.c is quite different.

- in 2.6.16 (I hope), swiotlb.h will be moved to asm-generic. This is
a patch that's in -mm at the moment. There's no reason Xen couldn't
use this header file.

- there's a patch in Andi Kleen's queue to make multiple IOMMU's
usable for x86-64 relatively cleanly (the dma-mapping-ops patch). This
will make it slighly cleaner to support Xen's copy of swiotlb.c. 

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


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


 


Rackspace

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