[PATCH v2] mtd: intel-dg: wake card on operations

Usyskin, Alexander alexander.usyskin at intel.com
Wed Oct 22 07:26:22 PDT 2025


> Subject: Re: [PATCH v2] mtd: intel-dg: wake card on operations
> 
> Hi Alexander,
> 
> On 21/10/2025 at 15:32:46 +03, Alexander Usyskin
> <alexander.usyskin at intel.com> wrote:
> 
> > The Intel DG cards do not have separate power control for
> > persistent memory.
> > The memory is available when the whole card is awake.
> >
> > Enable runtime PM in mtd driver to notify parent graphics driver
> > that whole card should be kept awake while nvm operations are
> > performed through this driver.
> >
> > CC: Lucas De Marchi <lucas.demarchi at intel.com>
> > Signed-off-by: Alexander Usyskin <alexander.usyskin at intel.com>
> > ---
> 
> I am curious to know why this now works, whereas in your previous
> attempt (which had to be reverted) we had to do a lot more.
> 

The reverted attempt was to always create mtd master device and use
normal device hierarchy in power management.
Here the power management manipulated directly on the parent device
without involving mtd master that may not be initialized.

- - 
Thanks,
Sasha


> Thanks,
> Miquèl


More information about the linux-mtd mailing list