From: "Jan Beulich" Subject: Re: [PATCH v3 10/10] x86/MSI-X: provide hypercall interface for mask-all control Date: Fri, 19 Jun 2015 15:52:07 +0100 Message-ID: <558448B70200007800087169@mail.emea.novell.com> References: <55719F9D0200007800081425@mail.emea.novell.com> <5571A3F202000078000814CA@mail.emea.novell.com> <557964870200007800083706@mail.emea.novell.com> <55795A3D.7060304@citrix.com> <55842E9702000078000870C9@mail.emea.novell.com> <9684E66C-8A2C-4464-9BF5-B45D0C598DAC@oracle.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 1Z5xeL-00012s-0d for xen-devel@lists.xenproject.org; Fri, 19 Jun 2015 14:52:09 +0000 In-Reply-To: <9684E66C-8A2C-4464-9BF5-B45D0C598DAC@oracle.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: Konrad Rzeszutek Wilk Cc: Wei Liu , Stefano Stabellini , Andrew Cooper , Ian Jackson , Ian Campbell , xen-devel , dgdegra@tycho.nsa.gov, Keir Fraser , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org >>> On 19.06.15 at 15:05, wrote: >>And now that I started looking into what it takes to make this >>work, I'm having a deja vu: In order for us to reliably intercept >>all CFG accesses, we need to whitelist the MMCFG pages of >>devices we know we don't care about being written. I.e. we >>need to start out with all of them being read-only. And the >>affected MFNs have to be known before Dom0 maps these >>pages (or else we would have to hunt down all the mappings in >>the page tables, which is nothing I consider even remotely >>reasonable). Yet, and here comes the deja vu, upstream Linux >>_still_ doesn't make use of PHYSDEVOP_pci_mmcfg_reserved. > > Yes it does: > http://lists.xenproject.org/archives/html/xen-devel/2013-11/msg00807.html Oh, sorry - I expected it to live somewhere under arch/x86/. Jan