projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc403b4
)
remoteproc: introduce is_iomem to rproc_mem_entry
author
Peng Fan
<peng.fan@nxp.com>
Sat, 6 Mar 2021 11:24:18 +0000
(19:24 +0800)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Thu, 11 Mar 2021 18:02:40 +0000
(12:02 -0600)
Introduce is_iomem to indicate this piece memory is iomem or not.
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link:
https://lore.kernel.org/r/1615029865-23312-4-git-send-email-peng.fan@oss.nxp.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
include/linux/remoteproc.h
patch
|
blob
|
history
diff --git
a/include/linux/remoteproc.h
b/include/linux/remoteproc.h
index f28ee75d1005ef2296b46f42b94c281f7dcb3bd4..a5f6d2d9cde2388e1aa84c05b5f0572863711638 100644
(file)
--- 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;