[PATCH v5 0/5] kexec: put bzImage and ramdisk above 4G for x86 64bit
Simon Horman
horms at verge.net.au
Tue Dec 4 00:47:09 EST 2012
Hi Everyone,
there was some healthy discussion around the previous versions
of this series, but so far none on this version. Have we reached
consensus?
On Wed, Nov 28, 2012 at 02:09:49PM -0800, Yinghai Lu wrote:
> Now we have limit kdump reserved 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 above 4G
> acccording to new added boot header fields.
>
> -v3: address review from Eric to use locate_hole at first.
> use xloadflags instead.
> -v4: remove the restriction about bzImage not crossing GB boundary.
> add real-mode fix for bzImage.
> add --entry-32bit and --real-mode for skip bzImage64.
> -v5: use USE_EXT_BOOT_PARAMS bit in xloadflags.
>
> Yinghai Lu (5):
> kexec, x86: add boot header member for version 2.12
> kexec, x86: clean boot_params area for entry-32bit path
> kexec, x86: Fix bzImage real-mode booting
> kexec, x86: put ramdisk/cmd_line above 4G for 64bit bzImage
> kexec, x86_64: Load bzImage64 above 4G
>
> include/x86/x86-linux.h | 32 +++-
> kexec/arch/i386/include/arch/options.h | 4 +-
> kexec/arch/i386/kexec-bzImage.c | 80 +++++++--
> kexec/arch/i386/x86-linux-setup.c | 26 ++-
> kexec/arch/x86_64/Makefile | 1 +
> kexec/arch/x86_64/kexec-bzImage64.c | 335 ++++++++++++++++++++++++++++++++
> kexec/arch/x86_64/kexec-x86_64.c | 1 +
> kexec/arch/x86_64/kexec-x86_64.h | 5 +
> 8 files changed, 462 insertions(+), 22 deletions(-)
> create mode 100644 kexec/arch/x86_64/kexec-bzImage64.c
>
> --
> 1.7.7
>
More information about the kexec
mailing list