diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-21 14:43:46 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-21 14:43:46 +0100 |
commit | bfd7b2d95ef467dd6bda7b90a3686f0fcf2d8b02 (patch) | |
tree | 5e2e6ced81a4f4eb08d85d28d63b71df9abbc209 /Documentation | |
parent | ceb6a6f023fd3e8b07761ed900352ef574010bcb (diff) | |
parent | aed5ed595960c6d301dcd4ed31aeaa7a8054c0c6 (diff) | |
download | linux-stable-bfd7b2d95ef467dd6bda7b90a3686f0fcf2d8b02.tar.gz linux-stable-bfd7b2d95ef467dd6bda7b90a3686f0fcf2d8b02.tar.bz2 linux-stable-bfd7b2d95ef467dd6bda7b90a3686f0fcf2d8b02.zip |
Merge tag 'devfreq-next-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux into pm-devfreq
Merge devfreq updates for v6.8 from Chanwoo Choi:
"1. Fix buffer overflow of trans_stat_show sysfs node on devfreq core
- Fix buffer overflow of trans_stat_show sysfs node to replace
sprintf with scnprintf and then replace it with sysfs_emit
according to the syfs guide.
2. Fix the timer list corruption when frequent switching of governor
by synchronizing the devfreq_moniotr_start and _stop function."
* tag 'devfreq-next-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux:
PM / devfreq: Synchronize devfreq_monitor_[start/stop]
PM / devfreq: Convert to use sysfs_emit_at() API
PM / devfreq: Fix buffer overflow in trans_stat_show
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-devfreq | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-devfreq b/Documentation/ABI/testing/sysfs-class-devfreq index 5e6b74f30406..1e7e0bb4c14e 100644 --- a/Documentation/ABI/testing/sysfs-class-devfreq +++ b/Documentation/ABI/testing/sysfs-class-devfreq @@ -52,6 +52,9 @@ Description: echo 0 > /sys/class/devfreq/.../trans_stat + If the transition table is bigger than PAGE_SIZE, reading + this will return an -EFBIG error. + What: /sys/class/devfreq/.../available_frequencies Date: October 2012 Contact: Nishanth Menon <nm@ti.com> |