diff options
author | Sibi Sankar <quic_sibis@quicinc.com> | 2023-01-17 11:58:35 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-01-19 06:36:17 +0300 |
commit | 57f72170a2b2a362c35bb9407fc844eac5afdec1 (patch) | |
tree | 69af6291492a48329503e3aed44b2fc5039084ab /tools/perf/scripts/python/task-analyzer.py | |
parent | a899d542b687c9b04ccbd9eefabc829ba5fef791 (diff) | |
download | linux-57f72170a2b2a362c35bb9407fc844eac5afdec1.tar.xz |
remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
Any access to the dynamically allocated metadata region by the application
processor after assigning it to the remote Q6 will result in a XPU
violation. Fix this by replacing the dynamically allocated memory region
with a no-map carveout and unmap the modem metadata memory region before
passing control to the remote Q6.
Reported-and-tested-by: Amit Pundir <amit.pundir@linaro.org>
Fixes: 6c5a9dc2481b ("remoteproc: qcom: Make secure world call for mem ownership switch")
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-7-quic_sibis@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions