]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use
authorSibi Sankar <sibis@codeaurora.org>
Wed, 15 Apr 2020 07:16:18 +0000 (12:46 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 May 2020 19:08:09 +0000 (12:08 -0700)
commitbe050a3429f46ecf13eb2b80f299479f8bb823fb
treefed31c1a45dcb0ba3ed386a98f4bd2e2ca3b3aaf
parenta9fdc79d488623d36341f0f3d08f5aa1bedb9d53
remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use

The application processor accessing the mpss region when the Q6 modem is
running will lead to an XPU violation. Fix this by un-mapping the mpss
segments post copy during mpss authentication and coredumps.

Tested-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200415071619.6052-1-sibis@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_q6v5_mss.c