Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-22 Thread Dmitry Baryshkov
On Mon, Jul 22, 2024 at 01:23:56PM GMT, Ekansh Gupta wrote: > > > On 7/22/2024 1:09 PM, Greg KH wrote: > > On Mon, Jul 22, 2024 at 11:42:52AM +0530, Ekansh Gupta wrote: > >> > >> On 7/22/2024 11:28 AM, Greg KH wrote: > >>> On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: > For u

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-22 Thread Ekansh Gupta
On 7/22/2024 1:09 PM, Greg KH wrote: > On Mon, Jul 22, 2024 at 11:42:52AM +0530, Ekansh Gupta wrote: >> >> On 7/22/2024 11:28 AM, Greg KH wrote: >>> On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: For user PD initialization, initmem is allocated and sent to DSP for initia

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-22 Thread Greg KH
On Mon, Jul 22, 2024 at 11:42:52AM +0530, Ekansh Gupta wrote: > > > On 7/22/2024 11:28 AM, Greg KH wrote: > > On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: > >> For user PD initialization, initmem is allocated and sent to DSP for > >> initial memory requirements like shell loading

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Ekansh Gupta
On 7/22/2024 11:28 AM, Greg KH wrote: > On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: >> For user PD initialization, initmem is allocated and sent to DSP for >> initial memory requirements like shell loading. The size of this memory >> is decided based on the shell size that is p

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Greg KH
On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: > For user PD initialization, initmem is allocated and sent to DSP for > initial memory requirements like shell loading. The size of this memory > is decided based on the shell size that is passed by the user space. > With the current im

[PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Ekansh Gupta
For user PD initialization, initmem is allocated and sent to DSP for initial memory requirements like shell loading. The size of this memory is decided based on the shell size that is passed by the user space. With the current implementation, a minimum of 2MB is always allocated for initmem even if