linux/arch/x86/platform
Seiji Aguchi d6cf86d8f2 efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable
A value of efi.runtime_version is checked before calling
update_capsule()/query_variable_info() as follows.
But it isn't initialized anywhere.

<snip>
static efi_status_t virt_efi_query_variable_info(u32 attr,
                                                 u64 *storage_space,
                                                 u64 *remaining_space,
                                                 u64 *max_variable_size)
{
        if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION)
                return EFI_UNSUPPORTED;
<snip>

This patch initializes a value of efi.runtime_version at boot time.

Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2012-09-17 13:29:22 +01:00
..
ce4100 gpio: Add a driver for Sodaville GPIO controller 2012-02-03 16:13:25 -07:00
efi efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable 2012-09-17 13:29:22 +01:00
geode arch/x86/platform/geode/net5501.c: change active_low to 0 for LED driver 2012-05-04 14:40:07 -07:00
iris module_param: make bool parameters really bool (arch) 2012-01-13 09:32:18 +10:30
mrst kmsg - kmsg_dump() use iterator to receive log buffer content 2012-06-15 14:53:59 -07:00
olpc x86: OLPC: move s/r-related EC cmds to EC driver 2012-07-31 23:27:31 -04:00
scx200 scx200_32: replace printks with pr_<level>s 2012-02-03 23:24:58 +01:00
sfi Merge branch 'linus' into x86/apic-cleanups 2011-01-07 14:14:15 +01:00
uv Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-07-26 13:17:17 -07:00
visws x86/apic: Fix typo EIO_ACK -> EOI_ACK and document it 2012-05-18 09:46:07 +02:00
Makefile x86: geode: New PCEngines Alix system driver 2011-09-21 11:19:42 +02:00