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

2023-08-07 Thread Pingfan Liu
On Mon, Aug 7, 2023 at 9:23 PM Simon Horman wrote: > > On Thu, Aug 03, 2023 at 10:41:50AM +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 understandin

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

2023-08-07 Thread Simon Horman
On Thu, Aug 03, 2023 at 10:41:50AM +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 l

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

2023-08-02 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. Signed-off