]> git.baikalelectronics.ru Git - kernel.git/commit
efi/arm64: Handle missing virtual mapping for UEFI System Table
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 4 Jul 2014 15:25:09 +0000 (17:25 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jul 2014 20:24:04 +0000 (21:24 +0100)
commite57d0d379ef52c668c213129a153ed81b691d440
treed7b0930e7ade1decbdfd76630c3ed09f85ad61b0
parenta4b2cefa874e8b9b808f308fb70dd9a9251b2c7b
efi/arm64: Handle missing virtual mapping for UEFI System Table

If we cannot resolve the virtual address of the UEFI System Table, its
physical offset must be missing from the virtual memory map, and there
is really no point in proceeding with installing the virtual memory map
and the runtime services dispatch table. So back out gracefully.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Salter <msalter@redhat.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/arm64/kernel/efi.c