]> asedeno.scripts.mit.edu Git - linux.git/commit
remoteproc: configure IOMMU only if device address requested
authorLoic Pallardy <loic.pallardy@st.com>
Fri, 27 Jul 2018 13:14:36 +0000 (15:14 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Oct 2018 05:38:37 +0000 (22:38 -0700)
commit3bc8140b157c973f3746cc72d31b3fe0fa7a4117
tree0e815c024a8e63b894e8347bed7f2a5366b02232
parentbbcda30271752bb7490f2e2aef5411dbcae69116
remoteproc: configure IOMMU only if device address requested

If there is no IOMMU associate to remote processor device,
remoteproc_core won't be able to satisfy device address requested
in firmware resource table.
Return an error as configuration won't be coherent.

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c