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: <d3d1e2be-6b9b-40d4-bd9a-49ff38c451f0@infradead.org>
Date: Tue, 8 Jul 2025 09:31:14 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Tudor Ambarus <tudor.ambarus@...aro.org>, Jonathan Corbet
 <corbet@....net>, "Rafael J. Wysocki" <rafael@...nel.org>,
 Pavel Machek <pavel@...nel.org>, Len Brown <len.brown@...el.com>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-pm@...r.kernel.org, peter.griffin@...aro.org,
 andre.draszik@...aro.org, willmcvicker@...gle.com, kernel-team@...roid.com
Subject: Re: [PATCH v2] PM: add kernel parameter to disable asynchronous
 suspend/resume



On 7/8/25 8:58 AM, Tudor Ambarus wrote:
> 
> 
> On 7/8/25 4:36 PM, Randy Dunlap wrote:
>> Hi,
>>
> 
> Hi, Randy!
> 
>> On 7/8/25 8:16 AM, Tudor Ambarus wrote:
>>
>>> ---
>>>  Documentation/admin-guide/kernel-parameters.txt | 11 +++++++++++
>>>  kernel/power/main.c                             |  9 +++++++++
>>>  2 files changed, 20 insertions(+)
>>>
>>> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
>>> index f1f2c0874da9ddfc95058c464fdf5dabaf0de713..33ca6b881b1d77bdeea765b19291a90b2a82e8a3 100644
>>> --- a/Documentation/admin-guide/kernel-parameters.txt
>>> +++ b/Documentation/admin-guide/kernel-parameters.txt
>>> @@ -5000,6 +5000,17 @@
>>>  			that number, otherwise (e.g., 'pmu_override=on'), MMCR1
>>>  			remains 0.
>>>  
>>
>> This should be more like:
>>
>>
>> 	pm_async=off	[PM]
>>
>> or
>>
>>> +	pm_async	[PM]
>>
>> 	pm_async=	[PM]
>> 			Format: off
> 
> Indeed. I see this second description, "kernel_param=", largely used in
> the existing kernel parameters, so maybe that's what I shall follow.
> However, I don't really know which format to choose, I see:
> 
> Format: <string>
> Format: { off }
> Format: {off}
> Format: { "off" }
> Format: {"off"}
> Format: off
> 
> Any idea if there's an already agreed string format?

Hi,
AFAIK there isn't one. Just choose one. :)

I would go with the first choice that I listed
but it's up to you.

-- 
~Randy


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ