Thread (33 messages) 33 messages, 7 authors, 2025-10-31

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

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-10-22 09:57:03
Also in: linux-arm-kernel, lkml

On 22/10/2025 10:21, adriana@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help