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] [PATCH] IOMMU: Add two generic functions to vendor neutral i

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] IOMMU: Add two generic functions to vendor neutral interface
From: Wei Wang2 <wei.wang2@xxxxxxx>
Date: Thu, 18 Jun 2009 15:27:54 +0200
Delivery-date: Thu, 18 Jun 2009 06:30:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 20070904.708012)
Hi,
This patch adds 2 generic functions into the vendor neutral iommu interface, 
The reason is that from changeset 19732, there is only one global 
flag "iommu_enabled" that controls iommu enablement for both vtd and amd 
systems, so we need different code paths for vtd and amd iommu systems if this 
flag has been turned on. Also, the early checking  of "iommu_enabled" in  
iommu_setup() is removed to prevent iommu functionalities from been disabled 
on amd systems.
Thanks,
-Wei

Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>
--
 AMD GmbH, Germany
 Operating System Research Center
 
 Legal Information:
 Advanced Micro Devices GmbH
 Karl-Hammerschmidt-Str. 34
 85609 Dornach b. München
 
 Geschäftsführer: Jochen Polster, Thomas M. McCoy, Giuliano Meroni
 Sitz: Dornach, Gemeinde Aschheim, Landkreis München
 Registergericht München, HRB Nr. 43632

Attachment: fix_global_variable.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] IOMMU: Add two generic functions to vendor neutral interface, Wei Wang2 <=