Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
* [PATCHv2] remoteproc: imx_rproc: add missing DRAM range for i.MX93
@ 2026-05-17  8:03 Zhiqiang Hou
  2026-05-18  1:20 ` Peng Fan
  0 siblings, 1 reply; 3+ messages in thread
From: Zhiqiang Hou @ 2026-05-17  8:03 UTC (permalink / raw)
  To: imx, linux-remoteproc, andersson, mathieu.poirier, Frank.Li,
	s.hauer, festevam
  Cc: Hou Zhiqiang

From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

The M33 DRAM view of 256MB ranges 0x[a,b]0000000 are mapped to
0xa0000000 of A55 mapping view.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
V2:
 - Refined the patch subject.

 drivers/remoteproc/imx_rproc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
index 7f54322244ac..175c2d309979 100644
--- a/drivers/remoteproc/imx_rproc.c
+++ b/drivers/remoteproc/imx_rproc.c
@@ -198,6 +198,9 @@ static const struct imx_rproc_att imx_rproc_att_imx93[] = {
 	{ 0x80000000, 0x80000000, 0x10000000, 0 },
 	{ 0x90000000, 0x80000000, 0x10000000, 0 },
 
+	{ 0xA0000000, 0xA0000000, 0x10000000, 0 },
+	{ 0xB0000000, 0xA0000000, 0x10000000, 0 },
+
 	{ 0xC0000000, 0xC0000000, 0x10000000, 0 },
 	{ 0xD0000000, 0xC0000000, 0x10000000, 0 },
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCHv2] remoteproc: imx_rproc: add missing DRAM range for i.MX93
  2026-05-17  8:03 [PATCHv2] remoteproc: imx_rproc: add missing DRAM range for i.MX93 Zhiqiang Hou
@ 2026-05-18  1:20 ` Peng Fan
  2026-05-25  6:21   ` Z.Q. Hou
  0 siblings, 1 reply; 3+ messages in thread
From: Peng Fan @ 2026-05-18  1:20 UTC (permalink / raw)
  To: Zhiqiang Hou
  Cc: imx, linux-remoteproc, andersson, mathieu.poirier, Frank.Li,
	s.hauer, festevam

Hi Zhiqiang,

Thanks for your patch.

On Sun, May 17, 2026 at 04:03:01PM +0800, Zhiqiang Hou wrote:
>From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>
>The M33 DRAM view of 256MB ranges 0x[a,b]0000000 are mapped to
>0xa0000000 of A55 mapping view.

Let's add more details, as below:

The M33 DRAM address ranges 0xA0000000-0xAFFFFFFF(None Secure) and
0xB0000000-0xBFFFFFFF(Secure) are both mapped to 0xA0000000-0xAFFFFFFF
in the A55 address space.

These ranges are currently missing from the i.MX93 remoteproc address
translation table, which may lead to invalid address translation for
firmware accessing these regions.

Add the missing mappings to complete the DRAM coverage.

>

Add fix tag:
Fixes: 9222fabf0e39d ("remoteproc: imx_rproc: Support i.MX93")

Thanks
Peng.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCHv2] remoteproc: imx_rproc: add missing DRAM range for i.MX93
  2026-05-18  1:20 ` Peng Fan
@ 2026-05-25  6:21   ` Z.Q. Hou
  0 siblings, 0 replies; 3+ messages in thread
From: Z.Q. Hou @ 2026-05-25  6:21 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: imx@lists.linux.dev, linux-remoteproc@vger.kernel.org,
	andersson@kernel.org, mathieu.poirier@linaro.org, Frank Li,
	s.hauer@pengutronix.de, festevam@gmail.com



> -----Original Message-----
> From: Peng Fan (OSS) <peng.fan@oss.nxp.com>
> Sent: Monday, May 18, 2026 9:21 AM
> To: Z.Q. Hou <zhiqiang.hou@nxp.com>
> Cc: imx@lists.linux.dev; linux-remoteproc@vger.kernel.org;
> andersson@kernel.org; mathieu.poirier@linaro.org; Frank Li <frank.li@nxp.com>;
> s.hauer@pengutronix.de; festevam@gmail.com
> Subject: Re: [PATCHv2] remoteproc: imx_rproc: add missing DRAM range for
> i.MX93
> 
> Hi Zhiqiang,
> 
> Thanks for your patch.
> 
> On Sun, May 17, 2026 at 04:03:01PM +0800, Zhiqiang Hou wrote:
> >From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> >
> >The M33 DRAM view of 256MB ranges 0x[a,b]0000000 are mapped to
> >0xa0000000 of A55 mapping view.
> 
> Let's add more details, as below:
> 
> The M33 DRAM address ranges 0xA0000000-0xAFFFFFFF(None Secure) and
> 0xB0000000-0xBFFFFFFF(Secure) are both mapped to 0xA0000000-0xAFFFFFFF in
> the A55 address space.
> 
> These ranges are currently missing from the i.MX93 remoteproc address
> translation table, which may lead to invalid address translation for firmware
> accessing these regions.
> 
> Add the missing mappings to complete the DRAM coverage.
> 
> >
> 
> Add fix tag:
> Fixes: 9222fabf0e39d ("remoteproc: imx_rproc: Support i.MX93")

Updated in V3. Thanks for your comments!

Thanks,
Zhiqiang


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-25  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-17  8:03 [PATCHv2] remoteproc: imx_rproc: add missing DRAM range for i.MX93 Zhiqiang Hou
2026-05-18  1:20 ` Peng Fan
2026-05-25  6:21   ` Z.Q. Hou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox