Re: [PATCH] efi_loader: Don't allocate from Special purpose memory

2024-10-17 Thread Ilias Apalodimas
Hi Heinrich, On Wed, 16 Oct 2024 at 19:57, Heinrich Schuchardt wrote: > > On 17.09.24 11:02, Ilias Apalodimas wrote: > > The EFI spec defines special-purpose memory in §7.2. That memory > > serves as a hint to the OS to avoid allocating this memory for core > > OS data or code that can not be rel

Re: [PATCH] efi_loader: Don't allocate from Special purpose memory

2024-10-16 Thread Heinrich Schuchardt
On 17.09.24 11:02, Ilias Apalodimas wrote: The EFI spec defines special-purpose memory in §7.2. That memory serves as a hint to the OS to avoid allocating this memory for core OS data or code that can not be relocated. So let's ignore it when allocating from conventional memory. Signed-off-by: I

Re: [PATCH] efi_loader: Don't allocate from Special purpose memory

2024-09-17 Thread Sughosh Ganu
On Tue, 17 Sept 2024 at 17:11, Ilias Apalodimas wrote: > > On Tue, 17 Sept 2024 at 13:05, Sughosh Ganu wrote: > > > > On Tue, 17 Sept 2024 at 14:32, Ilias Apalodimas > > wrote: > > > > > > The EFI spec defines special-purpose memory in §7.2. That memory > > > serves as a hint to the OS to avoid

Re: [PATCH] efi_loader: Don't allocate from Special purpose memory

2024-09-17 Thread Ilias Apalodimas
On Tue, 17 Sept 2024 at 13:05, Sughosh Ganu wrote: > > On Tue, 17 Sept 2024 at 14:32, Ilias Apalodimas > wrote: > > > > The EFI spec defines special-purpose memory in §7.2. That memory > > serves as a hint to the OS to avoid allocating this memory for core > > OS data or code that can not be relo

Re: [PATCH] efi_loader: Don't allocate from Special purpose memory

2024-09-17 Thread Sughosh Ganu
On Tue, 17 Sept 2024 at 14:32, Ilias Apalodimas wrote: > > The EFI spec defines special-purpose memory in §7.2. That memory > serves as a hint to the OS to avoid allocating this memory for core > OS data or code that can not be relocated. So let's ignore it when > allocating from conventional memo

[PATCH] efi_loader: Don't allocate from Special purpose memory

2024-09-17 Thread Ilias Apalodimas
The EFI spec defines special-purpose memory in §7.2. That memory serves as a hint to the OS to avoid allocating this memory for core OS data or code that can not be relocated. So let's ignore it when allocating from conventional memory. Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_memo