Re: [PATCH v1 0/6] Introduce power off call chain API

From: Andy Shevchenko
Date: Thu Oct 07 2021 - 03:19:33 EST


On Thu, Oct 7, 2021 at 9:05 AM Dmitry Osipenko <digetx@xxxxxxxxx> wrote:
>
> Introduce power off call chain API that is inspired by the restart API.
> It allows to have multiple power off handlers invoked along the chain

allows multiple

> until system is powered off. For the starter this series converts couple

the system
a couple

> NVIDIA Tegra drivers to the new API. Existing pm_power_off() method
> stays around and may be removed once all users will adopt the new API.

users adopt

>
> There were couple attempts in the past to add power off API from

a couple

> Guenter Roeck and Thierry Reding, but they were never completed. This
> is a somewhat simplified version which doesn't try to convert whole kernel
> to the new API at once, but solves immediate practical problem that we

problems

> have on Nexus 7 Android tablet where device needs to chain power off

tablets where the device

> methods.

Immediate question here is how do you see the plan of spreading this.
I.o.w. can you put an explanation that you have checked, let's say
>80% current users, and they may be converted like [example
placeholder] without any special tricks?

--
With Best Regards,
Andy Shevchenko