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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0hp8f3Xjb7bkDR_+RYfTE1ck=qop_QMZ3+z4w7T0VS66g@mail.gmail.com>
Date: Tue, 4 Feb 2025 16:21:53 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: David Arcari <darcari@...hat.com>
Cc: dedekind1@...il.com, linux-pm@...r.kernel.org, 
	Jonathan Corbet <corbet@....net>, Jacob Pan <jacob.jun.pan@...ux.intel.com>, 
	Len Brown <lenb@...nel.org>, Prarit Bhargava <prarit@...hat.com>, linux-doc@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] intel_idle: introduce 'use_acpi_cst' module parameter

On Tue, Feb 4, 2025 at 2:07 PM David Arcari <darcari@...hat.com> wrote:
>
>
> Hi Artem,
>
> On 2/4/25 7:23 AM, Artem Bityutskiy wrote:
> > Hi David,
> >
> > On Tue, 2025-01-28 at 09:11 -0500, David Arcari wrote:
> >
> >> +The ``use_acpi_cst`` module parameter (recognized by ``intel_idle`` if the
> >> +kernel has been configured with ACPI support) can be set to make the driver
> >> +ignore the per cpu idle states in lieu of ACPI idle states. ``use_acpi_cst``
> >> +has no effect if ``no_acpi`` is set).
> >
> > With this change, there will be three parameters:
> >
> > * no_acpi
> > * use_acpi
> > * use_acpi_cst
> >
> > I would like to make the naming as intuitive as possible. We do not rename the
> > first 2, but for the 3rd one, I think "force_acpi" would be a better name. Or
> > perhaps "no_native"?
>
> The problem with force_acpi is it is very similar to force_use_acpi
> which is what intel_idle.c uses internally:
>
> drivers/idle/intel_idle.c:module_param_named(use_acpi, force_use_acpi,
> bool, 0444);
>
> That said, I am not attached to the 'use_acpi_cst' parameter name.

IMV this is rather about ignoring the built-in states table
altogether, IOW something like "pretend that you don't recognize the
processor".

But it could be something like "prefer_acpi" as far as I'm concerned.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ