summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/qcom_common.c
diff options
context:
space:
mode:
authorSibi Sankar <quic_sibis@quicinc.com>2022-05-11 08:57:05 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-07-18 23:32:33 +0300
commitfc156629b23a21181e473e60341e3a78af25a1d4 (patch)
treef77ee61691643d6cefec751e2c91dbc4c6e08f2a /drivers/remoteproc/qcom_common.c
parent8672e79d98bc702084f65ef6d118333bd73f09a2 (diff)
downloadlinux-fc156629b23a21181e473e60341e3a78af25a1d4.tar.xz
remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use
The application processor accessing the dynamically assigned metadata region after assigning it to the remote Q6 would lead to an XPU violation. Fix this by un-mapping the metadata region post firmware header copy. The metadata region is freed only after the modem Q6 is done with fw header authentication. Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/1652248625-990-1-git-send-email-quic_sibis@quicinc.com
Diffstat (limited to 'drivers/remoteproc/qcom_common.c')
0 files changed, 0 insertions, 0 deletions