]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 26 Sep 2019 04:34:52 +0000 (00:34 -0400)
commitc6fd56bc08b1f30635425399603b0a248a0f69d3
tree221ad5115485fb98ed959c17a53d431eb4dfef4d
parentb8b7ab466c47e4acbb9378b2dbab82559d2071eb
remoteproc: qcom: q6v5-mss: add SCM probe dependency

BugLink: https://bugs.launchpad.net/bugs/1844558
[ Upstream commit bbcda30271752bb7490f2e2aef5411dbcae69116 ]

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: 6c5a9dc2481b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/remoteproc/qcom_q6v5_pil.c