All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Marek Vasut" <marex@nabladev.com>
Cc: Frank.Li@kernel.org, conor+dt@kernel.org, imx@lists.linux.dev,
	robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v5 4/6] arm64: dts: imx8mm: imx8mp: Add CM DTOs for Data Modul i.MX8M Mini and Plus eDM SBC
Date: Thu, 16 Jul 2026 06:08:45 +0000	[thread overview]
Message-ID: <20260716060846.34AC71F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260716055751.279033-4-marex@nabladev.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] The CM4 devicetree overlay for the i.MX8MM board hardcodes reserved memory regions at physical addresses that lie outside the RAM boundaries of the 1 GiB variant of the board.
--

--- Patch [4]: [PATCH v5 4/6] arm64: dts: imx8mm: imx8mp: Add CM DTOs for Data Modul i.MX8M Mini and Plus eDM SBC ---
commit 570590d387e46a557b9ab429099f8826e9336ea2
Author: Marek Vasut <marex@nabladev.com>

arm64: dts: imx8mm: imx8mp: Add CM DTOs for Data Modul i.MX8M Mini and Plus eDM SBC

This commit adds device tree overlays which provide CM4/CM7 extras for
the Data Modul i.MX8M Mini and Plus eDM SBCs. It allows CM4/CM7 firmware
to be used with remoteproc and rpmsg without imposing overhead on all users.

[ ... ]
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-data-modul-edm-sbc-overlay-cm4.dtso b/arch/arm64/boot/dts/freescale/imx8mm-data-modul-edm-sbc-overlay-cm4.dtso
> new file mode 100644
> index 0000000000000..0bd770af2a68c
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-data-modul-edm-sbc-overlay-cm4.dtso
[ ... ]
> +	reserved-memory {	/* CM4 reserved memory */
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		m_core_reserved: m_core@b7000000 {
> +			reg = <0 0xb7000000 0 0x1000000>;
> +			no-map;
> +		};
> +
> +		vdev0vring0: vdev0vring0@b8000000 {
> +			reg = <0 0xb8000000 0 0x8000>;
> +			no-map;
> +		};

[Severity: High]
Will applying this overlay on the 1 GiB variant of the board cause a crash?

The base board imx8mm-data-modul-edm-sbc.dts supports 1, 2, or 4 GiB variants 
with physical memory starting at 0x40000000. On a 1 GiB variant, physical 
memory ends at 0x7FFFFFFF.

Since these memory regions are hardcoded at physical addresses starting at
0xb7000000 and 0xb8000000, they fall outside the available DRAM for 1 GiB
boards. 

When the remoteproc driver probes and attempts to map and initialize these 
reserved memory regions, will it access unbacked physical memory and trigger 
a synchronous external abort?

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260716055751.279033-1-marex@nabladev.com?part=4

  reply	other threads:[~2026-07-16  6:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-16  5:56 [PATCH v5 1/6] arm64: dts: imx8mm: imx8mp: Add LVDS DTOs for Data Modul i.MX8M Mini and Plus eDM SBC Marek Vasut
2026-07-16  5:56 ` [PATCH v5 2/6] arm64: dts: imx8mm: imx8mp: Add legacy board " Marek Vasut
2026-07-16  6:14   ` sashiko-bot
2026-07-16  5:56 ` [PATCH v5 3/6] arm64: dts: imx8mm: imx8mp: Add HDMI " Marek Vasut
2026-07-16  5:56 ` [PATCH v5 4/6] arm64: dts: imx8mm: imx8mp: Add CM " Marek Vasut
2026-07-16  6:08   ` sashiko-bot [this message]
2026-07-16  5:56 ` [PATCH v5 5/6] arm64: dts: imx8mm: imx8mp: Add FIO1 " Marek Vasut
2026-07-16  6:13   ` sashiko-bot
2026-07-16  5:56 ` [PATCH v5 6/6] arm64: dts: imx8mm: imx8mp: Add FIO1-Audio " Marek Vasut
2026-07-16  6:23   ` sashiko-bot
2026-07-16  6:10 ` [PATCH v5 1/6] arm64: dts: imx8mm: imx8mp: Add LVDS " sashiko-bot

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=20260716060846.34AC71F000E9@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=marex@nabladev.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.