Re: [PATCH v2] cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 26, 2020 at 10:24 AM Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
>
> On Thu, 16 Apr 2020 at 10:59, Stephan Gerhold <stephan@xxxxxxxxxxx> wrote:
> >
> > The Qualcomm SPM cpuidle driver seems to be the last driver still
> > using the generic ARM CPUidle infrastructure.
> >
> > Converting it actually allows us to simplify the driver,
> > and we end up being able to remove more lines than adding new ones:
> >
> >   - We can parse the CPUidle states in the device tree directly
> >     with dt_idle_states (and don't need to duplicate that
> >     functionality into the spm driver).
> >
> >   - Each "saw" device managed by the SPM driver now directly
> >     registers its own cpuidle driver, removing the need for
> >     any global (per cpu) state.
> >
> > The device tree binding is the same, so the driver stays
> > compatible with all old device trees.
> >
> > Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx>
>
> Rafael, I think we all believed that you were intending to pick this up.

Oh, but nobody let me know that before. :-)

> Is there anything additional you need to make that happen?

Not really, thanks for letting me know that I was expected to take it.

> FYI, this allows further cleanup to be made on the ARM cpuidle code.
> Both in arch and cpuidle code.

Sure.

Thanks!



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux