diff options
author | Loic Pallardy <loic.pallardy@st.com> | 2019-01-10 14:49:10 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-02-21 06:34:18 +0100 |
commit | a987e6b91a5ac0e08782506b1f879e37dab3b605 (patch) | |
tree | d52a79f360cc9e6beab7ff0d05857fa79857cc80 /ipc/util.h | |
parent | remoteproc: fix rproc_alloc_carveout() for rproc with iommu domain (diff) | |
download | linux-a987e6b91a5ac0e08782506b1f879e37dab3b605.tar.xz linux-a987e6b91a5ac0e08782506b1f879e37dab3b605.zip |
remoteproc: fix trace buffer va initialization
With rproc_alloc_registered_carveouts() introduction, carveouts are
allocated after resource table parsing.
rproc_da_to_va() may return NULL at trace resource registering.
This patch modifies trace debufs registering to provide device address
(da) instead of va.
da to va translation is done at each trace buffer access
through debugfs interface.
Fixes: d7c51706d095 ("remoteproc: add alloc ops in rproc_mem_entry struct")
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions