From: "Jan Beulich" Subject: Re: [PATCH 5/6] docs: Document start_info changes in Xen 4.2. Date: Mon, 18 Mar 2013 13:08:15 +0000 Message-ID: <51471FCF02000078000C660C@nat28.tlf.novell.com> References: <5147009C02000078000C6486@nat28.tlf.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: Konrad Rzeszutek Wilk Cc: Ian Campbell , Keir Fraser , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 18.03.13 at 12:11, Keir Fraser wrote: > On 18/03/2013 10:55, "Jan Beulich" wrote: > >>>>> On 15.03.13 at 20:51, Konrad Rzeszutek Wilk wrote: >>> The 25833:bb85bbccb1c9. "x86/32-on-64: adjust Dom0 initial page table >>> layout" >>> fixes a bug in the reported value of pt_base versus where the page tables >>> actually start. This documents this in the start of the world header note. >>> >>> This clarifies the implied understanding that the page table space is >>> pointed by pt_base. As in it is ".. implied that the range of page-tables >>> is the range [pt_base, pt_base + nr_pt_frames), whereas that that range >>> here indeed is [pt_base - 2, pt_base -2 + nr_pt_frames)" (Jan Beulich). >>> >>> Also make it crystal clear that pt_base == %cr3. >> >> Question is - do we really want this? While I provided aforementioned >> fix, I was never really convinced whether it was the hypervisor or >> the kernel that misbehaved here. It just was so that dealing with this >> on the hypervisor side was much easier. >> >> Perhaps Keir would remember what the original intentions (if any) >> were regarding the page table layout (i.e. whether the above >> equality was really intended). > > I think I did intend pt_base == cr3 == first page-table page in the > consecutive sequence of reserved pages on domain startup. In that case, Konrad, feel free to put my ack on that patch. Jan