Skip to content
  • Mike Waychison's avatar
    driver: Google EFI SMI · 74c5b31c
    Mike Waychison authored
    
    
    The "gsmi" driver bridges userland with firmware specific routines for
    accessing hardware.
    
    Currently, this driver only supports NVRAM and eventlog information.
    Deprecated functions have been removed from the driver, though their
    op-codes are left in place so that they are not re-used.
    
    This driver works by trampolining into the firmware via the smi_command
    outlined in the FADT table.  Three protocols are used due to various
    limitations over time, but all are included herein.
    
    This driver should only ever load on Google boards, identified by either
    a "Google, Inc." board vendor string in DMI, or "GOOGLE" in the OEM
    strings of the FADT ACPI table.  This logic happens in
    gsmi_system_valid().
    
    Signed-off-by: default avatarDuncan Laurie <dlaurie@google.com>
    Signed-off-by: default avatarAaron Durbin <adurbin@google.com>
    Signed-off-by: default avatarMike Waychison <mikew@google.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    74c5b31c