drivers: remoteproc: xilinx: Fix carveout names
authorTanmay Shah <tanmay.shah@amd.com>
Sat, 11 Mar 2023 01:24:07 +0000 (17:24 -0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 14 Mar 2023 19:28:22 +0000 (13:28 -0600)
commit81c18e08a609706c5c2887f267135fa0dece4119
treebf21a6bccfd1954649cb639a7e40991720a70821
parent79963fbfc233759bd8a43462f120d15a1bd4f4fa
drivers: remoteproc: xilinx: Fix carveout names

If the unit address is appended to node name of memory-region,
then adding rproc carveouts fails as node name and unit-address
both are passed as carveout name (i.e. vdev0vring0@xxxxxxxx). However,
only node name is expected by remoteproc framework. This patch moves
memory-region node parsing from driver probe to prepare and
only passes node-name and not unit-address

Fixes: 6b291e8020a8 ("drivers: remoteproc: Add Xilinx r5 remoteproc driver")
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230311012407.1292118-5-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/xlnx_r5_remoteproc.c