From: "Jan Beulich" Subject: Re: Shared page tables between ETP and IOMMU issue Date: Thu, 26 Feb 2015 16:43:10 +0000 Message-ID: <54EF5B2E02000078000643EA@mail.emea.novell.com> References: <54EF3F8A.5020608@citrix.com> <54EF507902000078000642F7@mail.emea.novell.com> <54EF49F0.3080000@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YR1Wt-0004P3-QN for xen-devel@lists.xenproject.org; Thu, 26 Feb 2015 16:43:15 +0000 In-Reply-To: <54EF49F0.3080000@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?UTF-8?Q?Roger=20Pau=20Monn=C3=A9?= Cc: yang.z.zhang@intel.com, xen-devel , kevin.tian@intel.com List-Id: xen-devel@lists.xenproject.org >>> On 26.02.15 at 17:29, wrote: > OK, I will try to take a look. All those faults come from physical > memory ranges that are supposed to be usable, and in fact the CPU seems > to be able to read/write from them without problems, or else the guest > would have crashed much more early. Regarding sharing the page tables > between EPT and the IOMMU, is there some bit that needs to be set in the > ept entry in order to mark a page as available by the IOMMU? Bits 0 and 1 (read and write) are shared between VT-d and EPT (as is bit 7 - see struct dma_pte and ept_entry_t). Jan