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

2018-03-12 Thread Philipp Rudo
On Mon, 12 Mar 2018 15:42:18 +0800 Dave Young wrote: > Hi Philipp, > On 03/09/18 at 11:02am, Philipp Rudo wrote: > > Hi Dave, > > > > > > On Fri, 9 Mar 2018 11:14:20 +0800 > > Dave Young wrote: > > > > > On 02/26/18 at 04:16pm, Philipp Rudo wrote: >

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

2018-03-12 Thread Dave Young
Hi Philipp, On 03/09/18 at 11:02am, Philipp Rudo wrote: > 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

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 09/11] kexec_file: Remove mis-use of sh_offset field

2018-03-08 Thread Dave Young
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 section will be loaded or not this is either a pointer into > purgatory_info->purgatory_buf or