2023-09-28 21:46:27

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH v1] misc: fastrpc: Free DMA handles for RPC calls with no arguments

On Thu, Aug 31, 2023 at 11:53:49AM +0530, Ekansh Gupta wrote:
> The FDs for DMA handles to be freed is updated in fdlist by DSP over
> a remote call. This holds true even for remote calls with no
> arguments. To handle this, get_args and put_args are needed to
> be called for remote calls with no arguments also as fdlist
> is allocated in get_args and FDs updated in fdlist is freed
> in put_args.
>
> Signed-off-by: Ekansh Gupta <[email protected]>

What commit id does this fix? Or is this new functionality?

thanks,

greg k-h


2023-09-29 11:21:30

by Ekansh Gupta

[permalink] [raw]
Subject: Re: [PATCH v1] misc: fastrpc: Free DMA handles for RPC calls with no arguments



On 9/28/2023 6:35 PM, Greg KH wrote:
> On Thu, Aug 31, 2023 at 11:53:49AM +0530, Ekansh Gupta wrote:
>> The FDs for DMA handles to be freed is updated in fdlist by DSP over
>> a remote call. This holds true even for remote calls with no
>> arguments. To handle this, get_args and put_args are needed to
>> be called for remote calls with no arguments also as fdlist
>> is allocated in get_args and FDs updated in fdlist is freed
>> in put_args.
>>
>> Signed-off-by: Ekansh Gupta <[email protected]>
>
> What commit id does this fix? Or is this new functionality?
>
I'll update the details in the next patch.

-ekansh
> thanks,
>
> greg k-h