Re: [PATCH v2 04/10] arm64/efi: invert UEFI memory region reservation logic

2014-10-29 Thread Roy Franz
On Tue, Oct 28, 2014 at 9:18 AM, Ard Biesheuvel wrote: > Instead of reserving the memory regions based on which types we know > need to be reserved, consider only regions of the following types as > free for general use by the OS: > > EFI_LOADER_CODE > EFI_LOADER_DATA > EFI_BOOT_SERVICES_CODE > EF

Re: [PATCH v2 04/10] arm64/efi: invert UEFI memory region reservation logic

2014-10-28 Thread Mark Rutland
On Tue, Oct 28, 2014 at 05:08:29PM +, Ard Biesheuvel wrote: > On 28 October 2014 17:47, Mark Rutland wrote: > > On Tue, Oct 28, 2014 at 04:18:37PM +, Ard Biesheuvel wrote: > >> Instead of reserving the memory regions based on which types we know > >> need to be reserved, consider only regi

Re: [PATCH v2 04/10] arm64/efi: invert UEFI memory region reservation logic

2014-10-28 Thread Ard Biesheuvel
On 28 October 2014 17:47, Mark Rutland wrote: > On Tue, Oct 28, 2014 at 04:18:37PM +, Ard Biesheuvel wrote: >> Instead of reserving the memory regions based on which types we know >> need to be reserved, consider only regions of the following types as >> free for general use by the OS: >> >> E

Re: [PATCH v2 04/10] arm64/efi: invert UEFI memory region reservation logic

2014-10-28 Thread Mark Rutland
On Tue, Oct 28, 2014 at 04:18:37PM +, Ard Biesheuvel wrote: > Instead of reserving the memory regions based on which types we know > need to be reserved, consider only regions of the following types as > free for general use by the OS: > > EFI_LOADER_CODE > EFI_LOADER_DATA > EFI_BOOT_SERVICES_

[PATCH v2 04/10] arm64/efi: invert UEFI memory region reservation logic

2014-10-28 Thread Ard Biesheuvel
Instead of reserving the memory regions based on which types we know need to be reserved, consider only regions of the following types as free for general use by the OS: EFI_LOADER_CODE EFI_LOADER_DATA EFI_BOOT_SERVICES_CODE EFI_BOOT_SERVICES_DATA EFI_CONVENTIONAL_MEMORY Note that this also fixes