• M
    efifb: Skip DMI checks if the bootloader knows what it's doing · f462ed93
    Matthew Garrett 提交于
    The majority of the DMI checks in efifb are for cases where the bootloader
    has provided invalid information. However, on some machines the overrides
    may do more harm than good due to configuration differences between machines
    with the same machine identifier. It turns out that it's possible for the
    bootloader to get the correct information on GOP-based systems, but we
    can't guarantee that the kernel's being booted with one that's been updated
    to do so. Add support for a capabilities flag that can be set by the
    bootloader, and skip the DMI checks in that case. Additionally, set this
    flag in the UEFI stub code.
    Signed-off-by: NMatthew Garrett <mjg@redhat.com>
    Acked-by: NPeter Jones <pjones@redhat.com>
    Signed-off-by: NMatt Fleming <matt.fleming@intel.com>
    f462ed93
efifb.c 18.7 KB