diff options
author | Peng Fan <[email protected]> | 2021-03-06 19:24:18 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2021-03-11 12:02:40 -0600 |
commit | 2cfc056ef2c28b4961bff5e2f6deed94afb14024 (patch) | |
tree | faf1ac7b8c90c44dfd968fd326af95c6a8787ed0 | |
parent | bc403b4dfcbcefe489c94df9e568b8f57c2aaae7 (diff) |
remoteproc: introduce is_iomem to rproc_mem_entry
Introduce is_iomem to indicate this piece memory is iomem or not.
Reviewed-by: Bjorn Andersson <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
-rw-r--r-- | include/linux/remoteproc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index f28ee75d1005..a5f6d2d9cde2 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; |