]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers: remoteproc: xilinx: Fix carveout names
authorTanmay Shah <tanmay.shah@amd.com>
Sat, 11 Mar 2023 01:24:07 +0000 (17:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:11:34 +0000 (23:11 +0900)
commitf56303abe58dd9d02188a6d83c4e4f1c72a51894
treef805c96ff78eeec8b7379b558640b418c0a95c8f
parent40c13a82a13c5432c3f1ccff2c10a2bce4c9e854
drivers: remoteproc: xilinx: Fix carveout names

commit 81c18e08a609706c5c2887f267135fa0dece4119 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/remoteproc/xlnx_r5_remoteproc.c