Re: [patch 2.6.13 0/6] swiotlb maintenance and x86_64 dma_sync_single_range_for_{cpu,device}

John W. Linville
2005-09-23T18:22:35Z

On Thu, Sep 22, 2005 at 09:41:55PM +0100, Christoph Hellwig wrote:
> On Thu, Sep 22, 2005 at 01:37:46PM -0700, Luck, Tony wrote:
> > >Conduct some maintenance of the swiotlb code:
> > >
> > > -- Move the code from arch/ia64/lib to lib
> >
> > I agree that this code needs to move up out of arch/ia64, it is messy
> > that x86_64 needs to reach over and grab this from arch/ia64.
> >
> > But is "lib" really the right place for it to move to? Perhaps
> > a more logical place might be "drivers/pci/swiotlb/" since this
> > code is tightly coupled to pci?
>
> It should just go away once the GFP_DMA32 code is merged.

Is that the plan? I suppose it makes sense.

So, move it to driver/pci/swiotlb.c? Or just leave it where it is?

Either way, I'll redo the other patches to reflect the correct
location.

John
--
John W. Linville
linville@tuxdriver.com