From: Ard Biesheuvel <ardb@kernel.org>
To: adriana <adriana@arista.com>
Cc: ilias.apalodimas@linaro.org, trini@konsulko.com, robh@kernel.org,
krzk@kernel.org, jdelvare@suse.com, frowand.list@gmail.com,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
vasilykh@arista.com, arm.ebbr-discuss@arm.com,
boot-architecture@lists.linaro.org, linux-efi@vger.kernel.org,
uefi-discuss@lists.uefi.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v4 0/2] DMI: Scan for DMI table from DTS info
Date: Fri, 31 Oct 2025 11:17:31 +0100 [thread overview]
Message-ID: <CAMj1kXGUyzPQu14SOBs8GSsJ3+ASssNR1vCN5T8OzeEbXdBbBQ@mail.gmail.com> (raw)
In-Reply-To: <20251031101009.704759-1-adriana@arista.com>
On Fri, 31 Oct 2025 at 11:10, adriana <adriana@arista.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@kernel.org>
I can take the second patch, but bindings need to go in separately IIRC.
Rob?
> .../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
>
next prev parent reply other threads:[~2025-10-31 10:17 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-22 8:21 [PATCH 1/1] DMI: Scan for DMI table from DTS info adriana
2025-10-22 9:56 ` Krzysztof Kozlowski
[not found] ` <20251022114527.618908-1-adriana@arista.com>
[not found] ` <20251022201953.GA206947-robh@kernel.org>
2025-10-23 2:20 ` [PATCH v2 0/2] " Adriana Nicolae
2025-10-23 8:21 ` Ard Biesheuvel
2025-10-23 13:34 ` Adriana Nicolae
2025-10-23 13:53 ` Ard Biesheuvel
2025-10-23 14:47 ` Adriana Nicolae
2025-10-24 9:49 ` Ard Biesheuvel
2025-10-24 11:07 ` Ilias Apalodimas
2025-10-24 18:07 ` Tom Rini
2025-10-31 8:51 ` Adriana Nicolae
2025-10-31 8:40 ` [PATCH v3 " adriana
2025-10-31 8:41 ` [PATCH v3 1/2] dt-bindings: firmware: Add binding for SMBIOS /chosen properties adriana
2025-10-31 8:52 ` Ard Biesheuvel
2025-10-31 9:05 ` Ard Biesheuvel
2025-10-31 8:41 ` [PATCH v3 2/2] drivers: firmware: dmi_scan: Add support for reading SMBIOS from DT adriana
2025-10-31 9:05 ` Ard Biesheuvel
2025-10-31 9:31 ` Ilias Apalodimas
2025-10-31 10:10 ` [PATCH v4 0/2] DMI: Scan for DMI table from DTS info adriana
2025-10-31 10:10 ` [PATCH v4 1/2] dt-bindings: firmware: Add binding for SMBIOS /chosen properties adriana
2025-10-31 11:15 ` Rob Herring
2025-10-31 11:43 ` Rob Herring
2025-10-31 12:31 ` Adriana Nicolae
2025-10-31 10:10 ` [PATCH v4 2/2] drivers: firmware: dmi_scan: Add support for reading SMBIOS from DT adriana
2025-10-31 10:17 ` Ard Biesheuvel [this message]
2025-10-31 11:03 ` [PATCH v4 0/2] DMI: Scan for DMI table from DTS info Ilias Apalodimas
2025-10-31 11:59 ` [PATCH v5 0/1] " adriana
2025-10-31 11:59 ` [PATCH v5 1/1] drivers: firmware: dmi_scan: Add support for reading SMBIOS from DT adriana
2025-10-31 14:19 ` [PATCH v5 0/1] DMI: Scan for DMI table from DTS info Conor Dooley
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=CAMj1kXGUyzPQu14SOBs8GSsJ3+ASssNR1vCN5T8OzeEbXdBbBQ@mail.gmail.com \
--to=ardb@kernel.org \
--cc=adriana@arista.com \
--cc=arm.ebbr-discuss@arm.com \
--cc=boot-architecture@lists.linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jdelvare@suse.com \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=trini@konsulko.com \
--cc=uefi-discuss@lists.uefi.org \
--cc=vasilykh@arista.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).