From: David Woodhouse Subject: Re: Re: [RFC] Make AGP work with IOMMU Date: Wed, 05 Aug 2009 07:44:56 +0100 Message-ID: <1249454696.9324.325.camel@macbook.infradead.org> References: <1248707041.6100.35.camel@macbook.infradead.org> <21d7e9970907282328l4a44b9a2of4500c5c84a3586b@mail.gmail.com> <1248851712.19733.214.camel@macbook.infradead.org> <21d7e9970907290143q6778511cvda1c6b915f61654a@mail.gmail.com> <1248860205.19733.238.camel@macbook.infradead.org> <4A78C9C6.6010103@goop.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A78C9C6.6010103@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, Zhenyu Wang , Joerg Roedel , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Dave Airlie , Keir Fraser List-Id: xen-devel@lists.xenproject.org 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@intel.com Intel Corporation