OSDN Git Service

remoteproc: imx_rproc: Fix TCM io memory type
authorDong Aisheng <aisheng.dong@nxp.com>
Fri, 10 Sep 2021 09:06:18 +0000 (17:06 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 27 Sep 2021 23:37:06 +0000 (18:37 -0500)
commit91bb26637353f35241f5472eedf3202ebe13e2e5
tree8252ebb128b4a5c4cdfb241b0ea2ac1c060e16ff
parent970675f61bf5761d7e5326f6e4df995ecdba5e11
remoteproc: imx_rproc: Fix TCM io memory type

is_iomem was introduced in the commit 40df0a91b2a5 ("remoteproc: add
is_iomem to da_to_va"), but the driver seemed missed to provide the io
type correctly.
This patch updates remoteproc driver to indicate the TCM on IMX are io
memories. Without the change, remoteproc kick will fail.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Peng Fan <peng.fan@nxp.com>
Reviewed-and-tested-by: Peng Fan <peng.fan@nxp.com>
Fixes: 79806d32d5aa ("remoteproc: imx_rproc: support i.MX8MN/P")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210910090621.3073540-4-peng.fan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/imx_rproc.c