Re: [PATCH] efistub/smbios: Add fallback for SMBIOS record lookup

From: Ard Biesheuvel
Date: Mon Nov 03 2025 - 08:14:14 EST


On Mon, 3 Nov 2025 at 11:15, Francesco Pompò <francescopompo2@xxxxxxxxx> wrote:
>
> Il giorno lun 3 nov 2025 alle ore 09:19 Ard Biesheuvel
> <ardb@xxxxxxxxxx> ha scritto:
> >
> > Hello Francesco,
> >
> > On Sun, 2 Nov 2025 at 01:14, Francesco Pompo <francescopompo2@xxxxxxxxx> wrote:
> > >
> > > Some UEFI firmware implementations do not provide the SMBIOS Protocol,
> > > causing efi_get_smbios_record() to fail. This prevents retrieval of
> > > system information such as product name, which is needed by
> > > apple_set_os() to enable the integrated GPU on dual-graphics Intel
> > > MacBooks.
> > >
> > > Add a fallback that directly parses the SMBIOS entry point table when
> > > the protocol is unavailable. Log when the fallback is used.
> > >
> > > Signed-off-by: Francesco Pompo <francescopompo2@xxxxxxxxx>
> > > ---
> > > drivers/firmware/efi/libstub/efistub.h | 17 +++++
> > > drivers/firmware/efi/libstub/smbios.c | 99 +++++++++++++++++++++++++-
> > > 2 files changed, 113 insertions(+), 3 deletions(-)
> > >
> >
> > On which platform does this fix an actual existing issue?
>
> Hello Ard,
>
> My Macbook Pro Late 2013, product name Macbook11,3 is affected.

You meant MacbookPro11,3, right?