[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZoJeVWMU8yg4CRLl@wunner.de>
Date: Mon, 1 Jul 2024 09:44:21 +0200
From: Lukas Wunner <lukas@...ner.de>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: Aditya Garg <gargaditya08@...e.com>,
Hans de Goede <hdegoede@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"linux-efi@...r.kernel.org" <linux-efi@...r.kernel.org>,
Kerem Karabay <kekrby@...il.com>,
Orlando Chamberlain <orlandoch.dev@...il.com>
Subject: Re: [PATCH v2] efi: libstub: add support for the apple_set_os
protocol
On Mon, Jul 01, 2024 at 09:30:34AM +0200, Ard Biesheuvel wrote:
> Assuming that Intel Macs implement the EFI SMBIOS protocol, reusing
> the existing pieces should be rather straight-forward. Something like
> the below should work in that case (whitespace damage courtesy of
> gmail)
>
> Note that the smbios.c libstub source file needs some changes to
> build correctly for x86 with CONFIG_EFI_MIXED=y, but I can take care
> of that.
Orlando, Aditya, could you test Ard's patch with CONFIG_EFI_MIXED=n?
> +static bool apple_match_product_name(void)
> +{
Maybe something like apple_has_dual_gpu() ?
Powered by blists - more mailing lists