]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom: q6v5-mss: add SCM probe dependency
authorBrian Norris <briannorris@chromium.org>
Tue, 9 Oct 2018 02:08:05 +0000 (19:08 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 9 Oct 2018 06:17:25 +0000 (23:17 -0700)
commitdaf33e6d2e4101c4b02418acfbf69384c96f98b1
treec1023520ef09a6ed6617fe1a6f20d91c5be0c36e
parentba436b596fcb2b928e364e8f727b3f77d1377952
remoteproc: qcom: q6v5-mss: add SCM probe dependency

The memory ownership transfer request is performed using SCM, ensure
that SCM is available before we probe the driver if memory protection is
needed by the subsystem.

Fixes: a2ed97bf0e19 ("remoteproc: qcom: Make secure world call for mem ownership switch")
Cc: stable@vger.kernel.org
Signed-off-by: Brian Norris <briannorris@chromium.org>
[bjorn: Added condition for need_mem_protection, updated commit message]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_mss.c