From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752114AbbBXHBq (ORCPT ); Tue, 24 Feb 2015 02:01:46 -0500 Received: from cantor2.suse.de ([195.135.220.15]:41064 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbbBXHBp (ORCPT ); Tue, 24 Feb 2015 02:01:45 -0500 Message-ID: <54EC21D7.5010900@suse.com> Date: Tue, 24 Feb 2015 08:01:43 +0100 From: Juergen Gross User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: David Vrabel , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com Subject: Re: [Xen-devel] [PATCH 12/13] xen: if p2m list located in to be remapped region delay remapping References: <1424242326-26611-1-git-send-email-jgross@suse.com> <1424242326-26611-13-git-send-email-jgross@suse.com> <54E62118.2090704@cantab.net> In-Reply-To: <54E62118.2090704@cantab.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/19/2015 06:44 PM, David Vrabel wrote: > On 18/02/2015 06:52, Juergen Gross wrote: >> With adapting the memory layout of dom0 to that of the host care must >> be taken not to remap the initial p2m list supported by the hypervisor. > > "...supplied by the hypervisor" ? Yes, of course. > >> If the p2m map is detected to be in a region which is going to be >> remapped, delay the remapping of that area. Not doing so can either >> crash the system very early, or lead to clobbered data as the target >> memory area of the remap operation will no longer be reserved. > > Would it be better to relocate the p2m before remapping memory? If not, > explain why in the commit message. Okay, will do. Juergen