From: Peng Fan Date: Sat, 6 Mar 2021 11:24:18 +0000 (+0800) Subject: remoteproc: introduce is_iomem to rproc_mem_entry X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2cfc056ef2c28b4961bff5e2f6deed94afb14024;p=linux.git remoteproc: introduce is_iomem to rproc_mem_entry Introduce is_iomem to indicate this piece memory is iomem or not. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan Link: https://lore.kernel.org/r/1615029865-23312-4-git-send-email-peng.fan@oss.nxp.com Signed-off-by: Bjorn Andersson --- diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index f28ee75d1005e..a5f6d2d9cde23 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -315,6 +315,7 @@ struct rproc; /** * struct rproc_mem_entry - memory entry descriptor * @va: virtual address + * @is_iomem: io memory * @dma: dma address * @len: length, in bytes * @da: device address @@ -329,6 +330,7 @@ struct rproc; */ struct rproc_mem_entry { void *va; + bool is_iomem; dma_addr_t dma; size_t len; u32 da;