mbox series

[v2,0/4] fixed mediatek-cpufreq has multi policy concurrency issue

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

Message

Mark Tseng Nov. 8, 2024, 6:39 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 v1:
	  - seperate more patch for detail change.

Mark Tseng (4):
  cpufreq: mediatek: CCI support SoC , the transition_delay set to 10 ms
  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 | 65 ++++++++++++++++++++++--------
 1 file changed, 49 insertions(+), 16 deletions(-)