remoteproc: add rproc_va_to_pa function
authorLoic Pallardy <loic.pallardy@st.com>
Fri, 27 Jul 2018 13:14:37 +0000 (15:14 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Oct 2018 05:39:03 +0000 (22:39 -0700)
commiteb30596eae947ce9072507a3ca112a9dd4601d85
tree6dfa0fce0677db8abd70675a566c624521988cb8
parent3bc8140b157c973f3746cc72d31b3fe0fa7a4117
remoteproc: add rproc_va_to_pa function

This new function translates CPU virtual address in
CPU physical one according to virtual address location.

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