Skip to content

efi/x86: Call set_os() protocol on dual GPU Macs

Ard Biesheuvel linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 23 repliesIn review

Changes in v3 from the cover letter

- add patch to make the SMBIOS protocol glue code compatible with mixed mode on x86
- update Aditya's patch to limit the effect to dual GPU Macs that are known to require the set_os() calls in order for both GPUs to remain active after boot
- drop mixed mode handling of set_os() protocol, and dereference the struct members directly

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efistub/x86: Enable SMBIOS protocol handling for x86drivers/firmware/efi/libstub/Makefile drivers/firmware/efi/libstub/smbios.c+28 -160 replies
2/2x86/efistub: Call Apple set_os protocol on dual GPU Intel Macsdrivers/firmware/efi/libstub/x86-stub.c include/linux/efi.h+70 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLukas WunnerAditya Garg
SeriesR-b T-b
1/2
2/2

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

Read the v3 thread

Cover letter [PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs

From: Ard Biesheuvel <[email protected]>

v3:
- add patch to make the SMBIOS protocol glue code compatible with mixed mode on x86
- update Aditya's patch to limit the effect to dual GPU Macs that are known to require the set_os() calls in order for both GPUs to remain active after boot
- drop mixed mode handling of set_os() protocol, and dereference the struct members directly

Cc Aditya Garg <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Lukas Wunner <[email protected]>
Cc Kerem Karabay <[email protected]>
Cc Orlando Chamberlain <[email protected]>

Aditya Garg (1):
x86/efistub: Call Apple set_os protocol on dual GPU Intel Macs

Ard Biesheuvel (1):
efistub/x86: Enable SMBIOS protocol handling for x86

 drivers/firmware/efi/libstub/Makefile   |  2 +-
 drivers/firmware/efi/libstub/smbios.c   | 42 ++++++++----
 drivers/firmware/efi/libstub/x86-stub.c | 72 +++++++++++++++++++-
 include/linux/efi.h                     |  1 +
 4 files changed, 98 insertions(+), 19 deletions(-)
Signature · 1 line
2.45.2.803.g4e1b14247a-goog