summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-10-21 17:56:08 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-10-26 20:01:32 +0100
commit4035247966859152a6523bc041f81cb9905695a5 (patch)
tree84489e41779b0c7aa43f5e43d9b6743b6b21d321 /tools/perf/scripts/python
parent7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614 (diff)
downloadlinux-4035247966859152a6523bc041f81cb9905695a5.tar.gz
linux-4035247966859152a6523bc041f81cb9905695a5.zip
intel_idle: Adjust state names and descriptions for _LPI states
The value of the _LPI "State Name" field is used as the description of the given idle state (that is, the value of its "desc" attribute in sysfs) which is not consistent with idle state descriptions used when the idle state information comes from an ACPI _CST object. To rectify that, use the _LPI "State Name" field value as the value of the "name" sysfs attribute of a given idle state and use the MWAIT hint value from the _LPI register address value to derive the value of its "desc" sysfs attribute in analogy with the _CST case. Fixes: abc5c103c66d ("intel_idle: Add ACPI _LPI support") Tested-by: Len Brown <len.brown@intel.com> Cc: 7.3+ <stable@vger.kernel.org> # 7.3+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ rjw: Adjusted scnprintf() format string, tweaked changelog ] Link: https://patch.msgid.link/6061409.DvuYhMxLoT@rafael.j.wysocki Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions