Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] cpufreq: Return -EOPNOTSUPP if no policy is boost supported
@ 2025-11-28  9:13 Lifeng Zheng
  2025-11-28  9:13 ` [PATCH v2 1/2] " Lifeng Zheng
  2025-11-28  9:13 ` [PATCH v2 2/2] cpufreq: cpufreq_boost_trigger_state() optimization Lifeng Zheng
  0 siblings, 2 replies; 9+ messages in thread
From: Lifeng Zheng @ 2025-11-28  9:13 UTC (permalink / raw)
  To: rafael, viresh.kumar
  Cc: linux-pm, linux-kernel, linuxarm, jonathan.cameron, zhanjie9,
	lihuisong, yubowen8, zhangpengjie2, wangzhi12, linhongye,
	zhenglifeng1

Make cpufreq_boost_trigger_state() return error when boost isn't supported
by any policy.

Changelog:

v2:

 - change the error to -EOPNOTSUPP
 - remove the comment and blank line
 - split the optimization into another patch

---
Discussions of previous version:
v1: https://lore.kernel.org/all/20251126031916.3641176-1-zhenglifeng1@huawei.com/

Lifeng Zheng (2):
  cpufreq: Return -EOPNOTSUPP if no policy is boost supported
  cpufreq: cpufreq_boost_trigger_state() optimization

 drivers/cpufreq/cpufreq.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-02  6:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28  9:13 [PATCH v2 0/2] cpufreq: Return -EOPNOTSUPP if no policy is boost supported Lifeng Zheng
2025-11-28  9:13 ` [PATCH v2 1/2] " Lifeng Zheng
2025-12-01  3:43   ` Viresh Kumar
2025-11-28  9:13 ` [PATCH v2 2/2] cpufreq: cpufreq_boost_trigger_state() optimization Lifeng Zheng
2025-12-01  3:42   ` Viresh Kumar
2025-12-02  1:32     ` zhenglifeng (A)
2025-12-02  4:58       ` Viresh Kumar
2025-12-02  6:24         ` zhenglifeng (A)
2025-12-02  6:46           ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox