efi/arm64: Store Runtime Services revision
authorSemen Protsenko <semen.protsenko@linaro.org>
Fri, 15 Aug 2014 13:22:44 +0000 (16:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Sep 2014 23:36:28 +0000 (16:36 -0700)
commite4c353d25fcefd4be9a85f696a2775426d956523
tree0f56e2ca93ad486757a62e5fec9f85041e1266df
parentb0daf4dfc34cb2e638da582889b2ac32f0ba98a6
efi/arm64: Store Runtime Services revision

commit 6a7519e81321343165f89abb8b616df186d3e57a upstream.

"efi" global data structure contains "runtime_version" field which must
be assigned in order to use it later in Runtime Services virtual calls
(virt_efi_* functions).

Before this patch "runtime_version" was unassigned (0), so each
Runtime Service virtual call that checks revision would fail.

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/efi.c