From: "Jan Beulich" Subject: Re: Shared page tables between ETP and IOMMU issue Date: Thu, 26 Feb 2015 15:57:29 +0000 Message-ID: <54EF507902000078000642F7@mail.emea.novell.com> References: <54EF3F8A.5020608@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YR0od-00089U-P2 for xen-devel@lists.xenproject.org; Thu, 26 Feb 2015 15:57:31 +0000 In-Reply-To: <54EF3F8A.5020608@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 16:45, wrote: > While testing PVH Dom0 support on a newer Core i3-5010U I've found that > sharing the page tables between EPT and the IOMMUs don't work. Booting > with iommu=no-sharept solves the problem, but I'm unsure what causes > this issue. Is FreeBSD fiddling with its own memory map in some way? It's rather surprising to see not just an occasional fault, but many of them, and with L2 or even L3 entries not present. I.e. if it's not the OS requesting re-arrangements, I would suppose table setup itself is screwed up in some way. In the end - knowing the valid GFN range for the guest - you may want to monitor/log how tables get created and whether (and if so by whom) later some of the entries get zapped. Jan