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)
commit99a5603e2a1f146ac0c6414d8a3669aa749ccff8
treed7b0930e7ade1decbdfd76630c3ed09f85ad61b0
parentc7341d6a61c3526631a4e4565cda72cb1f51d146
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