]> Git Repo - linux.git/commit
remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
authorSibi Sankar <[email protected]>
Tue, 17 Jan 2023 08:58:35 +0000 (14:28 +0530)
committerBjorn Andersson <[email protected]>
Thu, 19 Jan 2023 03:36:17 +0000 (21:36 -0600)
commit57f72170a2b2a362c35bb9407fc844eac5afdec1
tree69af6291492a48329503e3aed44b2fc5039084ab
parenta899d542b687c9b04ccbd9eefabc829ba5fef791
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 <[email protected]>
Fixes: 6c5a9dc2481b ("remoteproc: qcom: Make secure world call for mem ownership switch")
Signed-off-by: Sibi Sankar <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
drivers/remoteproc/qcom_q6v5_mss.c
This page took 0.053826 seconds and 4 git commands to generate.