summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-10-19 19:40:12 -0700
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-11-14 21:52:18 -0800
commitcda8529346935fc86f476999ac4fbfe4e17abf11 (patch)
tree2bc8729a0e4a4d3380d6e660122f682b17b53670 /include
parent2ca7d866ca13eb8394c6a4431465a6faa0c92fd6 (diff)
downloadlinux-cda8529346935fc86f476999ac4fbfe4e17abf11.tar.gz
linux-cda8529346935fc86f476999ac4fbfe4e17abf11.tar.bz2
linux-cda8529346935fc86f476999ac4fbfe4e17abf11.zip
remoteproc: Merge table_ptr and cached_table pointers
As all vdev resources are allocated before we boot the remote processor we no longer need to support modifying the resource table while the remote is running. This saves us from the table_ptr dance, but more importantly allow the remote processor to enable security lock down of the loaded table memory region. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/remoteproc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index 8265d351c9f0..e2f3a3281d8f 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -408,8 +408,7 @@ enum rproc_crash_type {
* @crash_comp: completion used to sync crash handler and the rproc reload
* @recovery_disabled: flag that state if recovery was disabled
* @max_notifyid: largest allocated notify id.
- * @table_ptr: pointer to the resource table in effect
- * @cached_table: copy of the resource table
+ * @table_ptr: our copy of the resource table
* @has_iommu: flag to indicate if remote processor is behind an MMU
*/
struct rproc {
@@ -441,7 +440,6 @@ struct rproc {
bool recovery_disabled;
int max_notifyid;
struct resource_table *table_ptr;
- struct resource_table *cached_table;
bool has_iommu;
bool auto_boot;
};