lkml.org 
[lkml]   [2018]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v10 07/14] arm64: enable KEXEC_FILE config
James,

On Tue, Jul 03, 2018 at 05:33:20PM +0100, James Morse wrote:
> Hi Akashi,
>
> On 23/06/18 03:20, AKASHI Takahiro wrote:
> > Modify arm64/Kconfig to enable kexec_file_load support.
>
> > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> > index 42c090cf0292..f68318f61c85 100644
> > --- a/arch/arm64/Kconfig
> > +++ b/arch/arm64/Kconfig
> > @@ -835,6 +835,16 @@ config KEXEC
> > but it is independent of the system firmware. And like a reboot
> > you can start any kernel with it, not just Linux.
> >
> > +config KEXEC_FILE
> > + bool "kexec file based system call"
> > + select KEXEC_CORE
> > + select BUILD_BIN2C
>
> Wasn't BIN2C only needed for purgatory?

Right. Will remove it.

> x86/powerpc/s390 all select CRYPTO_SHA256 here, presumably for arch-specific
> verification mechanisms. I assume we're using SIGNED_PE_FILE_VERIFICATION instead.

To be clear, hash check (sha256) will be done at reboot (in purgatory),
while binary verification will be done at load.

>
> > + help
> > + This is new version of kexec system call. This system call is
> > + file based and takes file descriptors as system call argument
> > + for kernel and initramfs as opposed to list of segments as
> > + accepted by previous system call.
> > +
> > config CRASH_DUMP
> > bool "Build kdump crash kernel"
> > help
>
>
> Acked-by: James Morse <james.morse@arm.com>

Thanks!
-Takahiro AKASHI

>
> Thanks,
>
> James

\
 
 \ /
  Last update: 2018-07-09 08:31    [W:0.062 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site