RE: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2025-01-01 Thread Usyskin, Alexander
> >> > >> >> If so, I have to add patch for mtd subsystem to always have device for > >> master > >> >> initialized regardless of kernel flag. > >> >> Only to initialize struct device, not to create full mtd node. > >> >> > >> >> Miquel - are you agree to this? > >> > >> Conceptually yes, but pleas

Re: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-30 Thread Miquel Raynal
On 29/12/2024 at 15:08:56 GMT, "Usyskin, Alexander" wrote: >> >> Hello Alexander, >> >> >> If so, I have to add patch for mtd subsystem to always have device for >> master >> >> initialized regardless of kernel flag. >> >> Only to initialize struct device, not to create full mtd node. >> >> >>

RE: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-29 Thread Usyskin, Alexander
> > Hello Alexander, > > >> If so, I have to add patch for mtd subsystem to always have device for > master > >> initialized regardless of kernel flag. > >> Only to initialize struct device, not to create full mtd node. > >> > >> Miquel - are you agree to this? > > Conceptually yes, but please m

Re: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-23 Thread Miquel Raynal
Hello Alexander, >> If so, I have to add patch for mtd subsystem to always have device for master >> initialized regardless of kernel flag. >> Only to initialize struct device, not to create full mtd node. >> >> Miquel - are you agree to this? Conceptually yes, but please mind one thing: we do n

RE: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-18 Thread Usyskin, Alexander
> > >> @@ -474,20 +478,28 @@ static int intel_dg_mtd_erase(struct mtd_info > > *mtd, struct erase_info *info) > > >> total_len = info->len; > > >> addr = info->addr; > > >> > > >> +ret = pm_runtime_resume_and_get(mtd->dev.parent); > > > on this, I really don't believe this

RE: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-17 Thread Usyskin, Alexander
> >> @@ -474,20 +478,28 @@ static int intel_dg_mtd_erase(struct mtd_info > *mtd, struct erase_info *info) > >>total_len = info->len; > >>addr = info->addr; > >> > >> + ret = pm_runtime_resume_and_get(mtd->dev.parent); > > on this, I really don't believe this is right and we should use > >

Re: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-17 Thread Poosa, Karthik
On 18-12-2024 04:19, Rodrigo Vivi wrote: On Tue, Nov 19, 2024 at 04:01:08PM +0200, Alexander Usyskin wrote: Enable runtime PM in mtd driver to notify graphics driver that whole card should be kept awake while nvm operations are performed through this driver. CC: Lucas De Marchi Acked-by: Miq

Re: [PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-12-17 Thread Rodrigo Vivi
On Tue, Nov 19, 2024 at 04:01:08PM +0200, Alexander Usyskin wrote: > Enable runtime PM in mtd driver to notify graphics driver that > whole card should be kept awake while nvm operations are > performed through this driver. > > CC: Lucas De Marchi > Acked-by: Miquel Raynal > Signed-off-by: Alexa

[PATCH v3 06/10] mtd: intel-dg: wake card on operations

2024-11-19 Thread Alexander Usyskin
Enable runtime PM in mtd driver to notify graphics driver that whole card should be kept awake while nvm operations are performed through this driver. CC: Lucas De Marchi Acked-by: Miquel Raynal Signed-off-by: Alexander Usyskin --- drivers/mtd/devices/mtd-intel-dg.c | 70 ++