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

Ard Biesheuvel posted 2 patches 1 year, 5 months ago
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(-)
[PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs
Posted by Ard Biesheuvel 1 year, 5 months ago
From: Ard Biesheuvel <ardb@kernel.org>

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 <gargaditya08@live.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Kerem Karabay <kekrby@gmail.com>
Cc: Orlando Chamberlain <orlandoch.dev@gmail.com>

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(-)

-- 
2.45.2.803.g4e1b14247a-goog
Re: [PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs
Posted by Lukas Wunner 1 year, 5 months ago
On Mon, Jul 01, 2024 at 04:09:41PM +0200, Ard Biesheuvel wrote:
> 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

For the series,

Reviewed-by: Lukas Wunner <lukas@wunner.de>