mbox series

[v3,0/3] intel_idle: Add C1 demotion on/off sysfs knob

Message ID 20250317135541.1471754-1-dedekind1@gmail.com (mailing list archive)
Headers show
Series intel_idle: Add C1 demotion on/off sysfs knob | expand

Message

Artem Bityutskiy March 17, 2025, 1:55 p.m. UTC
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

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(-)