Skip to contentSkip to conversation

Documentation: admin-guide: PM: Document intel_idle.table cmdl option

PATCH Applied Artem Bityutskiy 2 participants 2 messages Feb 5 – Feb 11 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: admin-guide: PM: Document intel_idle.table cmdl option

Add the 'intel_idle.table' command line option documentation.

---
 Documentation/admin-guide/pm/intel_idle.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/admin-guide/pm/intel_idle.rst +11 -0
index ed6f055d4b14..188d52cd26e8 100644
@@ -260,6 +260,17 @@ mode to off when the CPU is in any one of the available idle states.  This may
 help performance of a sibling CPU at the expense of a slightly higher wakeup
 latency for the idle CPU.
 
+The ``table`` argument allows customization of idle state latency and target
+residency. The syntax is a comma-separated list of ``name:latency:residency``
+entries, where ``name`` is the idle state name, ``latency`` is the exit latency
+in microseconds, and ``residency`` is the target residency in microseconds. It
+is not necessary to specify all idle states; only those to be customized. For
+example, ``C1:1:3,C6:50:100`` sets the exit latency and target residency for
+C1 and C6 to 1/3 and 50/100 microseconds, respectively. Remaining idle states
+keep their default values. The driver verifies that deeper idle states have
+higher latency and target residency than shallower ones. Also, target
+residency cannot be smaller than exit latency. If any of these conditions is
+not met, the driver ignores the entire ``table`` parameter.
 
 .. _intel-idle-core-and-package-idle-states:
 
Signature · 1 line
2.52.0
#1 lore raw
Quoted 21 lines · Artem Bityutskiy

Add the 'intel_idle.table' command line option documentation.

---
 Documentation/admin-guide/pm/intel_idle.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/admin-guide/pm/intel_idle.rst +5 -0
index ed6f055d4b14..188d52cd26e8 100644
@@ -260,6 +260,17 @@ mode to off when the CPU is in any one of the available idle states.  This may
 help performance of a sibling CPU at the expense of a slightly higher wakeup
 latency for the idle CPU.
 
+The ``table`` argument allows customization of idle state latency and target
+residency. The syntax is a comma-separated list of ``name:latency:residency``
+entries, where ``name`` is the idle state name, ``latency`` is the exit latency
+in microseconds, and ``residency`` is the target residency in microseconds. It
+is not necessary to specify all idle states; only those to be customized. For

Documentation/admin-guide/pm/intel_idle.rst mode to off when the CPU is in any one of the available idle states. This may

Quoted 10 lines
Documentation/admin-guide/pm/intel_idle.rst +6 -1
+example, ``C1:1:3,C6:50:100`` sets the exit latency and target residency for
+C1 and C6 to 1/3 and 50/100 microseconds, respectively. Remaining idle states
+keep their default values. The driver verifies that deeper idle states have
+higher latency and target residency than shallower ones. Also, target
+residency cannot be smaller than exit latency. If any of these conditions is
+not met, the driver ignores the entire ``table`` parameter.
 
 .. _intel-idle-core-and-package-idle-states:
 
--

Applied as 7.0-rc material, thanks!