From: "Jan Beulich" Subject: Re: [v3][PATCH 1/1] xen:vtd: missing RMRR mapping while share EPT Date: Fri, 25 Jul 2014 09:34:48 +0100 Message-ID: <53D232C80200007800025E4D@mail.emea.novell.com> References: <1406199618-21574-1-git-send-email-tiejun.chen@intel.com> <20140724111143.GF1817@deinos.phlegethon.org> <53D0ED1B.80107@intel.com> <20140724113528.GD1821@deinos.phlegethon.org> <53D113C80200007800025848@mail.emea.novell.com> <53D21C350200007800025CC7@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Yang Z Zhang Cc: Tiejun Chen , Kevin Tian , Tim Deegan , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 25.07.14 at 10:19, wrote: > Jan Beulich wrote on 2014-07-25: >>>>> On 25.07.14 at 02:56, wrote: >>> Jan Beulich wrote on 2014-07-24: >>>>>>> On 24.07.14 at 13:35, wrote: >>>>> (BTW, I think this patch can go in as-is, and the address-space >>>>> clash be fixed up separately.) >>>> >>>> Not sure - I agree it shouldn't make things worse except when there >>>> is an RMRR but the device doesn't actually access it (i.e. would be >>>> fine without this patch). But I'm not sure committing half >>>> solutions is really appropriate for not really pressing issues. >>> >>> I think we are talking two issues. The address-apace clash has >>> nothing to do with the issue this patch tries to fix. We will work >>> out another patch to fix it as Tim suggested. >> >> No, we aren't: This patch _introduces_ the address space clash. > > In non-sharept case, do we reserve the RMRR in e820 table? If not, the guest > may use it as DMA buffer and it actually the same problem we are talking > here. True, indeed. Yet I still consider the patch is fixing a problem at the price of making that situation worse. Jan