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

RE: [PATCH] x86/vtd: relax EPT page table sharing check


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Mon, 20 Apr 2020 02:41:16 +0000
  • Accept-language: en-US
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Mon, 20 Apr 2020 02:41:52 +0000
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version: 11.2.0.6
  • Ironport-sdr: c+7WvAwjCRhlst9c5+Ne13W0w10FswryWkrR5TyLO+xt26voDYYSE3dQcroKPatOq2WhtxGBzs 3lpQp4BfrvAw==
  • Ironport-sdr: T9VNeDHfCIh1jTN5Qen7Qbaz8Mojh7O7X3v+2MB5ZtIm7cZuQw/fCO/R9U+C1c7lHmOVJ859Ky er9o7WCbEmOA==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWFKuYa2F4ckLYBUip3x2dtyt9faiBUOCw
  • Thread-topic: [PATCH] x86/vtd: relax EPT page table sharing check

> From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> 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.pau@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>

 


Rackspace

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