Skip to content

arm64: efi: Use SMBIOS type 4 record for Altra quirk

Ard Biesheuvel linux-arm-kernel linux-efi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3efi/libstub: smbios: Use length member instead of record struct sizedrivers/firmware/efi/libstub/smbios.c+1 -10 replies
2/3arm64: efi: Use SMBIOS processor version to key off Ampere quirkdrivers/firmware/efi/libstub/arm64.c drivers/firmware/efi/libstub/efistub.h drivers/firmware/efi/libstub/smbios.c+80 -130 replies
3/3efi/libstub: smbios: Drop unused 'recsize' parameterdrivers/firmware/efi/libstub/efistub.h drivers/firmware/efi/libstub/smbios.c+3 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAndrea Righi
1/3
2/3T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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 <[email protected]>
Cc Andrea Righi <[email protected]>

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(-)
Signature · 1 line
2.39.2