[PATCH v2 0/4] kexec/arm64: Add support for zlib compressed kernel images (Image.gz)

Bhupesh Sharma bhsharma at redhat.com
Tue Jul 16 12:15:14 PDT 2019


On Tue, Jul 16, 2019 at 5:19 PM Simon Horman <horms at verge.net.au> wrote:
>
> On Mon, Jul 15, 2019 at 11:32:52AM +0530, Bhupesh Sharma wrote:
> > Changes since v1:
> > ----------------
> > (v1 can be viewed here: http://lists.infradead.org/pipermail/kexec/2019-July/023288.html)
> >  - Fixed the potential file descriptor leakage code legs pointed out by
> >    Simon.
> >  - Ran Valgrind to make sure no potential memory leakage issues are
> >    introduced by this patchset.
> >
> > This patchset adds the support for zlib compressed kernel images
> > (Image.gz) for arm64 kexec-tools.
> >
> > This was discussed a bit with the arm64 kernel maintainers (see [0]) and
> > after discussing the pros and cons of adding this support in
> > kernel-space v/s in user-space, we decided it makes more sense to add
> > this support to the user-space kexec-tools.
> >
> > Note that this series adds support for unsigned arm64 Image.gz files
> > only as signing an Image.gz type file is not a easy implementation from
> > kexec-tools p-o-v. Also even standard signing tools like sbsign fail to
> > recongize the Image.gz format:
> >
> >  $ sbsign --key certs/signing_key.pem  --cert certs/signing_key.pem Image.gz
> >    Invalid DOS header magic
> >
> > ... because that gzip file isn't a PE32+ that can be loaded by UEFI.
> > So I will work on the same in coming days and try to send a RFC
> > patchset for the same later on.
> >
> > [0]. http://lists.infradead.org/pipermail/kexec/2019-June/023156.html
>
> Thanks, applied for inclusion in v2.0.20.

Thanks Simon.



More information about the kexec mailing list