[PATCH 0/3] arm64: efi: Use SMBIOS type 4 record for Altra quirk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We currently use the SMBIOS type 1 'family' string to identify Ampere
machines that require a EFI workaround, but this is not broad enough, as
OEMs often put arbitrary names in that field (such as 'Server')

So instead, let's use the SMBIOS type 4 records that describe the actual
CPU rather than the system.

Cc: Darren Hart <darren@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Andrea Righi <andrea.righi@xxxxxxxxxxxxx>

Ard Biesheuvel (3):
  efi/libstub: smbios: Use length member instead of record struct size
  arm64: efi: Use SMBIOS processor version to key off Ampere quirk
  efi/libstub: smbios: Drop unused 'recsize' parameter

 drivers/firmware/efi/libstub/arm64.c   | 39 ++++++++++++++----
 drivers/firmware/efi/libstub/efistub.h | 42 ++++++++++++++++++--
 drivers/firmware/efi/libstub/smbios.c  | 15 +++++--
 3 files changed, 81 insertions(+), 15 deletions(-)

-- 
2.39.2




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux