mbox series

[v3,0/3] fixed mediatek-cpufreq has multi policy concurrency issue

Message ID 20250214074353.1169864-1-chun-jen.tseng@mediatek.com (mailing list archive)
Headers show
Series fixed mediatek-cpufreq has multi policy concurrency issue | expand

Message

Mark Tseng Feb. 14, 2025, 7:43 a.m. UTC
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(-)