On Fri, 09 Jan, at 03:29:53PM, Steve McIntyre wrote:
> In some cases (e.g. Intel Bay Trail machines), the kernel will happily
> run in 64-bit even if the underlying UEFI firmware platform is
> 32-bit. That's great, but it's difficult for userland utilities like
> grub-install to do the right thing in such a situation.
> 
> The kernel already knows about the size of the firmware via
> efi_enabled(EFI_64BIT). Add an extra sysfs interface
> /sys/firmware/efi/fw_platform_size to expose that information to
> userland for low-level utilities to use.
> 
> Signed-off-by: Steve McIntyre <[email protected]>
> ---
>  drivers/firmware/efi/efi.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
 
Looks good to me, Steve! Applied to 'next' for v3.20.

-- 
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to