• Josh Boyer's avatar
    efi: Check EFI revision in setup_efi_vars · f697036b
    Josh Boyer authored
    We need to check the runtime sys_table for the EFI version the firmware
    specifies instead of just checking for a NULL QueryVariableInfo.  Older
    implementations of EFI don't have QueryVariableInfo but the runtime is
    a smaller structure, so the pointer to it may be pointing off into garbage.
    
    This is apparently the case with several Apple firmwares that support EFI
    1.10, and the current check causes them to no longer boot.  Fix based on
    a suggestion from Matthew Garrett.
    Signed-off-by: default avatarJosh Boyer <jwboyer@redhat.com>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
    f697036b
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...