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 1/3] amd iommu: reduce io page level for hvm guest

To: Keir Fraser <keir@xxxxxxx>
Subject: [Xen-devel] [PATCH 1/3] amd iommu: reduce io page level for hvm guest
From: Wei Wang2 <wei.wang2@xxxxxxx>
Date: Thu, 27 Jan 2011 15:30:32 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 Jan 2011 06:33:22 -0800
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)
Keir,
These 3 patches optimize and cleanup amd iommu codes for 4.1. If not too 
late please add them into the release. 
Thanks,
Wei

1.Since in most case, 2 or 3 - level IO page tables are sufficient, this patch 
updates page table level for device assignment to reduces overhead of dma 
translation

2. Clean up amd_iommu_reserve_domain_unity_map function to reduce code 
duplication.

3. Clean up invalidate_iommu_page function. Make it suitable for variable page 
sizes and can be reused by invalidate_all_iommu_pages.


Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>
--
Advanced Micro Devices GmbH
Sitz: Dornach, Gemeinde Aschheim, 
Landkreis München Registergericht München, 
HRB Nr. 43632
WEEE-Reg-Nr: DE 12919551
Geschäftsführer:
Alberto Bozzo, Andrew Bowd

Attachment: iommu_pgmode.patch
Description: iommu_pgmode.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 1/3] amd iommu: reduce io page level for hvm guest, Wei Wang2 <=