Re: [PATCH v4 17/26] x86/boot: Reduce size of the DOS stub

From: Ard Biesheuvel
Date: Sat Mar 11 2023 - 12:28:10 EST


On Sat, 11 Mar 2023 at 15:49, Evgeniy Baskov <baskov@xxxxxxxxx> wrote:
>
> On 2023-03-10 17:59, Ard Biesheuvel wrote:
> > On Thu, 15 Dec 2022 at 13:40, Evgeniy Baskov <baskov@xxxxxxxxx> wrote:
> >>
> >> This is required to fit more sections in PE section tables,
> >> since its size is restricted by zero page located at specific offset
> >> after the PE header.
> >>
> >> Tested-by: Mario Limonciello <mario.limonciello@xxxxxxx>
> >> Tested-by: Peter Jones <pjones@xxxxxxxxxx>
> >> Signed-off-by: Evgeniy Baskov <baskov@xxxxxxxxx>
> >
> > I'd prefer to rip this out altogether.
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=9510f6f04f579b9a3f54ad762c75ab2d905e37d8
>
> Sounds great! Can I replace this patch with yours in v5?
>

Of course.

> >
> > (and refer to the other thread in linux-efi@)
>
> Which thread exactly? The one about the removal of
> real-mode code?
>

Yes, this one

https://lore.kernel.org/linux-efi/20230308202209.2980947-1-ardb@xxxxxxxxxx/