Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 A5F402E264F for ; Tue, 8 Jul 2025 15:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751990285; cv=none; b=lGyhM3dHcinwfouDXua4+RjMytETyfXOUZmovKpl80UxNwmZPFgxRKuRxowfkgfnGt5aJHs3LFnyJQ4joI8PxsuAdeZOcnquOVFEIKD7TROgLOHUa/YHtpenqDFylYtwfS4nvbBl2E6POlIK/S4jX919blk8hohh3JJFjiYZpcY= 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.49 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-f49.google.com with SMTP id 4fb4d7f45d1cf-60c5b8ee2d9so9977983a12.2 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=PECbiUnEIvWK7BKZkPWlr/erwFeoGBKaCIiNZVOeCvJjHIWCShBWD/ygg2NVGrZNiJ rVoBkt+p+89fbIVmMHtmb73DO3qhO2iySr/cl5G5/KSsa1EMS/o2gcsabqGPGUIKsBOq g/H4YYr2g3O8EWWRqa2gkyMycA78Ytb1H4JJlR2j2dFaUTQRWN6G5/z0t/2zKV0vTFmI oDp1Xi6xc6hlvZnG+3Zxy60hCNcGSR/mdHMKNSP1Ceb9DVF4wwM+Ie11IGx6wcOuDATW jz400cziMFhIG6d/FIX5ReX8YYegy44wk87kUuitLDKPeddB9jrp48R9GL7WptMSqZ97 I3zA== X-Gm-Message-State: AOJu0YwBJKnsyJ+PrSqEhDL/hwslQ2xGB0ONuN/+f31q/IvxA9L7mC+N 5YmlIbOT96Oo8N/3dtJ5G9ZTaT5b97pPx/bJTXCtPurClyRdKRqhA6+800P/mmn1ptg= X-Gm-Gg: ASbGncvVptmjwjbBs1PsKQLLneOMTXZ/zRwDupgw1Op5MxNVQ3qjYNCh7KPC3FCeK0e od+Ea4QDayPcld5QW32h22qnUtTrvIL9MFwd8VFQssiEyqVDQJp3dKE9urcJXOhQI0fZg1nmAgv Pw41WkRfg6Wf9JToycEbSmjKFAsGYqUBweoOMbb1RZFqEKcaAcbnRl9XtFkjfeAymFIM/bCgbmW yQKPuvu+75jtDgKPEfBX5JNP6ED1w41ZTC5ETY8BtSrYtBkXqc7P+jTz8F+5dSGI2qgGwSscl5P eZQ4Y0/7PVKgOX3qnxUq+6WaQ5s470x8HtxJvfUdeV6bq7F36Ii+lmtjIHOBtMw8sNGX4uE= 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-doc@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