efi/arm64: store Runtime Services revision
PATCH v2 1/1 efi/arm64: store Runtime Services revision
"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.
--- arch/arm64/kernel/efi.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/kernel/efi.c +2 -0
@@ -463,6 +463,8 @@ static int __init arm64_enter_virtual_mode(void)efi_native_runtime_setup ();set_bit (EFI_RUNTIME_SERVICES , &efi.flags); + efi.runtime_version = efi.systab->hdr.revision; +return 0 ; err_unmap:
Signature · 1 line
2.0.1
PATCH v2 1/1 efi/arm64: store Runtime Services revision
Quoted 8 lines · Semen Protsenko
"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 <[email protected]>
@Matt, could you take this?
Signature · 1 line
Ard.
Quoted 20 lines
--- arch/arm64/kernel/efi.c | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/kernel/efi.c +2
-1@@ -463,6 +463,8 @@ static int __init arm64_enter_virtual_mode(void)efi_native_runtime_setup ();set_bit (EFI_RUNTIME_SERVICES , &efi.flags); + efi.runtime_version = efi.systab->hdr.revision; +return 0 ; err_unmap: --2.0.1
PATCH v2 1/1 efi/arm64: store Runtime Services revision
Quoted 5 lines · Ard Biesheuvel
Quoted 4 lines · Semen Protsenko
"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).
Quoted 8 lines
Quoted 4 lines
Before this patch "
runtime_version" was unassigned (0), so each Runtime Service virtual call that checks revision would fail.Signed-off-by Semen Protsenko <[email protected]>Acked-by Ard Biesheuvel <[email protected]>@Matt, could you take this?
Certainly. Looks like this should go into the 'urgent' queue and be tagged for stable?
Signature · 1 line
Matt Fleming, Intel Open Source Technology Center
PATCH v2 1/1 efi/arm64: store Runtime Services revision
Quoted 9 lines · Matt Fleming
Quoted 8 lines · Ard Biesheuvel
Quoted 7 lines · Semen Protsenko
"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.
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Semen Protsenko <[email protected]>Acked-by Ard Biesheuvel <[email protected]>@Matt, could you take this?
Certainly. Looks like this should go into the 'urgent' queue and be tagged for stable?
Yes, please (for 3.16)
Signature · 1 line
Ard.