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

Simon Horman horms at kernel.org
Tue Aug 1 00:00:41 PDT 2023


On Mon, Jul 24, 2023 at 10:21:40AM +0800, Pingfan Liu wrote:
> From: Jeremy Linton <jeremy.linton at arm.com>
> 
> 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-by: Jeremy Linton <jeremy.linton at arm.com>
> [Modified by Pingfan to export kernel fd]
> Signed-off-by: Pingfan Liu <piliu at redhat.com>

Hi Pingfan,

unfortunately this causes a build failure on hppa.

../../kexec/kexec-pe-zboot.c:31:10: fatal error: kexec-pe-zboot.h: No such file or directory
   31 | #include <kexec-pe-zboot.h>
      |          ^~~~~~~~~~~~~~~~~~

Link: https://github.com/horms/kexec-tools/actions/runs/5723580523/job/15508425790



More information about the kexec mailing list