lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iwzoqg939Kx2pwRbKo3CS--tU=+w+1cpHL35gd=3-yTQ@mail.gmail.com>
Date: Wed, 9 Apr 2025 14:54:15 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: "Zhang, Rui" <rui.zhang@...el.com>, "ggherdovich@...e.cz" <ggherdovich@...e.cz>
Cc: "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>, "lenb@...nel.org" <lenb@...nel.org>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, 
	"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH 2/2] ACPI: processor: idle: Remove obsolete comment

On Wed, Apr 9, 2025 at 2:54 AM Zhang, Rui <rui.zhang@...el.com> wrote:
>
> On Fri, 2025-03-28 at 15:30 +0100, Giovanni Gherdovich wrote:
> > Since commit 496121c02127e9c460b436244c38260b044cc45a ("ACPI:
> > processor:
> > idle: Allow probing on platforms with one ACPI C-state"), the comment
> > doesn't reflect the code anymore; remove it.
> >
> > Signed-off-by: Giovanni Gherdovich <ggherdovich@...e.cz>
>
> This is a standalone cleanup, and further cleanups are posted in a
> separate patch set on top of this one, so
>
> Acked-by: Zhang Rui <rui.zhang@...el.com>

Applied as 6.16 material, thanks!

> > ---
> >  drivers/acpi/processor_idle.c | 4 ----
> >  1 file changed, 4 deletions(-)
> >
> > diff --git a/drivers/acpi/processor_idle.c
> > b/drivers/acpi/processor_idle.c
> > index b181f7fc2090..2a076c7a825a 100644
> > --- a/drivers/acpi/processor_idle.c
> > +++ b/drivers/acpi/processor_idle.c
> > @@ -482,10 +482,6 @@ static int acpi_processor_get_cstate_info(struct
> > acpi_processor *pr)
> >
> >       pr->power.count = acpi_processor_power_verify(pr);
> >
> > -     /*
> > -      * if one state of type C2 or C3 is available, mark this
> > -      * CPU as being "idle manageable"
> > -      */
> >       for (i = 1; i < ACPI_PROCESSOR_MAX_POWER; i++) {
> >               if (pr->power.states[i].valid) {
> >                       pr->power.count = i;
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ