linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: efi: Use SMBIOS type 4 record for Altra quirk
@ 2023-03-22 14:26 Ard Biesheuvel
  2023-03-22 14:26 ` [PATCH 1/3] efi/libstub: smbios: Use length member instead of record struct size Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2023-03-22 14:26 UTC (permalink / raw)
  To: linux-efi; +Cc: linux-arm-kernel, Ard Biesheuvel, Darren Hart, Andrea Righi

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@os.amperecomputing.com>
Cc: Andrea Righi <andrea.righi@canonical.com>

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-22 14:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-22 14:26 [PATCH 0/3] arm64: efi: Use SMBIOS type 4 record for Altra quirk Ard Biesheuvel
2023-03-22 14:26 ` [PATCH 1/3] efi/libstub: smbios: Use length member instead of record struct size Ard Biesheuvel
2023-03-22 14:26 ` [PATCH 2/3] arm64: efi: Use SMBIOS processor version to key off Ampere quirk Ard Biesheuvel
2023-03-22 14:26 ` [PATCH 3/3] efi/libstub: smbios: Drop unused 'recsize' parameter Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).