summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/wkup_m3_rproc.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2021-03-06 12:24:19 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-03-11 19:02:41 +0100
commit40df0a91b2a5228ded8e5f75b80d28c96c6831cd (patch)
treef21ff48a98e3897411a7b81a248ff32bd6d49a30 /drivers/remoteproc/wkup_m3_rproc.c
parentremoteproc: introduce is_iomem to rproc_mem_entry (diff)
downloadlinux-40df0a91b2a5228ded8e5f75b80d28c96c6831cd.tar.xz
linux-40df0a91b2a5228ded8e5f75b80d28c96c6831cd.zip
remoteproc: add is_iomem to da_to_va
Introduce an extra parameter is_iomem to da_to_va, then the caller could take the memory as normal memory or io mapped memory. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/1615029865-23312-5-git-send-email-peng.fan@oss.nxp.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/wkup_m3_rproc.c')
-rw-r--r--drivers/remoteproc/wkup_m3_rproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/wkup_m3_rproc.c b/drivers/remoteproc/wkup_m3_rproc.c
index 92d387dfc03b..484f7605823e 100644
--- a/drivers/remoteproc/wkup_m3_rproc.c
+++ b/drivers/remoteproc/wkup_m3_rproc.c
@@ -89,7 +89,7 @@ static int wkup_m3_rproc_stop(struct rproc *rproc)
return error;
}
-static void *wkup_m3_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len)
+static void *wkup_m3_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem)
{
struct wkup_m3_rproc *wkupm3 = rproc->priv;
void *va = NULL;