> From: Roger Pau Monne <roger....@citrix.com> > Sent: Friday, April 17, 2020 7:30 PM > > The EPT page tables can be shared with the IOMMU as long as the page > sizes supported by EPT are also supported by the IOMMU. > > Current code checks that both the IOMMU and EPT support the same page > sizes, but this is not strictly required, the IOMMU supporting more > page sizes than EPT is fine and shouldn't block page table sharing. > > This is likely not a common case (IOMMU supporting more page sizes > than EPT), but should still be fixed for correctness. > > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>