Re: [PATCH v3 0/4] Generalize fncpy availability

From: Tony Lindgren
Date: Mon Jun 19 2017 - 09:53:25 EST


* Mark Rutland <mark.rutland@xxxxxxx> [170619 05:25]:
> On Fri, Jun 16, 2017 at 05:07:40PM -0700, Florian Fainelli wrote:
> >
> > This is helpful in making SoC-specific power management code become true drivers
> > that can be shared between different architectures.
>
> Could you elaborate on what this is needed for?
>
> My understanding was that on 32-bit, this was to handle idle / suspend
> cases, whereas for arm64 that should be handled by PSCI.
>
> what exactly do you intend to use this for?

Well idle / suspend can have multiple needs such as running
core while DDR is in self-refresh mode and saving and restoring
of some context registers in that state.

Also clock drivers may need this to reprogram some core clocks.

Regards,

Tony