Re: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-12-07 Thread Demi Marie Obenour
On Wed, Dec 07, 2022 at 11:11:40AM +0100, Jan Beulich wrote: > On 07.12.2022 00:27, Demi Marie Obenour wrote: > > A previous patch tried to get Linux to use the ESRT under Xen if it is > > in memory of type EfiRuntimeServicesData. However, this turns out to be > > a bad idea. Ard Biesheuvel point

Re: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-12-07 Thread Jan Beulich
On 07.12.2022 00:27, Demi Marie Obenour wrote: > A previous patch tried to get Linux to use the ESRT under Xen if it is > in memory of type EfiRuntimeServicesData. However, this turns out to be > a bad idea. Ard Biesheuvel pointed out that EfiRuntimeServices* memory > winds up fragmenting both th

Re: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-12-06 Thread Demi Marie Obenour
On Wed, Dec 07, 2022 at 02:44:11AM +, Henry Wang wrote: > Hi Demi, > > (+Julien for his info since I am replying below about the 4.17 stuff) > > > -Original Message- > > From: Demi Marie Obenour > > Subject: [PATCH v2] Use EfiACPIReclaimMemory for

RE: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-12-06 Thread Henry Wang
Hi Demi, (+Julien for his info since I am replying below about the 4.17 stuff) > -Original Message- > From: Demi Marie Obenour > Subject: [PATCH v2] Use EfiACPIReclaimMemory for ESRT > > A previous patch tried to get Linux to use the ESRT under Xen if it is >

[PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-12-06 Thread Demi Marie Obenour
A previous patch tried to get Linux to use the ESRT under Xen if it is in memory of type EfiRuntimeServicesData. However, this turns out to be a bad idea. Ard Biesheuvel pointed out that EfiRuntimeServices* memory winds up fragmenting both the EFI page tables and the direct map, and that EfiACPIR

Re: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-10-11 Thread Jan Beulich
On 11.10.2022 18:52, Demi Marie Obenour wrote: > On Tue, Oct 11, 2022 at 11:59:01AM +0200, Jan Beulich wrote: >> On 11.10.2022 05:42, Demi Marie Obenour wrote: >>> A previous patch tried to get Linux to use the ESRT under Xen if it is >>> in memory of type EfiRuntimeServicesData. However, this tur

Re: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-10-11 Thread Demi Marie Obenour
On Tue, Oct 11, 2022 at 11:59:01AM +0200, Jan Beulich wrote: > On 11.10.2022 05:42, Demi Marie Obenour wrote: > > A previous patch tried to get Linux to use the ESRT under Xen if it is > > in memory of type EfiRuntimeServicesData. However, this turns out to be > > a bad idea. Ard Biesheuvel point

Re: [PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-10-11 Thread Jan Beulich
On 11.10.2022 05:42, Demi Marie Obenour wrote: > A previous patch tried to get Linux to use the ESRT under Xen if it is > in memory of type EfiRuntimeServicesData. However, this turns out to be > a bad idea. Ard Biesheuvel pointed out that EfiRuntimeServices* memory > winds up fragmenting both th

[PATCH v2] Use EfiACPIReclaimMemory for ESRT

2022-10-10 Thread Demi Marie Obenour
A previous patch tried to get Linux to use the ESRT under Xen if it is in memory of type EfiRuntimeServicesData. However, this turns out to be a bad idea. Ard Biesheuvel pointed out that EfiRuntimeServices* memory winds up fragmenting both the EFI page tables and the direct map, and that EfiACPIR