[PATCH 0/8] kexec: put bzImage and ramdisk above 4G for x86 64bit

Vivek Goyal vgoyal at redhat.com
Mon Nov 19 16:00:01 EST 2012


On Fri, Nov 16, 2012 at 03:04:19PM -0800, Yinghai Lu wrote:
> Now we have limit kdump reseved under 896M, because kexec has the limitation.
> and also bzImage need to stay under 4g.
> 
> kernel parts changes could be found at:
>         git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-x86-boot
> 
> here patches are for kexec tools to load bzImage and ramdisk high acccording
> to new added boot header fields.

So does this allow me to load other segments also above 4G? (purgatory,
setup/bootparams, command line etc). I remember that purgaotry has
some 32bit relocations so had to be loaded below 2G. 

Thanks
Vivek

> 
> Yinghai Lu (8):
>   Add min/max macro
>   x86: add boot header member for version 2.12
>   add mem64_min/max control
>   Move out mem_min/max checking in locate_hole
>   seperate checking 64bit mem range
>   debug print out for add_buf
>   x86: put ramdisk high for 64bit bzImage
>   x86: put 64bit bzImage high
> 
>  include/x86/x86-linux.h           |   20 ++++++++++-
>  kexec/add_buffer.c                |    9 ++++-
>  kexec/arch/i386/kexec-bzImage.c   |   53 ++++++++++++++++++++++++++--
>  kexec/arch/i386/x86-linux-setup.c |   32 ++++++++++++-----
>  kexec/arch/ppc/include/types.h    |   12 ------
>  kexec/kexec.c                     |   69 +++++++++++++++++++++++++++++-------
>  kexec/kexec.h                     |   21 +++++++++++-
>  7 files changed, 175 insertions(+), 41 deletions(-)
> 
> -- 
> 1.7.7



More information about the kexec mailing list