Re: [PATCH v1] misc: fastrpc: Reassign memory ownership only for remote heap

From: Srinivas Kandagatla
Date: Fri May 12 2023 - 10:55:00 EST



On Tue, 21 Mar 2023 15:51:40 +0530, Ekansh Gupta wrote:
> The userspace map request for remote heap allocates CMA memory.
> The ownership of this memory needs to be reassigned to proper
> owners to allow access from the protection domain running on
> DSP. This reassigning of ownership is not correct if done for
> any other supported flags.
>
> When any other flag is requested from userspace, fastrpc is
> trying to reassign the ownership of memory and this reassignment
> is getting skipped for remote heap request which is incorrect.
> Add proper flag check to reassign the memory only if remote heap
> is requested.
>
> [...]

Applied, thanks!

[1/1] misc: fastrpc: Reassign memory ownership only for remote heap
commit: 5fad4a6b2d8f05c4823a08465e584f46df798b1f

Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>