Skip to content

Conversation

@adrianicolae
Copy link

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 property allows a bootloader to pass the physical address of the
SMBIOSv3 entrypoint structure to the kernel via the /chosen node.

@adrianicolae adrianicolae force-pushed the chosen-smbios-binding branch 3 times, most recently from d1612c9 to 0ea83a8 Compare October 31, 2025 12:19
@adrianicolae adrianicolae changed the title dt-bindings: chosen: Add "linux,smbios3-entrypoint" property dt-bindings: chosen: Add "smbios3-entrypoint" property Oct 31, 2025
smbios3-entrypoint:
$ref: /schemas/types.yaml#/definitions/uint64
description:
The 64-bit physical address of the SMBIOSv3 entry point structure.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not fluent in dt-schema, so I am not sure this matters, but I'll raise it just in case: the address doesn't really need to be 64-bits. The SMBIOS3 entrypoint structure (which supersedes the SMBIOS entrypoint structure) was introduced to raise the max address of the SMBIOS table array beyond 4 GiB, but here we just need to capture the address of the entry point itself. IOW, maybe this should just be types.yaml#/definitions/address like the other fields?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing this, since it is similar to linux,initrd-start/end the address definition is better. I've updated that and also added maxItems: 1.

This property allows a bootloader to pass the physical address of the
SMBIOSv3 entrypoint structure to the kernel via the /chosen node.

This provides a fallback mechanism where the standard EFI
configuration tables are not available but SMBIOS data is
still present.

Signed-off-by: adriana <[email protected]>
Adding a newline at the end of sdram-consumer.yaml
because of failed check.

Signed-off-by: adriana <[email protected]>
@adrianicolae adrianicolae force-pushed the chosen-smbios-binding branch from 34148a0 to 2b91bab Compare October 31, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants