[PATCH 1/1] DMI: Scan for DMI table from DTS info

Krzysztof Kozlowski krzk at kernel.org
Wed Oct 22 02:56:59 PDT 2025


On 22/10/2025 10:21, adriana at arista.com wrote:
> +static bool __init dmi_scan_from_dt(void)
> +{
> +	struct device_node *chosen;
> +	const __be64 *prop;
> +	char buf[32];
> +	void __iomem *p;
> +	bool dmi_available = false;
> +	u64 addr;
> +	int len;
> +
> +	chosen = of_find_node_by_path("/chosen");
> +	if (!chosen)
> +		return false;
> +
> +	/* SMBIOSv3 (64-bit entry point) has priority */
> +	prop = of_get_property(chosen, "linux,smbios3-table", &len);


Undocumented ABI. You need to document each new ABI/bindings.


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list