commit | 6632210f50530ea53dd21f786f2854609d928689 | [log] [tgz] |
---|---|---|
author | Dave Young <dyoung@redhat.com> | Mon Aug 18 09:30:07 2014 +0800 |
committer | Matt Fleming <matt.fleming@intel.com> | Fri Oct 03 18:40:59 2014 +0100 |
tree | d7b81d1cec03e959fb87fdcfb5c46a8506461ff3 | |
parent | 88f8abd594082b9c08789e8527e4e38116a963ec [diff] |
arm64/efi: Do not enter virtual mode if booting with efi=noruntime or noefi In case efi runtime disabled via noefi kernel cmdline arm64_enter_virtual_mode should error out. At the same time move early_memunmap(memmap.map, mapsize) to the beginning of the function or it will leak early mem. Signed-off-by: Dave Young <dyoung@redhat.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>