From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 9A3BC30214B for ; Thu, 15 Jan 2026 06:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768460164; cv=none; b=twlmYUM75hvoYkNrcZO3H5c0CGghSpLJkZOrK6u2WhhT4R4wGRHAJAz28M5qyytnvmrPxJrPNFjLvmo++KOH1a7B4uhhgUTsz6f2Z00TnhlREIIBXdFfTFg0aYKO9v6AVgqT1I/8t0VXjHfwwdsbLaYo/Wt3kbvVgnW/4gQrTZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768460164; c=relaxed/simple; bh=eE3zLEQ38FxS7L+a163ReIzMHdlAXyJE5Imew2BcCGs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dSqmAHTC4KyeP/avSHiuVLsJ7gFkLOS0hr+FjysISlTBgfpLVA/cBPOfWJ3fErVWOAc1M9e6jWnizDUxOwyC20GvNuZ47AuuUUO99oZXejUhJLyeiVBoT7L3Dcok50qRyLfK0bNIZUyFajpvX7Vqz9OyISYgCjg2un/5i/aSfbQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Fctqo5oI; arc=none smtp.client-ip=209.85.216.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Fctqo5oI" Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-34c84dc332cso258066a91.0 for ; Wed, 14 Jan 2026 22:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768460159; x=1769064959; 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=BPV2Q9C67pHKChEfXvxUb0q8RJzYHP2E0PJSUQJ50HU=; b=Fctqo5oIb9I00Cizv/7qFlEkAoMBl1kf/8uC5Pc3x9t5CD3oAOYHwWWZXgLPYDNNxK WyJROjyqehoKpZ+vXKMMrSf9aota9qcG4OjWFgKv3JonWO49vLyA6d7WlGrlBwvXe8Q4 v5X4DT7zzWMd9FFb1N722ZSLRKtIYq8zPYKG4TkDRE0EVOyFW3Vg2vF2849Ij7DjxwwD 7F9ld5RcJLhjhegSByP6s2PIZ4BPyBGu7yY08vlwJk98d4G2pwi8kmbOzsgCEJqkDxlu YL1ZKgGsE6cBaBQaA/PSga7qeSIIHzjhVdNQVort5TKs0NKdM0Y5JbuiOpifRJ4vYi0X c1og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768460159; x=1769064959; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BPV2Q9C67pHKChEfXvxUb0q8RJzYHP2E0PJSUQJ50HU=; b=gG/Tan7e6D1h0kyNDQC0JW3jxmiV1dfTnblK6I5MP74c1NCAXaTraknS99vZZXNfY4 /y13THIL6kkYQ6AhleGLYrSOdfymT6yweN7B6h4XolpUjWxLFAZelxqxfW+DjIN4DTmO qoHehTFAJjSmkRryNih7g0w3cRht4/fSGuRCyTZrqsnUNC10ClcO0+BHpQu0FAwjmDOO StrHMbkCr42+pB5yccQZJbagAYkerHYeyvN3gmkYfy95uhpDYX3wgaGnCkm3ibc9xCbg KBdYB0ApZkD6O/A7f6ilIewg4ab2qtDWra0ID3NnKdjNLxTRE5KXeixlRqNXV80apwO9 Vy2Q== X-Forwarded-Encrypted: i=1; AJvYcCXdZaxkWv79jvsRaEdCRh94sIp7suewyVhU4yPyGAjJf4JJT8QT4xntshHgF3V7rCCRWr9TxZ4dHj9guas=@vger.kernel.org X-Gm-Message-State: AOJu0Yws+2wLVfR1YKGvfMIzWUlPHtbTfS4zZOrGQgNAwXDLzAVU0MRP jO+cftCgj3tZpfhmGy1pprMkS4/L3zN7PCQpd7YlA76kt27ctaQMyojs X-Gm-Gg: AY/fxX5RpljUtEOwRTccxKu9L/p2uln8ETwCJ6oU8N5jXILL++fYv0BW4vi6Jl9h13t LWDVi+/XRfWIZAOBSdvsm5QuQ430ax9gpOBak8F8mJgeOdj7DDDE7ABo3XYzgfP1hW/FrpaPPsV DJLSgWDZ2nmUztN5pRUcCJmeD2wPtKYw0uwoEXy84fpiz1UIAQueahTe5H+4vpLmZxkOf222ckT CTWC+3kwxdoD6kNuH4zfFgOoniekzZSzUeYZtS53L/aq+pQfM4cXAJdcWfWJe/SnO5HT47N6pB3 WAPbzjsqvGUOldWDZJuKIdlON2jdjcrKmEjvQmrTB98ZDsHYrtDpijx2KZdbpV2hCeoqMolIO36 h7iLayd9UbzgGOR2p+Mq0S5Ec6MHeFSmeh+tJtJIaFKw6YG/a1VGNhv0aVHeP7G8+YgPrH8mSyr VRiEXoaSPY7015S0NlsOrj29lWeZc= X-Received: by 2002:a17:90b:582b:b0:34c:a29d:992a with SMTP id 98e67ed59e1d1-3510b15a75dmr4167561a91.34.1768460159252; Wed, 14 Jan 2026 22:55:59 -0800 (PST) Received: from [10.173.35.36] ([72.25.121.34]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35107b75c70sm1977764a91.5.2026.01.14.22.55.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jan 2026 22:55:58 -0800 (PST) Message-ID: <0282b93c-7d14-48ce-9706-d92ffcb64811@gmail.com> Date: Thu, 15 Jan 2026 14:55:55 +0800 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] scsi: docs: Add description for missing options of link_power_management_policy To: Randy Dunlap , corbet@lwn.net, linux-doc@vger.kernel.org Cc: hdegoede@redhat.com, srinivas.pandruvada@linux.intel.com, linux-kernel@vger.kernel.org References: <20260115032952.6658-1-s921975628@gmail.com> Content-Language: en-US From: Yiwei Lin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/15/2026 2:34 PM, Randy Dunlap wrote: > Hi, > > On 1/14/26 7:29 PM, Yiwei Lin wrote: >> With the kernel update we have more different policy for SCSI >> link power management. Add the corresponding description to >> the file. >> >> Signed-off-by: Yiwei Lin >> --- >> .../scsi/link_power_management_policy.rst | 17 ++++++++++++++--- >> 1 file changed, 14 insertions(+), 3 deletions(-) >> >> diff --git a/Documentation/scsi/link_power_management_policy.rst b/Documentation/scsi/link_power_management_policy.rst >> index 64288dcf1..07fbfd937 100644 >> --- a/Documentation/scsi/link_power_management_policy.rst >> +++ b/Documentation/scsi/link_power_management_policy.rst >> @@ -5,13 +5,13 @@ Link Power Managent Policy >> ========================== >> >> This parameter allows the user to set the link (interface) power management. >> -There are 3 possible options: >> +There are 6 possible options: >> > These table headings lines (the ===== lines) need to be as long or longer than > the text. keep_firmware_settings and min_power_with_partial are longer than the > headings ===== line. > Please extend the Value column headings ===== line by one character (just > replace a space by '=') to avoid these warnings: > > Documentation/scsi/link_power_management_policy.rst:26: ERROR: Malformed table. > Text in column margin in table line 17. > Thanks for pointing that out. I just sent a V2 patch for the fix. >> ===================== ===================================================== >> Value Effect >> ===================== ===================================================== >> -min_power Tell the controller to try to make the link use the >> - least possible power when possible. This may >> +min_power Enable slumber mode(no partial mode) for the link to >> + use the least possible power when possible. This may >> sacrifice some performance due to increased latency >> when coming out of lower power states. >> >> @@ -22,4 +22,15 @@ max_performance Generally, this means no power management. Tell >> medium_power Tell the controller to enter a lower power state >> when possible, but do not enter the lowest power >> state, thus improving latency over min_power setting. >> + >> +keep_firmware_settings Do not change the current firmware settings for >> + Power management. This is the default setting. >> + >> +med_power_with_dipm Same as medium_power, but additionally with >> + Device-initiated power management(DIPM) enabled, >> + as Intel Rapid Storage Technology(IRST) does. >> + >> +min_power_with_partial Same as min_power, but additionally with partial >> + power state enabled, which may improve performance >> + over min_power setting. >> ===================== =====================================================