Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum.

2016-09-15 Thread Thiago Jung Bauermann
ORY > > + bool > > + > > The above should probably be in arch/Kconfig (with an appropriately > changed comment) since it is used in generic code. Here is the new version, with that change. -- []'s Thiago Jung Bauermann IBM Linux Technology Center Subject: [PAT

Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum.

2016-09-14 Thread Thiago Jung Bauermann
Hello Stephen, Am Donnerstag, 15 September 2016, 11:43:08 schrieb Stephen Rothwell: > Hi Thiago, > > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > > index 2a1f0ce7c59a..dcd1679f3005 100644 > > --- a/arch/x86/Kconfig > > +++ b/arch/x86/Kconfig > > @@ -1792,6 +1792,11 @@ config SECCOMP > >

Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum.

2016-09-14 Thread Stephen Rothwell
Hi Thiago, > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 2a1f0ce7c59a..dcd1679f3005 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1792,6 +1792,11 @@ config SECCOMP > > source kernel/Kconfig.hz > > +# x86 needs to relocate the purgatory after the checksum is calcu

[PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum.

2016-09-14 Thread Thiago Jung Bauermann
Currently, the purgatory segment is skipped from the kexec image checksum because it is modified to include the calculated digest. By putting the digest in a separate kexec segment, we can include the purgatory segment in the kexec image verification since it won't need to be modified anymore. Wi