Re: [PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-08-02 Thread Andy Lutomirski
On Sun, Jul 31, 2016 at 10:07 PM, H. Peter Anvin wrote: > On 07/26/16 15:55, Andy Lutomirski wrote: >> + /* >> + * Nasty quirk: if all sub-1MB memory is used for boot >> + * services, we can get here without having allocated the >> +

Re: [PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-08-02 Thread Andy Lutomirski
On Sun, Jul 31, 2016 at 10:07 PM, H. Peter Anvin wrote: > On 07/26/16 15:55, Andy Lutomirski wrote: >> + /* >> + * Nasty quirk: if all sub-1MB memory is used for boot >> + * services, we can get here without having allocated the >> + * real mode

Re: [PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-07-31 Thread H. Peter Anvin
On 07/26/16 15:55, Andy Lutomirski wrote: > + /* > + * Nasty quirk: if all sub-1MB memory is used for boot > + * services, we can get here without having allocated the > + * real mode trampoline. It's too late to hand boot services > +

Re: [PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-07-31 Thread H. Peter Anvin
On 07/26/16 15:55, Andy Lutomirski wrote: > + /* > + * Nasty quirk: if all sub-1MB memory is used for boot > + * services, we can get here without having allocated the > + * real mode trampoline. It's too late to hand boot services > +

[PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-07-26 Thread Andy Lutomirski
On my Dell XPS 13 9350 with firmware 1.4.4 and SGX on, if I boot Fedora 24's grub2-efi off a hard disk, my first 1MB of RAM looks like: efi: mem00: [Runtime Data |RUN| | | | | | | |WB|WT|WC|UC] range=[0x-0x0fff] (0MB) efi: mem01: [Boot Data |

[PATCH 4/4] x86/efi: Allocate a trampoline if needed in efi_free_boot_services()

2016-07-26 Thread Andy Lutomirski
On my Dell XPS 13 9350 with firmware 1.4.4 and SGX on, if I boot Fedora 24's grub2-efi off a hard disk, my first 1MB of RAM looks like: efi: mem00: [Runtime Data |RUN| | | | | | | |WB|WT|WC|UC] range=[0x-0x0fff] (0MB) efi: mem01: [Boot Data |