Re: [PATCH v4 09/12] x86: add xloadflags bit for efi runtime supporton kexec

From: Dave Young
Date: Fri Nov 29 2013 - 03:45:40 EST


On 11/27/13 at 03:27pm, Borislav Petkov wrote:
> On Tue, Nov 26, 2013 at 01:57:54PM +0800, Dave Young wrote:
> > Old kexec-tools can not load new kernel. The reason is previously kexec-tools
>
> The reason is, kexec-tools ... previously, thus efi failed to initialize ...

Good suggestion

>
> > do not fill efi_info in x86 setup header thus efi init fail and switch
> > to noefi boot. In new kexec-tools it will by default fill efi_info and
> > pass other efi required infomation to 2nd kernel so kexec kernel efi
> > initialization will success finally.
>
> succeed

Will fix

>
> >
> > To prevent from breaking userspace, add a new xloadflags bit so kexec-tools
> > will check the flag and switch to old logic.
> >
> > changelog:
> > Matt: +&& defined(CONFIG_KEXEC)
> > HPA: document the flag.
> >
> > Signed-off-by: Dave Young <dyoung@xxxxxxxxxx>
>
> Other than that:
>
> Acked-by: Borislav Petkov <bp@xxxxxxx>
>

Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/