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

[Xen-devel] [PATCH 1/3] amd iommu: reduce io page level for hvm guest



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

 


Rackspace

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