[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 0/5] efi: Implement generic EFI boot for x86
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v4 0/5] efi: Implement generic EFI boot for x86 |
Date: |
Wed, 24 May 2023 22:21:49 +0200 |
On Tue, May 23, 2023 at 05:31:40PM +0200, Ard Biesheuvel wrote:
> Switch the i386-efi and x86_64-efi builds to the generic EFI loader,
> which enters the Linux kernel via the EFI stub and provides the initrd
> via the LoadFile2 protocol. This unifies x86 with other EFI
> architectures, and removes the dependency on the setup header and struct
> bootparams.
>
> Do some preparatory cleanup first, so we no longer need to rely on the
> MS to SysV calling convention translation code.
>
> Changes since v3:
> - add missing efiapi annotations to efiemu routines
> - work around dead code warning from Coverity by making unnecessary
> changes to the initrd loading logic in the generic EFI loader
>
> Changes since v2:
> - rebase onto latest master, which has the Loongarch changes
> - retain Itanium support for now
> - simplify the fallback logic - attempt to load the image as usual, and
> fallback on failure or if the image does not implement LoadFile2
>
> Changes since v1:
> - drop Itanium support, which is a maintenance burden as it shares the
> EFI code with other architectures, but does not have a EFI stub in
> Linux, and there is no way to test whether our changes break the boot
> for it or not;
> - enable generic EFI for i386 as well
> - wire up the existing x86 code as a fallback for kernels that lack EFI
> stub or LoadFile2 support. This removes the need for additional
> changes to support v5.8 or older kernels.
>
> Cc: Daniel Kiper <daniel.kiper@oracle.com>
> Cc: Glenn Washburn <development@efficientek.com>
>
> Ard Biesheuvel (5):
> efi: Make EFI PXE protocol methods non-callable
> efi: Add calling convention annotation to all prototypes
> efi: Drop all uses of efi_call_XX wrappers
> efi: Remove x86_64 call wrappers
> efi: Use generic EFI loader for x86_64 and i386
For all the patches Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>...
Thank you for working on this feature!
Daniel
- [PATCH v4 0/5] efi: Implement generic EFI boot for x86, Ard Biesheuvel, 2023/05/23
- [PATCH v4 2/5] efi: Add calling convention annotation to all prototypes, Ard Biesheuvel, 2023/05/23
- [PATCH v4 4/5] efi: Remove x86_64 call wrappers, Ard Biesheuvel, 2023/05/23
- [PATCH v4 1/5] efi: Make EFI PXE protocol methods non-callable, Ard Biesheuvel, 2023/05/23
- [PATCH v4 3/5] efi: Drop all uses of efi_call_XX wrappers, Ard Biesheuvel, 2023/05/23
- [PATCH v4 5/5] efi: Use generic EFI loader for x86_64 and i386, Ard Biesheuvel, 2023/05/23
- Re: [PATCH v4 0/5] efi: Implement generic EFI boot for x86,
Daniel Kiper <=