diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-12 11:00:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-12 11:00:22 -0800 |
commit | 9ca277eba05ad99c6e7caa51cdaa93102875c026 (patch) | |
tree | f335277d51d765ac6d4befcea210d3729c58e02f /include | |
parent | 1d865da79e3ba09362ef474807981d0634881f1d (diff) | |
parent | a0c10687ec9506b5e14fe3dd47832a77f2f2500c (diff) | |
download | linux-9ca277eba05ad99c6e7caa51cdaa93102875c026.tar.bz2 |
Merge tag 'rproc-v4.10-fixes' of git://github.com/andersson/remoteproc
Pull remoteproc fixes from Bjorn Andersson:
"This fixes two regressions that have been reported to be introduced in
v4.10-rc1.
- correct an incorrect usage of the kref api
- revert the change to make the resource table read-only. As the
space each vdev resource is used as virtio device config space it
must be shared with the remote"
* tag 'rproc-v4.10-fixes' of git://github.com/andersson/remoteproc:
Revert "remoteproc: Merge table_ptr and cached_table pointers"
remoteproc: fix vdev reference management
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/remoteproc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index e2f3a3281d8f..8265d351c9f0 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -408,7 +408,8 @@ 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: our copy of the resource table + * @table_ptr: pointer to the resource table in effect + * @cached_table: copy of the resource table * @has_iommu: flag to indicate if remote processor is behind an MMU */ struct rproc { @@ -440,6 +441,7 @@ struct rproc { bool recovery_disabled; int max_notifyid; struct resource_table *table_ptr; + struct resource_table *cached_table; bool has_iommu; bool auto_boot; }; |