linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] fixed mediatek-cpufreq has multi policy concurrency issue
@ 2025-02-14  7:43 Mark Tseng
  2025-02-14  7:43 ` [PATCH v3 1/3] cpufreq: mediatek: using global lock avoid race condition Mark Tseng
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Mark Tseng @ 2025-02-14  7:43 UTC (permalink / raw)
  To: Rafael J . Wysocki, Viresh Kumar, MyungJoo Ham, Kyungmin Park,
	Chanwoo Choi, Matthias Brugger, AngeloGioacchino Del Regno
  Cc: linux-pm, linux-kernel, linux-arm-kernel, linux-mediatek,
	Project_Global_Chrome_Upstream_Group, chun-jen.tseng

For multi cluster SoC, the cpufreq->target_index() is re-enter function
for each policy to change CPU frequency. In the cirtical session must
use glocal mutex lock to avoid get wrong OPP.

Changes since v2:
	  - seperate more patch for detail change.
	  - remove CCI transition_delay patch

Mark Tseng (3):
  cpufreq: mediatek: using global lock avoid race condition
  cpufreq: mediatek: Add CPUFREQ_ASYNC_NOTIFICATION flag
  cpufreq: mediatek: data safety protect

 drivers/cpufreq/mediatek-cpufreq.c | 63 ++++++++++++++++++++++--------
 1 file changed, 46 insertions(+), 17 deletions(-)

-- 
2.45.2


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

end of thread, other threads:[~2025-08-29  5:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14  7:43 [PATCH v3 0/3] fixed mediatek-cpufreq has multi policy concurrency issue Mark Tseng
2025-02-14  7:43 ` [PATCH v3 1/3] cpufreq: mediatek: using global lock avoid race condition Mark Tseng
2025-02-19  5:42   ` Viresh Kumar
2025-03-20  8:22     ` Chun-Jen Tseng (曾俊仁)
2025-03-21  4:56       ` Viresh Kumar
2025-03-21  5:32         ` Chun-Jen Tseng (曾俊仁)
2025-03-21  6:01           ` Viresh Kumar
2025-03-24  3:21             ` Chun-Jen Tseng (曾俊仁)
2025-03-24  5:43               ` Viresh Kumar
2025-04-14  8:42                 ` Chun-Jen Tseng (曾俊仁)
2025-04-16  8:05                   ` Viresh Kumar
2025-08-28 13:26                     ` Chen-Yu Tsai
2025-08-29  5:47                       ` Viresh Kumar
2025-02-19  7:23   ` Dan Carpenter
2025-03-20  8:25     ` Chun-Jen Tseng (曾俊仁)
2025-02-14  7:43 ` [PATCH v3 2/3] cpufreq: mediatek: Add CPUFREQ_ASYNC_NOTIFICATION flag Mark Tseng
2025-02-19  5:45   ` Viresh Kumar
2025-03-20  8:34     ` Chun-Jen Tseng (曾俊仁)
2025-03-21  4:59       ` Viresh Kumar
2025-02-14  7:43 ` [PATCH v3 3/3] cpufreq: mediatek: data safety protect Mark Tseng
2025-02-19  5:49   ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).