Re: [PATCH] Expose underlying UEFI firmware platform size to userland

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <steve@xxxxxxxxxx>
> ---
>  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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux