From: Keir Fraser Subject: Re: PAE xen + linux kernel boots ... Date: Sat, 30 Apr 2005 11:54:06 +0100 Message-ID: <882ab72161e92b3470da1a3ce14b7a3b@cl.cam.ac.uk> References: <20050425172624.GB22076@bytesex> <87ll74o29m.fsf@bytesex.org> <20050430090117.GC16883@us.ibm.com> <20050430095123.GE16883@us.ibm.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050430095123.GE16883@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Scott Parish Cc: xen-devel@lists.xensource.com, Gerd Knorr List-Id: xen-devel@lists.xenproject.org On 30 Apr 2005, at 10:51, Scott Parish wrote: > Switch to xen, which is going to emulate some instructions and fake > the writing. We eventually end up in ptwr_emulated_update(), who among > other things, tries to copy the full l1_pgentry_t (64bits), but from > the 4 byte offset, that is the 4 high bytes and then 4 bytes of > undefined memory that may even be in another page. There's code in the 32-bit ptwr_emulated_update() to turn a sub-pte access into a full-pte access. Either this is missing/broken in the 64-bit version, or the emulator is broken and passing the wrong operand size. -- Keir