This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] PAE xen + linux kernel boots ...

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

Xen-devel mailing list