Re: [Xen-devel] Re: [RFC] Make AGP work with IOMMU

From: David Woodhouse
Date: Wed Aug 05 2009 - 02:45:23 EST


On Tue, 2009-08-04 at 16:52 -0700, Jeremy Fitzhardinge wrote:
> And just when I have patches to use them for their original purpose...
>
> Looking back over the thread, are you saying that most users are already
> using the DMA API correctly for AGP accesses? If that's true then we
> should be just fine.

No, not 'most users'. But perhaps we should.

All we've done so far is make intel-agp use the DMA API correctly. And
that's conditional on CONFIG_DMAR. But we could make it unconditional,
and make the other drivers do it too. The code is all fairly generic.

Without an IOMMU, the overhead would be fairly minimal.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/