aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/iommu.h
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-01-10 08:40:32 +0000
committerKeir Fraser <keir@xen.org>2011-01-10 08:40:32 +0000
commit6cd8743754e43125aba681f11b94e2d8bbb413e0 (patch)
treeb63a74a6f152b92b11d8e24845e9497aaf343190 /xen/include/xen/iommu.h
parent4306e1ed46b7d0b3b44e69983f8701ce7785b669 (diff)
downloadxen-6cd8743754e43125aba681f11b94e2d8bbb413e0.tar.gz
xen-6cd8743754e43125aba681f11b94e2d8bbb413e0.tar.bz2
xen-6cd8743754e43125aba681f11b94e2d8bbb413e0.zip
EPT/VT-d: bug fix for EPT/VT-d table sharing
This patch makes following changes: 1) Moves EPT/VT-d sharing initialization back to when it is actually needed to make sure vmx_ept_vpid_cap has been initialized. 2) added page order parameter to iommu_pte_flush() to tell VT-d what size of page to flush. 3) added hap_2mb flag to ease performance studies between base 4KB EPT size and when 2MB and 1GB page size support are enabled. Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r--xen/include/xen/iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
index 934ffab059..4b93c31e38 100644
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -85,7 +85,7 @@ int iommu_get_device_group(struct domain *d, u8 bus, u8 devfn,
int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn,
unsigned int flags);
int iommu_unmap_page(struct domain *d, unsigned long gfn);
-void iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte, int present);
+void iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte, int order, int present);
void iommu_set_pgd(struct domain *d);
void iommu_domain_teardown(struct domain *d);
int hvm_do_IRQ_dpci(struct domain *d, unsigned int irq);