linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Rpmsg support for i.MX DSP with resource table
@ 2023-09-11 22:44 Iuliana Prodan (OSS)
  2023-09-11 22:44 ` [PATCH 1/2] remoteproc: imx_dsp_rproc: add mandatory find_loaded_rsc_table op Iuliana Prodan (OSS)
  2023-09-11 22:44 ` [PATCH 2/2] arm64: dts: imx8mp: add reserve-memory nodes for DSP Iuliana Prodan (OSS)
  0 siblings, 2 replies; 22+ messages in thread
From: Iuliana Prodan (OSS) @ 2023-09-11 22:44 UTC (permalink / raw)
  To: Mathieu Poirier, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	Shawn Guo, Bjorn Andersson, Sascha Hauer, S.J. Wang,
	Fabio Estevam, devicetree, Daniel Baluta, Mpuaudiosw,
	Iuliana Prodan
  Cc: linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel,
	Pengutronix Kernel Team, LnxRevLi

From: Iuliana Prodan <iuliana.prodan@nxp.com>

These patches are needed in order to support rpmsg on DSP when a
resource table is available.

Iuliana Prodan (2):
  remoteproc: imx_dsp_rproc: add mandatory find_loaded_rsc_table op
  arm64: dts: imx8mp: add reserve-memory nodes for DSP

 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 12 ++++++++++++
 drivers/remoteproc/imx_dsp_rproc.c        |  1 +
 2 files changed, 13 insertions(+)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH 1/2] remoteproc: imx_dsp_rproc: add mandatory find_loaded_rsc_table op
@ 2023-07-12 22:42 Iuliana Prodan (OSS)
  2023-07-13 10:04 ` Daniel Baluta
  2023-07-17 17:42 ` Mathieu Poirier
  0 siblings, 2 replies; 22+ messages in thread
From: Iuliana Prodan (OSS) @ 2023-07-12 22:42 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier, Shawn Guo, Sascha Hauer,
	S.J. Wang, Fabio Estevam, Daniel Baluta, Mpuaudiosw,
	Iuliana Prodan
  Cc: linux-imx, linux-remoteproc, linux-arm-kernel, linux-kernel,
	Pengutronix Kernel Team, LnxRevLi

From: Iuliana Prodan <iuliana.prodan@nxp.com>

Add the .find_loaded_rsc_table operation for i.MX DSP.
We need it for inter-process communication between DSP
and main core.

This callback is used to find the resource table (defined
in remote processor linker script) where the address of the
vrings along with the other allocated resources (carveouts etc)
are stored.
If this is not found, the vrings are not allocated and
the IPC between cores will not work.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
---
 drivers/remoteproc/imx_dsp_rproc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/remoteproc/imx_dsp_rproc.c b/drivers/remoteproc/imx_dsp_rproc.c
index d95fa5586189..b5634507d953 100644
--- a/drivers/remoteproc/imx_dsp_rproc.c
+++ b/drivers/remoteproc/imx_dsp_rproc.c
@@ -941,6 +941,7 @@ static const struct rproc_ops imx_dsp_rproc_ops = {
 	.kick		= imx_dsp_rproc_kick,
 	.load		= imx_dsp_rproc_elf_load_segments,
 	.parse_fw	= imx_dsp_rproc_parse_fw,
+	.find_loaded_rsc_table = rproc_elf_find_loaded_rsc_table,
 	.sanity_check	= rproc_elf_sanity_check,
 	.get_boot_addr	= rproc_elf_get_boot_addr,
 };
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-09-12 14:41 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 22:44 [PATCH 0/2] Rpmsg support for i.MX DSP with resource table Iuliana Prodan (OSS)
2023-09-11 22:44 ` [PATCH 1/2] remoteproc: imx_dsp_rproc: add mandatory find_loaded_rsc_table op Iuliana Prodan (OSS)
2023-09-11 22:44 ` [PATCH 2/2] arm64: dts: imx8mp: add reserve-memory nodes for DSP Iuliana Prodan (OSS)
2023-09-12  7:07   ` Krzysztof Kozlowski
2023-09-12  8:13     ` Iuliana Prodan
2023-09-12  8:26       ` Krzysztof Kozlowski
2023-09-12  8:49         ` Iuliana Prodan
2023-09-12  9:36           ` Krzysztof Kozlowski
2023-09-12 10:51             ` Iuliana Prodan
2023-09-12 14:41               ` Mathieu Poirier
2023-09-12 10:58           ` Daniel Baluta
2023-09-12 11:30   ` Marco Felsch
2023-09-12 11:33     ` Iuliana Prodan
2023-09-12 11:42       ` Marco Felsch
  -- strict thread matches above, loose matches on Subject: below --
2023-07-12 22:42 [PATCH 1/2] remoteproc: imx_dsp_rproc: add mandatory find_loaded_rsc_table op Iuliana Prodan (OSS)
2023-07-13 10:04 ` Daniel Baluta
2023-07-17 17:42 ` Mathieu Poirier
2023-07-18  8:25   ` Iuliana Prodan
2023-07-18 15:23     ` Mathieu Poirier
2023-07-18 15:40       ` Iuliana Prodan
2023-09-04 21:16         ` Mathieu Poirier
2023-09-04 22:31           ` Iuliana Prodan

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).