From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: Re: [PATCH] Enable K8 GART as an IOMMU Date: Tue, 13 Feb 2007 15:42:42 +0200 Message-ID: <20070213134242.GD10380@rhun.ibm.com> References: <1449F58C868D8D4E9C72945771150BDFD965D2@SAUSEXMB1.amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1449F58C868D8D4E9C72945771150BDFD965D2@SAUSEXMB1.amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Langsdorf, Mark" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Feb 12, 2007 at 11:47:09AM -0600, Langsdorf, Mark wrote: > AMD Opteron and Athlon 64 processors have an AGP aperture and GART > built into the processor. Linux has used the AGP GART as an IOMMU > to improve the performance of 32-bit only PCI devices when DMA'ing > into physical memory above 0xffffffff. This patch provides a > similar capability for Xen dom0. > > Most of the code simply migrates the native Linux aperture.c and > pci-gart.c to dom0. A new memory op is added to clear the aperture > mapping from the hypervisor's page tables, which is necessary to > prevent cache alias issues resulting from processor speculation. Could you please split it up into two patches, one of which does the bulk movement around and the other which adds GART support, to make reviewing easier? Thanks, Muli