Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: pankaj.gupta@oss.nxp.com
Cc: robh@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev,
	conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH v48 6/7] arm64: dts: imx8ulp: add secure enclave node
Date: Fri, 04 Sep 2026 09:35:17 +0000	[thread overview]
Message-ID: <20260904093517.8C39E1F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260904-imx-se-if-v48-6-dad90eec7eaf@nxp.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The commit message claims to add a label for `sram@2201f000`, but the patch actually adds a label to the root `sram@22010000` node and references it.
- [Low] The `memory-region` property is required by the `fsl,imx8ulp-se-ele-hsm` DT binding, but is intentionally omitted, which will trigger `dtbs_check` warnings.
--

commit 52c5da8aa6e62285f5f6a0932125a8349ec01ea0
Author: Pankaj Gupta <pankaj.gupta@nxp.com>

arm64: dts: imx8ulp: add secure enclave node

This commit adds the EdgeLock Enclave (ELE) secure-enclave node to the
i.MX8ULP SoC dtsi. It also keeps the node disabled by default and adds a
label to the SRAM node for the enclave to reference.

> Add the EdgeLock Enclave (ELE) secure-enclave node to the i.MX8ULP SoC
> dtsi, together with a label for sram@2201f000 that the node references.

[Severity: Low]
The commit message mentions adding a label for sram@2201f000, but the diff
shows the label being added to the root sram@22010000 node instead, and then
passed to the enclave.

Is this description a typo in the commit message, or was the label intended
for a different node?

> diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi

[ ... ]

> -	sram@22010000 {
> +	sram0: sram@22010000 {
>  		compatible = "mmio-sram";
>  		reg = <0x0 0x22010000 0x0 0x10000>;

[ ... ]

> +		hsm0: secure-enclave {
> +			compatible = "fsl,imx8ulp-se-ele-hsm";
> +			mbox-names = "tx", "rx";
> +			mboxes = <&s4muap 0 0>, <&s4muap 1 0>;
> +			sram = <&sram0>;
> +			status = "disabled";
> +		};

[Severity: Low]
The fsl,imx-se.yaml binding appears to require memory-region for
fsl,imx8ulp-se-ele-hsm, and does not gate this requirement on status being
okay. 

While boards that enable the node provide the memory region, might
leaving it out here cause unwanted validation noise from dtbs_check on boards
that include imx8ulp.dtsi but leave the enclave disabled?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260904-imx-se-if-v48-0-dad90eec7eaf@nxp.com?part=6

  reply	other threads:[~2026-09-04  9:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 14:51 [PATCH v48 0/7] firmware: imx: driver for NXP secure-enclave pankaj.gupta
2026-09-04 14:51 ` [PATCH v48 1/7] Documentation/firmware: add imx/se to other_interfaces pankaj.gupta
2026-09-04 14:51 ` [PATCH v48 2/7] dt-bindings: arm: fsl: add imx-se-fw binding doc pankaj.gupta
2026-09-04 14:51 ` [PATCH v48 3/7] firmware: imx: add driver for NXP EdgeLock Enclave pankaj.gupta
2026-09-04 14:51 ` [PATCH v48 4/7] firmware: imx: device context dedicated to priv pankaj.gupta
2026-09-04 14:51 ` [PATCH v48 5/7] firmware: imx: adds miscdev pankaj.gupta
2026-09-04  9:39   ` sashiko-bot
2026-09-04 14:59     ` Frank Li
2026-09-04 15:10     ` Pankaj Gupta (OSS)
2026-09-04 14:51 ` [PATCH v48 6/7] arm64: dts: imx8ulp: add secure enclave node pankaj.gupta
2026-09-04  9:35   ` sashiko-bot [this message]
2026-09-04 14:51 ` [PATCH v48 7/7] arm64: dts: imx8ulp: add reserved memory for EdgeLock Enclave pankaj.gupta

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=20260904093517.8C39E1F00A3D@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=pankaj.gupta@oss.nxp.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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