22 Oct, 2007

6 commits

  • This patch uses the updated boot protocol to do paravirtualized boot.
    If the boot version is >= 2.07, then it will do two things:

    1. Check the bootparams loadflags to see if we should reload the
    segment registers and clear interrupts. This is appropriate
    for normal native boot and some paravirtualized environments, but
    inapproprate for others.

    2. Check the hardware architecture, and dispatch to the appropriate
    kernel entrypoint. If the bootloader doesn't set this, then we
    simply do the normal boot sequence.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Rusty Russell
    Acked-by: H. Peter Anvin
    Cc: "Eric W. Biederman"
    Cc: Vivek Goyal
    Cc: James Bottomley
    Cc: Zachary Amsden
    Cc: Andi Kleen
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • Updates for version 2.07 of the boot protocol. This includes:

    load_flags.KEEP_SEGMENTS- flag to request/inhibit segment reloads
    hardware_subarch - what subarchitecture we're booting under
    hardware_subarch_data - per-architecture data

    The intention of these changes is to make booting a paravirtualized
    kernel work via the normal Linux boot protocol.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Rusty Russell
    Acked-by: H. Peter Anvin
    Cc: "Eric W. Biederman"
    Cc: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • Signed-off-by: Bryan Wu

    Bryan Wu
     
  • Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu

    Mike Frysinger
     
  • force irq_flags into the .data section by initializing it to
    the hardware masks that cannot be disabled. this way if we
    use irq enable/disable functions before the .bss has been
    zeroed out (as does our l1 relocate/dma functions), we dont
    hit a problem where bss contains bogus crap.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu

    Mike Frysinger
     
  • Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu

    Mike Frysinger
     

21 Oct, 2007

13 commits


20 Oct, 2007

21 commits