Re: [PATCH 5/6] kexec-bzImage: Support for loading bzImage using 64bit entry

2013-12-02 Thread Vivek Goyal
On Thu, Nov 28, 2013 at 07:35:14PM +0800, Baoquan He wrote: [..] > > +void *bzImage64_load(struct kimage *image, char *kernel, > > + unsigned long kernel_len, > > + char *initrd, unsigned long initrd_len, > > + char *cmdline, unsigned long cmdline_len) > > +{ > > + >

Re: [PATCH 5/6] kexec-bzImage: Support for loading bzImage using 64bit entry

2013-11-28 Thread Baoquan He
On 11/20/13 at 12:50pm, Vivek Goyal wrote: > This is loader specific code which can load bzImage and set it up for > 64bit entry. This does not take care of 32bit entry or real mode entry > yet. > > Signed-off-by: Vivek Goyal > --- > arch/x86/include/asm/kexec-bzimage.h | 12 + > arch/x86/incl

Re: [PATCH 5/6] kexec-bzImage: Support for loading bzImage using 64bit entry

2013-11-22 Thread H. Peter Anvin
On 11/21/2013 11:21 AM, Vivek Goyal wrote: >> >> What do you mean by the "real mode entry"? Do we need to care about >> that because we aren't falling back to real mode when executing this, >> are we? Or does that just happen for 32bit kernels? > > Original kexec offers real mode entry choice to

[PATCH 5/6] kexec-bzImage: Support for loading bzImage using 64bit entry

2013-11-20 Thread Vivek Goyal
This is loader specific code which can load bzImage and set it up for 64bit entry. This does not take care of 32bit entry or real mode entry yet. Signed-off-by: Vivek Goyal --- arch/x86/include/asm/kexec-bzimage.h | 12 + arch/x86/include/asm/kexec.h | 26 +++ arch/x86/kernel/Makefil