Searched hist:a987e6b91a5ac0e08782506b1f879e37dab3b605 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_debugfs.c | diff a987e6b91a5ac0e08782506b1f879e37dab3b605 Thu Jan 10 07:49:10 CST 2019 Loic Pallardy <loic.pallardy@st.com> 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>
|
H A D | remoteproc_internal.h | diff a987e6b91a5ac0e08782506b1f879e37dab3b605 Thu Jan 10 07:49:10 CST 2019 Loic Pallardy <loic.pallardy@st.com> 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>
|
H A D | remoteproc_core.c | diff a987e6b91a5ac0e08782506b1f879e37dab3b605 Thu Jan 10 07:49:10 CST 2019 Loic Pallardy <loic.pallardy@st.com> 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>
|