[GIT PULL] devfreq next for 6.8
From: Chanwoo Choi
Date: Mon Dec 18 2023 - 18:03:53 EST
Dear Rafael,
This is devfreq-next pull request for v6.8. I add detailed description of
this pull request on the following tag. Please pull devfreq with
following updates.
Best Regards,
Chanwoo Choi
The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:
Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-next-for-6.8
for you to fetch changes up to aed5ed595960c6d301dcd4ed31aeaa7a8054c0c6:
PM / devfreq: Synchronize devfreq_monitor_[start/stop] (2023-12-19 07:58:27 +0900)
----------------------------------------------------------------
Update devfreq next for v6.8
Detailed description for this pull request:
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.
----------------------------------------------------------------
Christian Marangi (2):
PM / devfreq: Fix buffer overflow in trans_stat_show
PM / devfreq: Convert to use sysfs_emit_at() API
Mukesh Ojha (1):
PM / devfreq: Synchronize devfreq_monitor_[start/stop]
Documentation/ABI/testing/sysfs-class-devfreq | 3 +
drivers/devfreq/devfreq.c | 80 ++++++++++++++++++++-------
2 files changed, 62 insertions(+), 21 deletions(-)