Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753278AbbBSRpE (ORCPT ); Thu, 19 Feb 2015 12:45:04 -0500 Received: from smarthost01a.mail.zen.net.uk ([212.23.1.1]:45366 "EHLO smarthost01a.mail.zen.net.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306AbbBSRpC (ORCPT ); Thu, 19 Feb 2015 12:45:02 -0500 Message-ID: <54E62118.2090704@cantab.net> Date: Thu, 19 Feb 2015 17:44:56 +0000 From: David Vrabel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com References: <1424242326-26611-1-git-send-email-jgross@suse.com> <1424242326-26611-13-git-send-email-jgross@suse.com> In-Reply-To: <1424242326-26611-13-git-send-email-jgross@suse.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 82.70.146.43 X-SA-Exim-Mail-From: dvrabel@cantab.net Subject: Re: [Xen-devel] [PATCH 12/13] xen: if p2m list located in to be remapped region delay remapping X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on pear.davidvrabel.org.uk) X-Originating-smarthost01a-IP: [82.70.146.41] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 20 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" ? > 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. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/