Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-03 Thread Simon Horman
On Thu, Aug 03, 2023 at 10:37:10AM +0800, Pingfan Liu wrote: > On Wed, Aug 2, 2023 at 8:33 PM Simon Horman wrote: > > > > On Wed, Aug 02, 2023 at 02:17:57PM +0200, Simon Horman wrote: > > > On Wed, Aug 02, 2023 at 02:16:33PM +0200, Simon Horman wrote: > > > > On Wed, Aug 02, 2023 at 05:53:59PM

Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-02 Thread Pingfan Liu
On Wed, Aug 2, 2023 at 8:33 PM Simon Horman wrote: > > On Wed, Aug 02, 2023 at 02:17:57PM +0200, Simon Horman wrote: > > On Wed, Aug 02, 2023 at 02:16:33PM +0200, Simon Horman wrote: > > > On Wed, Aug 02, 2023 at 05:53:59PM +0800, Pingfan Liu wrote: > > > > Hi Simon, > > > > > > > > Thanks for

Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-02 Thread Simon Horman
On Wed, Aug 02, 2023 at 02:17:57PM +0200, Simon Horman wrote: > On Wed, Aug 02, 2023 at 02:16:33PM +0200, Simon Horman wrote: > > On Wed, Aug 02, 2023 at 05:53:59PM +0800, Pingfan Liu wrote: > > > Hi Simon, > > > > > > Thanks for the try. Please see the comment below. > > > > > > On Tue, Aug 1,

Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-02 Thread Simon Horman
On Wed, Aug 02, 2023 at 02:16:33PM +0200, Simon Horman wrote: > On Wed, Aug 02, 2023 at 05:53:59PM +0800, Pingfan Liu wrote: > > Hi Simon, > > > > Thanks for the try. Please see the comment below. > > > > On Tue, Aug 1, 2023 at 3:00 PM Simon Horman wrote: > > > > > > On Mon, Jul 24, 2023 at

Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-02 Thread Simon Horman
On Wed, Aug 02, 2023 at 05:53:59PM +0800, Pingfan Liu wrote: > Hi Simon, > > Thanks for the try. Please see the comment below. > > On Tue, Aug 1, 2023 at 3:00 PM Simon Horman wrote: > > > > On Mon, Jul 24, 2023 at 10:21:40AM +0800, Pingfan Liu wrote: > > > From: Jeremy Linton > > > > > > The

Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-02 Thread Pingfan Liu
Hi Simon, Thanks for the try. Please see the comment below. On Tue, Aug 1, 2023 at 3:00 PM Simon Horman wrote: > > On Mon, Jul 24, 2023 at 10:21:40AM +0800, Pingfan Liu wrote: > > From: Jeremy Linton > > > > The linux kernel CONFIG_ZBOOT option creates > > self decompressing PE kernel images.

Re: [PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-08-01 Thread Simon Horman
On Mon, Jul 24, 2023 at 10:21:40AM +0800, Pingfan Liu wrote: > From: Jeremy Linton > > The linux kernel CONFIG_ZBOOT option creates > self decompressing PE kernel images. So this means > that kexec should have a generic understanding of > the format which may be used by multiple arches. > > So

[PATCHv6 3/5] kexec/zboot: Add arch independent zboot support

2023-07-23 Thread Pingfan Liu
From: Jeremy Linton The linux kernel CONFIG_ZBOOT option creates self decompressing PE kernel images. So this means that kexec should have a generic understanding of the format which may be used by multiple arches. So lets add an arch independent validation and decompression routine.