Re: [PATCH 00/11] kexec_file: Clean up purgatory load

2018-03-09 Thread Philipp Rudo
Hi Dave, On Fri, 9 Mar 2018 13:19:40 +0800 Dave Young wrote: > Hi Philipp, > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > > > Hi everybody > > > > following the discussion with Dave and AKASHI, here are the common code > > patches extracted from my recent patch set (Add

Re: [PATCH 00/11] kexec_file: Clean up purgatory load

2018-03-09 Thread Philipp Rudo
Hi Dave, On Fri, 9 Mar 2018 13:33:48 +0800 Dave Young wrote: > On 03/09/18 at 01:19pm, Dave Young wrote: > > Hi Philipp, > > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > > > > > Hi everybody > > > > > > following the discussion with Dave and AKASHI, here are the common

Re: [PATCH 11/11] kexec_file: Move purgatories sha256 to common code

2018-03-09 Thread Philipp Rudo
Hi Dave, On Fri, 9 Mar 2018 12:43:53 +0800 Dave Young wrote: > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > The code to verify the new kernels sha digest are applicable for all > > architectures. Move it to common code. > > > > Signed-off-by: Philipp Rudo

Re: [PATCH 09/11] kexec_file: Remove mis-use of sh_offset field

2018-03-09 Thread Philipp Rudo
Hi Dave, On Fri, 9 Mar 2018 11:14:20 +0800 Dave Young wrote: > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > The current code uses the sh_offset field in purgatory_info->sechdrs to > > store a pointer to the current load address of the section. Depending > > whether the

Re: [PATCH 08/11] kexec_file: Simplify kexec_purgatory_setup_sechdrs 2

2018-03-09 Thread Philipp Rudo
Hi Dave, On Fri, 9 Mar 2018 11:18:05 +0800 Dave Young wrote: > Hi, > > On 02/26/18 at 04:16pm, Philipp Rudo wrote: > > The main loop currently uses quite a lot of variables to update the section > > headers. Some of them are unnecessary. So clean them up a little. > > >

Re: [PATCH v2 0/7] kexec_file, x86, powerpc: refactoring for other architecutres

2018-03-09 Thread AKASHI Takahiro
Dave, On Fri, Mar 09, 2018 at 03:55:47PM +0800, Dave Young wrote: > On 03/09/18 at 03:46pm, Dave Young wrote: > > Hi AKASHI, > > > > On 03/09/18 at 04:18pm, AKASHI Takahiro wrote: > > > Dave, > > > > > > On Fri, Mar 09, 2018 at 02:44:12PM +0800, Dave Young wrote: > > > > On 03/09/18 at 02:02pm,