WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [IOMMU][PATCH 0/4] Add a generic layer on top of intel and a

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [IOMMU][PATCH 0/4] Add a generic layer on top of intel and amd iommu code
From: "Wei Wang2" <wei.wang2@xxxxxxx>
Date: Wed, 13 Feb 2008 17:46:14 +0100
Delivery-date: Wed, 13 Feb 2008 08:47:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi list,
The following patches add a generic layer on top of intel and amd iommu
codes. All
common interfaces exposed to Xen are moved into a new file
(/xen/arch/x86/hvm/iommu.c). Also, iommu_ops is defined to perform
platform-dependent operations. A marco iommu_enabled is defined to check
if
intel or amd h/w is present. 

Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>

 b/diffstat                                        |  711
++++++++++++++++++++++
 b/xen/arch/x86/hvm/iommu.c                        |  132 ++++
 xen/arch/x86/domctl.c                             |    6
 xen/arch/x86/hvm/Makefile                         |    1
 xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-detect.c |    2
 xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-map.c    |   32
 xen/arch/x86/hvm/svm/amd_iommu/pci-amd-iommu.c    |  212 +++++-
 xen/arch/x86/hvm/svm/intr.c                       |   41 +
 xen/arch/x86/hvm/vioapic.c                        |    2
 xen/arch/x86/hvm/vmx/vtd/intel-iommu.c            |   21
 xen/arch/x86/hvm/vmx/vtd/io.c                     |   53 -
 xen/arch/x86/mm/p2m.c                             |   17
 xen/include/asm-x86/hvm/iommu.h                   |    3
 xen/include/asm-x86/hvm/svm/amd-iommu-defs.h      |    5
 xen/include/asm-x86/hvm/svm/amd-iommu-proto.h     |    9
 xen/include/asm-x86/iommu.h                       |   11
 16 files changed, 1171 insertions(+), 87 deletions(-)

Thanks,

Wei
-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy 





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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [IOMMU][PATCH 0/4] Add a generic layer on top of intel and amd iommu code, Wei Wang2 <=