All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb+git@google.com>
To: linux-efi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Ard Biesheuvel <ardb@kernel.org>,
	 Aditya Garg <gargaditya08@live.com>,
	Hans de Goede <hdegoede@redhat.com>,
	 Lukas Wunner <lukas@wunner.de>, Kerem Karabay <kekrby@gmail.com>,
	 Orlando Chamberlain <orlandoch.dev@gmail.com>
Subject: [PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs
Date: Mon,  1 Jul 2024 16:09:41 +0200	[thread overview]
Message-ID: <20240701140940.2340297-4-ardb+git@google.com> (raw)

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


             reply	other threads:[~2024-07-01 14:10 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 14:09 Ard Biesheuvel [this message]
2024-07-01 14:09 ` [PATCH v3 1/2] efistub/x86: Enable SMBIOS protocol handling for x86 Ard Biesheuvel
2024-07-01 14:09 ` [PATCH v3 2/2] x86/efistub: Call Apple set_os protocol on dual GPU Intel Macs Ard Biesheuvel
2024-07-01 14:17 ` [PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs Lukas Wunner
2024-07-01 19:42 ` Aditya Garg
2024-07-17 16:35   ` Aditya Garg
2024-07-17 16:46     ` Ard Biesheuvel
2024-07-17 16:52       ` Aditya Garg
2024-07-17 18:27         ` Sharpened Blade
2024-07-17 18:58     ` Lukas Wunner
2024-07-23 16:25       ` Aditya Garg
2024-07-23 16:26         ` Aditya Garg
2024-07-24 16:01         ` Lukas Wunner
2024-07-24 16:21           ` Aditya Garg
2024-07-24 16:28             ` Lukas Wunner
2024-07-24 16:30               ` Aditya Garg
2024-07-24 16:26           ` Aditya Garg
2024-07-24 16:31             ` Lukas Wunner
2024-07-24 16:34               ` Aditya Garg
2024-07-25 12:42               ` Ard Biesheuvel
2024-07-25 12:58                 ` Aditya Garg
2024-07-25 12:39             ` Ard Biesheuvel
2024-07-25 12:55               ` Aditya Garg
2024-07-28 12:03           ` Orlando Chamberlain
2024-07-29  7:27             ` Ard Biesheuvel
2024-07-29  7:46               ` Aditya Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240701140940.2340297-4-ardb+git@google.com \
    --to=ardb+git@google.com \
    --cc=ardb@kernel.org \
    --cc=gargaditya08@live.com \
    --cc=hdegoede@redhat.com \
    --cc=kekrby@gmail.com \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=orlandoch.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.