All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@suse.de>
To: John Levon <levon@movementarian.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: new domain builder breaks compatibility
Date: Thu, 01 Feb 2007 16:15:16 +0100	[thread overview]
Message-ID: <45C20404.6040109@suse.de> (raw)
In-Reply-To: <20070201145517.GA26562@totally.trollied.org.uk>

John Levon wrote:
> On Thu, Feb 01, 2007 at 10:04:43AM +0100, Gerd Hoffmann wrote:
> 
>> John Levon wrote:
>>> To quote xen.h:
>>>
>>> 495  *  9. There is guaranteed to be at least 512kB padding after the final
>>> 496  *     bootstrap element. If necessary, the bootstrap virtual region is
>>> 497  *     extended by an extra 4MB to ensure this.
>>> which, predictably enough, breaks Solaris, which tries to use this area as
>>> ecratch memory during early boot.
>> The attached patch should fix this.
> 
> Does that ensure the 4Mb alignment too?

Yes.  Uhm, no, depends.  It completely fills the topmost L1 pagetable
with entries, so you end up with an 4MB alignment for 32bit and 2MB
alignment for PAE and 64bit.  I think the old builder had the same
behaviour, so the 4MB are actually a documentation bug ;)

> BTW what is dom->extra_pages intended for?

Allows allocation of some extra space.  Used by the kexec bits I have in
the queue, it places some code which finishes the memory layout before
jumping to the new kernel entry point above the boot stack, so it needs
some way to reserve memory there.

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

  reply	other threads:[~2007-02-01 15:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 21:48 new domain builder breaks compatibility John Levon
2007-02-01  9:04 ` Gerd Hoffmann
2007-02-01 14:55   ` John Levon
2007-02-01 15:15     ` Gerd Hoffmann [this message]
2007-02-01 16:22       ` John Levon
2007-02-01 16:33         ` Gerd Hoffmann
2007-02-01 16:38           ` John Levon
2007-02-01 19:17   ` John Levon
2007-02-01 23:13     ` Keir Fraser
2007-02-02  7:59       ` Gerd Hoffmann
2007-02-02 15:08         ` Keir Fraser
2007-02-02 15:13           ` Gerd Hoffmann
2007-02-02 15:22             ` John Levon
2007-02-02  8:02     ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C20404.6040109@suse.de \
    --to=kraxel@suse.de \
    --cc=levon@movementarian.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.