Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483816

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

From Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum.
Date 2016-09-15 04:00 +0200
Message-ID <shu81-re-3@gated-at.bofh.it> (permalink)
References <shtbX-8jE-1@gated-at.bofh.it> <shtbY-8jE-13@gated-at.bofh.it> <shtYm-nL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
> > 
> >  source kernel/Kconfig.hz
> > 
> > +# x86 needs to relocate the purgatory after the checksum is calculated,
> > +# therefore the purgatory cannot be part of the kexec image checksum.
> > +config ARCH_MODIFIES_KEXEC_PURGATORY
> > +	bool
> > +
> 
> The above should probably be in arch/Kconfig (with an appropriately
> changed comment) since it is used in generic code.

Thanks for your quick response! I'll make that change tomorrow and send an 
updated version of just this patch.

-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/5] kexec_file: Add buffer hand-over for the next kernel Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 03:00 +0200
  [PATCH v5 2/5] kexec_file: Add buffer hand-over support for the next kernel Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 03:00 +0200
  [PATCH v5 5/5] IMA: Demonstration code for kexec buffer passing. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 03:00 +0200
  [PATCH v5 4/5] kexec_file: Add mechanism to update kexec segments. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 03:00 +0200
  [PATCH v5 3/5] powerpc: kexec_file: Add buffer hand-over support for the next kernel Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 03:00 +0200
  [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 03:00 +0200
    Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the  kexec image checksum. Stephen Rothwell <sfr@canb.auug.org.au> - 2016-09-15 03:50 +0200
      Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 04:00 +0200
      Re: [PATCH v5 1/5] kexec_file: Include the purgatory segment in the kexec image checksum. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-09-15 18:00 +0200

csiph-web