diff options
author | Ekansh Gupta <[email protected]> | 2024-02-24 11:42:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-05 14:30:06 +0000 |
commit | a283d7f179ff83976af27bcc71f7474cb4d7c348 (patch) | |
tree | 700fdcf6b9e03634930b67f40d1c75c2153d4538 /include/linux/fpga | |
parent | f53641a6e849034a44bf80f50245a75d7a376025 (diff) |
misc: fastrpc: Pass proper arguments to scm call
For CMA memory allocation, ownership is assigned to DSP to make it
accessible by the PD running on the DSP. With current implementation
HLOS VM is stored in the channel structure during rpmsg_probe and
this VM is passed to qcom_scm call as the source VM.
The qcom_scm call will overwrite the passed source VM with the next
VM which would cause a problem in case the scm call is again needed.
Adding a local copy of source VM whereever scm call is made to avoid
this problem.
Fixes: 0871561055e6 ("misc: fastrpc: Add support for audiopd")
Cc: stable <[email protected]>
Signed-off-by: Ekansh Gupta <[email protected]>
Reviewed-by: Elliot Berman <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga')
0 files changed, 0 insertions, 0 deletions