[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gzYQJ+j2M64ct68ghOCmffdoeakh=FPwRv2DTe1mwbFQ@mail.gmail.com>
Date: Tue, 17 May 2022 21:40:51 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>,
Schspa Shi <schspa@...il.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [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@...aro.org> wrote:
>
> On Mon, 16 May 2022 at 04:03, Schspa Shi <schspa@...il.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@...il.com>
>
> Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
Applied along with the [2/2], with some adjustments in the subject and
changelog, as 5.19 material.
Thanks!
Powered by blists - more mailing lists