diff options
author | Clement Leger <cleger@kalray.eu> | 2019-07-01 09:02:45 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-07-01 19:09:01 -0700 |
commit | 72f64cabc4bd6985c7355f5547bd3637c82762ac (patch) | |
tree | f26dbdcee15eb83e396607632c6e1bdacce1eeda /drivers/clk/versatile | |
parent | f04b913834569efbbee442f2a3fb6199ce94dbbc (diff) | |
download | linux-72f64cabc4bd6985c7355f5547bd3637c82762ac.tar.bz2 |
remoteproc: copy parent dma_pfn_offset for vdev
When preparing the subdevice for the vdev, also copy dma_pfn_offset
since this is used for sub device dma allocations. Without that, there
is incoherency between the parent dma settings and the childs one,
potentially leading to dma_alloc_coherent failure (due to phys_to_dma
using dma_pfn_offset for translation).
Fixes: 086d08725d34 ("remoteproc: create vdev subdevice with specific dma memory pool")
Signed-off-by: Clement Leger <cleger@kalray.eu>
Acked-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/clk/versatile')
0 files changed, 0 insertions, 0 deletions