Commit 72f64cab authored by Clement Leger's avatar Clement Leger Committed by Bjorn Andersson
Browse files

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: 086d0872

 ("remoteproc: create vdev subdevice with specific dma memory pool")
Signed-off-by: default avatarClement Leger <cleger@kalray.eu>
Acked-by: default avatarLoic Pallardy <loic.pallardy@st.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent f04b9138
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment