From: Roger Pau Monne Date: Thu, 24 Jan 2019 10:06:47 +0000 (+0100) Subject: (no commit message) X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1b93eb2a0945f72c7ec86b3b9cee093d169fb323;p=people%2Froyger%2Fxen.git --- diff --git a/xen/drivers/passthrough/iommu.c b/xen/drivers/passthrough/iommu.c index 17c0c729a6..bc613e224d 100644 --- a/xen/drivers/passthrough/iommu.c +++ b/xen/drivers/passthrough/iommu.c @@ -297,9 +297,6 @@ int iommu_map(struct domain *d, dfn_t dfn, mfn_t mfn, if ( !iommu_enabled || !hd->platform_ops ) return 0; - ASSERT(IS_ALIGNED(dfn_x(dfn), (1ul << page_order))); - ASSERT(IS_ALIGNED(mfn_x(mfn), (1ul << page_order))); - for ( i = 0; i < (1ul << page_order); i++ ) { rc = hd->platform_ops->map_page(d, dfn_add(dfn, i), mfn_add(mfn, i),