diff -r 823658b538f2 xen/drivers/passthrough/iommu.c --- a/xen/drivers/passthrough/iommu.c Wed Nov 24 17:17:53 2010 +0100 +++ b/xen/drivers/passthrough/iommu.c Wed Nov 24 17:19:13 2010 +0100 @@ -49,6 +49,7 @@ bool_t __read_mostly iommu_intremap = 1; bool_t __read_mostly iommu_intremap = 1; bool_t __read_mostly amd_iommu_debug; bool_t __read_mostly amd_iommu_perdev_intremap; +bool_t __read_mostly iommu_super_page; static void __init parse_iommu_param(char *s) { @@ -81,6 +82,8 @@ static void __init parse_iommu_param(cha iommu_passthrough = 1; else if ( !strcmp(s, "dom0-strict") ) iommu_dom0_strict = 1; + else if ( !strcmp(s, "superpage") ) + iommu_super_page = 1; s = ss + 1; } while ( ss ); diff -r 823658b538f2 xen/include/xen/iommu.h --- a/xen/include/xen/iommu.h Wed Nov 24 17:17:53 2010 +0100 +++ b/xen/include/xen/iommu.h Wed Nov 24 17:19:13 2010 +0100 @@ -32,6 +32,7 @@ extern bool_t iommu_snoop, iommu_qinval, extern bool_t iommu_snoop, iommu_qinval, iommu_intremap; extern bool_t amd_iommu_debug; extern bool_t amd_iommu_perdev_intremap; +extern bool_t iommu_super_page; extern struct rangeset *mmio_ro_ranges;