From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC3392E2650 for ; Tue, 8 Jul 2025 15:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751990285; cv=none; b=ElC6NezVOG4yUA2otOm+bxeujLNP8X2ElThtUfhmrpsCGF62dExiLA1Fy0mo6PWVIgP+WzyZqu7wtgjUraxR2u2PYrC2YcAplXDAlP7GPxMa3sy78dshAxfuLuaVipWvJEpWjaRZcuPUBhi0ULQwr3lCOZhJnpaE9x3DlZYg+fY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751990285; c=relaxed/simple; bh=7gQeCLAZtQEfIyXXcezsvaIrZXV7Qk5Jv0/UhljKckk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FAq2fYR90jR7OTR5Qxx8TQsuOzW3JHzckZdVi+qptTTiH5CzuXRsFccYYgbuSfyaIx7JrgnQwaiALxzjuTEJW6M4aLFmGKgScj4CuTaneFWnAEt3OCAL4WjTeNKBimP2POCw6MW4agIP+2fG63JGTCqM4HZ6iFPzp9cincyRKPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JqQX9nS/; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JqQX9nS/" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-6088d856c6eso8802041a12.0 for ; Tue, 08 Jul 2025 08:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751990282; x=1752595082; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tiJvxbpJm4ueaILExBT2ruQnafJPKLQnKbXYAJpzmYw=; b=JqQX9nS/QiWWJ+Al0rJUSn3Qb3bPIJlfOylkeHvFqOE3KXrEZgyy9SafPhhlAzxaB6 vcE/O7Bo8K972vCtMf4hJ5AKb6haJ+EgOeJZwR+Ve/gIwXmBpIbfWmIXBo1lCYbm9xpo C/o7ve5Ptb5po7C56fKKpKNK1R7x0nelTcstMciGo+27uammt/5hZ2HVY4Ai+DHLJzbw PBd0XOx3STzQO9/Wrp6q2pHAne81pMynhU9IHhVBcuWWQNUIGyn0rJIobR9EV7861bNE uOGcfgpXuVAUTb0PVfL3tY2WL2qM2a9frAKTiB0wVHJC89N3FVqH6+F76zOwG8tkT7S8 ANLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751990282; x=1752595082; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tiJvxbpJm4ueaILExBT2ruQnafJPKLQnKbXYAJpzmYw=; b=UqAEbhKItAm3qzEh9B1JmjV7zZjJYbN/UvdUWTihQgoXW/k5qEGXqsHt6APf14V4ng swLsVm/Y7VVof/uuyhBnsbxT/Gdqh6tzdoPL8CAfQlJL+zvpDGbyZNqBfjzEw8d8agaq qjezyZtjGl5+KXOtzPREibbTE+yCEI1Hm8O5yfQDsd4b1wCiRqObEbCDXvCsABhBILxR zgefIAw5N++70z/wYuh2UvwKRzWDAT/fLGPuqUE05YrNHfpy9U/DhwM8OkVrGvazXkyV DgpqjorhSLF5F7cQYCuINIynJ6bUpDzcjV4eaxdpGtP8C+bpLuVQEY5GN9PlOjXnwzsG hyWA== X-Forwarded-Encrypted: i=1; AJvYcCUqi4s27lCUOfxb4AX82f3mwm/VxgT9fOIk+oL8rcT+Dz2faiLpRZ6drdFv1FmhJywZ49UAnMcLrdt+iDc=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4u4obfayWtqmP04yvMq4KQbdfWmml+4igUREplqnXzI2u8+SC k4KFv1ywtj6cb/KHQjQXWplzuhBbhxYBdW2fyV7ei19Lxxle3geGoZvK20vD/WRDSNU= X-Gm-Gg: ASbGncvd+sX/BasJDv0wIXwGMs1uLgC5Wtij0KspbBfA5JjfT24n+rolEcI7v5PbRes s18VITodPlxDFtqcqPNHq9WfT9t4JRguTzPH75Un1U+LwHLmKMg7XjO12Sf+v/WAy5bTjdy3pKv YoBS9fEEXBWPLEeauNHIUNaIFALRUlcjZpaC6oY5O5QE6gBI1mkg0IDSsGM/MV8YONzfnMnGmS9 hc7muavJ9bbF0H75d5gh87ohtmtUE81exd2eaFcaaV1pqn6/gySJP3mRBsephF5FZPHFxHvuaKU anmQYvAteDejl4GzF74S44CvarBDVOrB2TvHTmr/044J1/mF/e6rtV0veDW26eZ4cdwJBSg= X-Google-Smtp-Source: AGHT+IG00ZItLfvhtpCxt6kkcwqcafrRvWaaK7c0sFOt4CTrsTCYl9LvDHEYPMR0h+/qH0anL1ixPA== X-Received: by 2002:a17:907:1c9f:b0:ae3:f2a0:459f with SMTP id a640c23a62f3a-ae6b0ebac72mr353922366b.54.1751990281967; Tue, 08 Jul 2025 08:58:01 -0700 (PDT) Received: from [192.168.0.251] ([82.76.204.12]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-60fcb8c80acsm7396418a12.80.2025.07.08.08.58.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Jul 2025 08:58:01 -0700 (PDT) Message-ID: Date: Tue, 8 Jul 2025 16:58:00 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] PM: add kernel parameter to disable asynchronous suspend/resume To: Randy Dunlap , Jonathan Corbet , "Rafael J. Wysocki" , Pavel Machek , Len Brown 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 References: <20250708-pm-async-off-v2-1-7fada54f01c0@linaro.org> <18c12f92-2194-4244-8793-5d916edfd4e8@infradead.org> Content-Language: en-US From: Tudor Ambarus In-Reply-To: <18c12f92-2194-4244-8793-5d916edfd4e8@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Format: { off } Format: {off} Format: { "off" } Format: {"off"} Format: off Any idea if there's an already agreed string format? Thanks, ta