Skip to content

intel_idle: Add C1 demotion on/off sysfs knob

Artem Bityutskiy linux-pm 3 versions – Applied

Status from this message: Applied as 6.16 material along with the [2-3/3], thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v23 patches 1 replySuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

* Address comments from Rafael Wysocki:
1. Instead of passing a pointer to a bool value to intel_c1_demotion_toggle(), cast the bool value to "void *. This removes a need for pointer dereferencing in intel_c1_demotion_toggle().
2. Use reverse Xmass tree ordering for local variable definitions.
3. A spelling fix.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3intel_idle: Add C1 demotion on/off sysfs knobdrivers/idle/intel_idle.c+102 -01 reply
2/3Documentation: admin-guide: pm: Document intel_idle C1 demotionDocumentation/admin-guide/pm/intel_idle.rst+21 -00 replies
3/3Documentation: ABI: testing: document the new cpuidle sysfs fileDocumentation/ABI/testing/sysfs-devices-system-cpu+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] intel_idle: Add C1 demotion on/off sysfs knob

From: Artem Bityutskiy <[email protected]>

Version 3 of the patch-set.

Changelog

v2->v3:
* Address comments from Rafael Wysocki:
1. Instead of passing a pointer to a bool value to intel_c1_demotion_toggle(), cast the bool value to "void *. This removes a need for pointer dereferencing in intel_c1_demotion_toggle().
2. Use reverse Xmass tree ordering for local variable definitions.
3. A spelling fix.
v1->v2:
* Address comments from Rafael Wysocki:
1. Rename the sysfs file from 'c1_demotion' to 'intel_c1_demotion'
2. Add a commentary about reading the feature only for 1 CPU.
3. Update Documentation/API (new patch 3/3).

Artem Bityutskiy (3):
intel_idle: Add C1 demotion on/off sysfs knob
Documentation: admin-guide: pm: Document intel_idle C1 demotion
Documentation: ABI: testing: document the new cpuidle sysfs file

 .../ABI/testing/sysfs-devices-system-cpu      |   7 +-
 Documentation/admin-guide/pm/intel_idle.rst   |  21 ++++
 drivers/idle/intel_idle.c                     | 102 ++++++++++++++++++
 3 files changed, 129 insertions(+), 1 deletion(-)
Signature · 1 line
2.48.1