Re: [RFC PATCH 1/4] efi/libstub: Avoid legacy decompressor zlib/zstd wrappers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Jan 2025 at 08:33, Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>
> On Tue, 14 Jan 2025 at 01:31, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> >
> > Hi,
> >
> > On Wed, Dec 18, 2024 at 04:03:17PM +0100, Ard Biesheuvel wrote:
> > > From: Ard Biesheuvel <ardb@xxxxxxxxxx>
> > >
> > > Remove the dependency on the decompression wrappers used by the legacy
> > > decompressor, which do some odd things like providing a barebones
> > > malloc() implementation. Instead, implement GZIP deflate and ZSTD
> > > decompression in terms of the underlying libraries.
> > >
> > > Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
> >
> > With this patch in linux-next, my loongarch boot tests with qemu
> > no longer boot. Log message is:
> >
> > qemu log:
> > EFI stub: Decompressing Linux Kernel...
> > EFI stub: EFI_RNG_PROTOCOL unavailable
> > EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
> > EFI stub: Exiting boot services
> >
> > ... and then there is nothing until I abort the emulation.
> >
> > Reverting this patch results in a build failure, so I awas not able to
> > test it. Bisect results are atatched for reference.
> >
>
> Thanks for the report - I'll drop the patch for now, and try again next cycle.

Mind sharing your config/firmware/command line details? I'm failing to
reproduce the issue.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux