linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Tudor Ambarus <tudor.ambarus@linaro.org>,
	Jonathan Corbet <corbet@lwn.net>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Pavel Machek <pavel@kernel.org>, Len Brown <len.brown@intel.com>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-pm@vger.kernel.org, peter.griffin@linaro.org,
	andre.draszik@linaro.org, willmcvicker@google.com,
	kernel-team@android.com
Subject: Re: [PATCH v2] PM: add kernel parameter to disable asynchronous suspend/resume
Date: Tue, 8 Jul 2025 09:31:14 -0700	[thread overview]
Message-ID: <d3d1e2be-6b9b-40d4-bd9a-49ff38c451f0@infradead.org> (raw)
In-Reply-To: <cabab318-95a4-4e81-a931-458ee6023f3a@linaro.org>



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


      reply	other threads:[~2025-07-08 16:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-08 15:16 [PATCH v2] PM: add kernel parameter to disable asynchronous suspend/resume Tudor Ambarus
2025-07-08 15:36 ` Randy Dunlap
2025-07-08 15:58   ` Tudor Ambarus
2025-07-08 16:31     ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3d1e2be-6b9b-40d4-bd9a-49ff38c451f0@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=andre.draszik@linaro.org \
    --cc=corbet@lwn.net \
    --cc=kernel-team@android.com \
    --cc=len.brown@intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@kernel.org \
    --cc=peter.griffin@linaro.org \
    --cc=rafael@kernel.org \
    --cc=tudor.ambarus@linaro.org \
    --cc=willmcvicker@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).