• Matt Fleming's avatar
    x86, efivars: firmware bug workarounds should be in platform code · a6e4d5a0
    Matt Fleming authored
    Let's not burden ia64 with checks in the common efivars code that we're not
    writing too much data to the variable store. That kind of thing is an x86
    firmware bug, plain and simple.
    
    efi_query_variable_store() provides platforms with a wrapper in which they can
    perform checks and workarounds for EFI variable storage bugs.
    
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Matthew Garrett <mjg59@srcf.ucam.org>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
    a6e4d5a0
efivars.c 53.2 KB