Re: [PATCH] loader/efi/linux: Implement x86 mixed mode using legacy boot

2023-09-14 Thread Daniel Kiper
On Tue, Aug 08, 2023 at 05:42:57PM +0100, Dimitri John Ledkov wrote: > #include ascii art of can of worms here :-) > On Tue, 8 Aug 2023 at 17:27, Ard Biesheuvel wrote: > > > > On Tue, 8 Aug 2023 at 17:34, Dimitri John Ledkov > > wrote: > > > > > > On Mon, 7 Aug 2023, 13:23 Ard Biesheuvel, wrot

Re: [PATCH] loader/efi/linux: Implement x86 mixed mode using legacy boot

2023-08-08 Thread Dimitri John Ledkov
#include ascii art of can of worms here On Tue, 8 Aug 2023 at 17:27, Ard Biesheuvel wrote: > > On Tue, 8 Aug 2023 at 17:34, Dimitri John Ledkov > wrote: > > > > On Mon, 7 Aug 2023, 13:23 Ard Biesheuvel, wrote: > > > > > > Recent mixed-mode Linux kernels (i.e., v4.0 or newer) can access EFI > >

Re: [PATCH] loader/efi/linux: Implement x86 mixed mode using legacy boot

2023-08-08 Thread Ard Biesheuvel
On Tue, 8 Aug 2023 at 17:34, Dimitri John Ledkov wrote: > > On Mon, 7 Aug 2023, 13:23 Ard Biesheuvel, wrote: > > > > Recent mixed-mode Linux kernels (i.e., v4.0 or newer) can access EFI > > runtime services at OS runtime even when the OS was not entered via the > > EFI stub. This is because, inst

Re: [PATCH] loader/efi/linux: Implement x86 mixed mode using legacy boot

2023-08-08 Thread Dimitri John Ledkov
On Mon, 7 Aug 2023, 13:23 Ard Biesheuvel, wrote: > > Recent mixed-mode Linux kernels (i.e., v4.0 or newer) can access EFI > runtime services at OS runtime even when the OS was not entered via the > EFI stub. This is because, instead of reverting back to the firmware's > segment selectors, GDTs and