devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: adriana@arista.com, linux-arm-kernel@lists.infradead.org,
	jdelvare@suse.com, devicetree@vger.kernel.org,
	robh+dt@kernel.org, frowand.list@gmail.com
Cc: linux-kernel@vger.kernel.org, vasilykh@arista.com
Subject: Re: [PATCH 1/1] DMI: Scan for DMI table from DTS info
Date: Wed, 22 Oct 2025 11:56:59 +0200	[thread overview]
Message-ID: <0f006338-e69b-4b3f-b91f-0cc683544011@kernel.org> (raw)
In-Reply-To: <20251022082129.138217-1-adriana@arista.com>

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

  reply	other threads:[~2025-10-22  9:57 UTC|newest]

Thread overview: 33+ 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 [this message]
2025-10-22 11:45   ` [PATCH v2 0/2] " adriana
2025-10-22 11:45     ` [PATCH v2 1/2] dt-bindings: firmware: Add binding for SMBIOS /chosen properties adriana
2025-10-22 11:45     ` [PATCH v2 2/2] drivers: firmware: dmi_scan: Add support for reading SMBIOS from DT adriana
2025-10-22 20:19     ` [PATCH v2 0/2] DMI: Scan for DMI table from DTS info Rob Herring
2025-10-23  2:20       ` 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         ` [PATCH v4 0/2] DMI: Scan for DMI table from DTS info Ard Biesheuvel
2025-10-31 11:03           ` 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=0f006338-e69b-4b3f-b91f-0cc683544011@kernel.org \
    --to=krzk@kernel.org \
    --cc=adriana@arista.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.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).