On 11/1/26 11:21 PM, Ekansh Gupta wrote:
> From: Ekansh Gupta <[email protected]>
>
> The DSP can only touch memory it has been told about, so user space
> needs a way to make a buffer visible to it ahead of time rather than
> only per call.
[...]
> +struct qda_fastrpc_mem_map_req_msg {
> + /** @remote_session_id: Session the mapping belongs to */
> + s32 remote_session_id;
> + /** @handle: Identifier the DSP tracks the buffer by */
> + s32 handle;
> + /** @offset: Offset within the buffer */
> + s32 offset;
I think this should be 64b too.
> + /** @flags: Mapping flags (cache attributes, permissions) */
> + u32 flags;
> + /** @vaddrin: Address the DSP should map the buffer at, if it can */
> + u64 vaddrin;
> + /** @num: Size of the physical page descriptor in bytes */
> + s32 num;
> + /** @data_len: Length of additional inline data */
> + s32 data_len;
And same here (and in the corresponding uapi struct)
Konrad