RE: IOMMU (Calgary) patches

From: Duran, Leo
Date: Thu Aug 03 2006 - 17:33:48 EST

Many thanks. That helps.

-----Original Message-----
From: Jon Mason [mailto:jdmason@xxxxxxxxxx]
Sent: Thursday, August 03, 2006 4:26 PM
To: Duran, Leo
Cc: Muli Ben-Yehuda; Andi Kleen; linux-kernel@xxxxxxxxxxxxxxx;
Subject: Re: IOMMU (Calgary) patches

On Thu, Aug 03, 2006 at 04:10:55PM -0500, Duran, Leo wrote:
> Andi, Jon, Muli,
> I'm trying to build with the latest IOMMU patches for x86_64, so, I've
> pulled down 2.6.17, and the 2.6.18-rc3 patches... But, that's
> lagging behind a bit.
> Is there a source tree that you guys work from?
Hey Leo,

I personally use the mercurial tree hosted on
( Alternatively, you can use git to
access the latest tree.

> (I'm hoping that there's a better mechanism than keeping track of
> patches as they are submitted here).

Andrew Morton is good about pulling in the IOMMU patches as soon as we
push them. So the -mm kernel is an option. Andi also queues up the
patches in his firstfloor repository. So you can pull the patches from

So, if you can't wait for the latest kernel and don't want to
get the latest kernel and patch it with Andi's patches on firstfloor,
then the mm kernel will be the best option. But, the mercurial tree I
mentioned above should be sufficient.


> Leo Duran.
> -----Original Message-----
> From: Muli Ben-Yehuda [mailto:muli@xxxxxxxxxx]
> Sent: Thursday, August 03, 2006 2:24 AM
> To: Rolf Eike Beer
> Cc: Andrew Morton; linux-kernel@xxxxxxxxxxxxxxx; Andi Kleen;
> discuss@xxxxxxxxxx
> Subject: [discuss] Re: [PATCH] Move valid_dma_direction() from x86_64
> generic code
> On Thu, Aug 03, 2006 at 08:25:19AM +0200, Rolf Eike Beer wrote:
> > > ./arch/x86_64/kernel/pci-swiotlb.c:6:#include <asm/dma-mapping.h>
> > > ./drivers/net/fec_8xx/fec_main.c:40:#include <asm/dma-mapping.h>
> > > ./drivers/net/fs_enet/fs_enet.h:11:#include <asm/dma-mapping.h>
> > > ./include/asm-x86_64/swiotlb.h:5:#include <asm/dma-mapping.h>
> >
> > I suspect it to be a bug anyway that every of this files ever
> > asm/dma-mapping.h.
> Agreed wrt the fs_enet and fec_8xx; the swiotlb stuff I dimly recall I
> had a reason for. I'll take a look in bit to verify akpm's fix works.
> > > ./include/linux/dma-mapping.h:27:#include <asm/dma-mapping.h>
> >
> > This is perfectly valid, isn't it :)
> :-)
> Cheers,
> Muli

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at