[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140609142559.GE27302@console-pimps.org>
Date: Mon, 9 Jun 2014 15:25:59 +0100
From: Matt Fleming <matt@...sole-pimps.org>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: "H. Peter Anvin" <hpa@...or.com>,
LKML <linux-kernel@...r.kernel.org>, linux-efi@...r.kernel.org,
Matt Fleming <matt.fleming@...el.com>,
Dave Young <dyoung@...hat.com>
Subject: Re: [PATCH] x86/boot: EFI_MIXED should not prohibit loading above 4G
On Mon, 09 Jun, at 10:15:12AM, Vivek Goyal wrote:
>
> Ok, thanks. Or I can check whether EFI run time map is there or not. I am
> assuming that efi runtime services are not enabled, then run time map
> will not be there either.
Yes, if runtime services are unavailable then the runtime map will not
be exported.
Now, you can check for the presence of the runtime map from userland but
please don't use that as your check inside the kernel - this is exactly
what efi_enabled() is for.
--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists