lkml.org 
[lkml]   [2022]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v6 1/2] cpufreq: Abort show/store for half initialized policy
On Mon, May 16, 2022 at 12:25 PM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On Mon, 16 May 2022 at 04:03, Schspa Shi <schspa@gmail.com> wrote:
> >
> > If policy initialization fails after the sysfs files are created,
> > there is a possibility that we may end up running show()/store()
> > callbacks for half initialized policies, which may have unpredictable
> > outcomes.
> >
> > Abort show/store in such a case by making sure the policy is active.
> > Also inactivate the policy on such failures.
> >
> > Signed-off-by: Schspa Shi <schspa@gmail.com>
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Applied along with the [2/2], with some adjustments in the subject and
changelog, as 5.19 material.

Thanks!

\
 
 \ /
  Last update: 2022-05-17 21:42    [W:0.070 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site