From: Ian Campbell Subject: Re: [PATCH 13/16] RFC: xen: arm: handle 40-bit addresses in the p2m Date: Fri, 22 Nov 2013 09:49:36 +0000 Message-ID: <1385113776.25845.12.camel@kazak.uk.xensource.com> References: <1384958746.6071.64.camel@kazak.uk.xensource.com> <1384958897-13074-13-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: pranavkumar@linaro.org, julien.grall@linaro.org, tim@xen.org, Anup Patel , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-11-21 at 19:17 +0000, Stefano Stabellini wrote: > On Wed, 20 Nov 2013, Ian Campbell wrote: > > On the X-gene platform there are resources up this high which must be mapped > > to dom0. > > > > I'm becoming more convinced that p2m first level pages should be mapped from > > the xenheap so we can avoid all this faff with figuring out which page is > > needed. > > > > Remove the first level page from the p2m->pages list since it is actually two > > pages and must be freed as such. Do so in p2m_teardown. > > > > I've also punted on the implementation of dump_p2m_lookup for high > > addresses... > > > > Signed-off-by: Ian Campbell > > --- > > This is a little bit RFC... > > The patch looks good but the commit message is very unclear. It is > best to clarify what this patch intends to do and then separately what > could be a future development. Yeah, it is a bit stream of consciousness isn't it. I've dropped the paragraph "I'm becoming..." which I think isn't really necessary in the commit log. I think without that the commit message is ok, what do you think?