[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC_iWjKcoKk-=2ojNfatNbuZ5B5LTFLhURHMJg4pPOGD_T8h5A@mail.gmail.com>
Date: Fri, 31 Oct 2025 13:03:25 +0200
From: Ilias Apalodimas <ilias.apalodimas@...aro.org>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: adriana <adriana@...sta.com>, trini@...sulko.com, robh@...nel.org,
krzk@...nel.org, jdelvare@...e.com, frowand.list@...il.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org, vasilykh@...sta.com,
arm.ebbr-discuss@....com, boot-architecture@...ts.linaro.org,
linux-efi@...r.kernel.org, uefi-discuss@...ts.uefi.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v4 0/2] DMI: Scan for DMI table from DTS info
On Fri, 31 Oct 2025 at 12:17, Ard Biesheuvel <ardb@...nel.org> wrote:
>
> On Fri, 31 Oct 2025 at 11:10, adriana <adriana@...sta.com> wrote:
> >
> > Some bootloaders like U-boot, particularly for the ARM architecture,
> > provide SMBIOS/DMI tables at a specific memory address. However, these
> > systems often do not boot using a full UEFI environment, which means the
> > kernel's standard EFI DMI scanner cannot find these tables.
> >
> > This series adds support for the kernel to find these tables by
> > reading the associated property from the Device Tree /chosen node. The
> > bootloader can specify the physical addresses using the property
> > "linux,smbios3-entrypoint".
> >
> > The first patch introduces the device tree binding documentation for this
> > new ABI, and the second patch implements the driver logic in dmi_scan.c.
> >
> > Changes in v4:
> > - Renamed linux,smbios3-table.yaml file, removed mention of ARM/ARM64
> > (Patch 1/2).
> > - Drop the second definition of dmi_scan_from_dt() and fold checking
> > for CONFIG_OF (Patch 2/2).
> > - Drop unnecessary goto on the success case (Patch 2/2).
> > - Replace magic number for entrypoint size with SMBIOS3_ENTRY_POINT_SIZE
> > definition (Patch 2/2).
> >
> > Changes in v3:
> > - Removed linux,smbios-table property, only keep the SMBIOSv3 property
> > (Patch 1/2).
> > - Search DT for linux,smbios3-table only, removed the code searching
> > for the previous property (Patch 2/2).
> >
> > Changes in v2:
> > - Add missing Device Tree binding documentation (Patch 1/2).
> > - Split the original patch into a 2-part series (binding + driver).
> > - (No functional changes to the driver code in patch 2/2).
> >
> > adriana (2):
> > dt-bindings: firmware: Add binding for SMBIOS /chosen properties
> > drivers: firmware: dmi_scan: Add support for reading SMBIOS from DT
> >
>
> For the series,
>
> Reviewed-by: Ard Biesheuvel <ardb@...nel.org>
>
> I can take the second patch, but bindings need to go in separately IIRC.
>
> Rob?
Feel free to add
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@...aro.org>
Cheers
/Ilias
>
>
> > .../firmware/linux,smbios3-entrypoint.yaml | 25 +++++++++
> > drivers/firmware/dmi_scan.c | 54 +++++++++++++++++++
> > 2 files changed, 79 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/firmware/linux,smbios3-entrypoint.yaml
> >
> > --
> > 2.51.0
> >
Powered by blists - more mailing lists