[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Enable K8 GART as an IOMMU


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
  • Date: Mon, 12 Feb 2007 11:47:09 -0600
  • Delivery-date: Mon, 12 Feb 2007 09:50:04 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdOzdFuTdNjtm8WT1WAkH1i+n6/uQ==
  • Thread-topic: [PATCH] Enable K8 GART as an IOMMU

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.

My thanks to Ulrich Meis [um@xxxxxxxxx], who was 
instrumental in developing and testing this patch. 

Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxx>

Attachment: xen-gart.patch
Description: xen-gart.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.