[PATCH v1 0/2] fixed mediatek-cpufreq has multi policy concurrency issue
From: Mark Tseng
Date: Fri Sep 13 2024 - 06:40:17 EST
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.
Mark Tseng (2):
PM / devfreq: mediatek: protect oop in critical session
cpufreq: mediatek: Fixed cpufreq has 2 policy will cause concurrency
drivers/cpufreq/mediatek-cpufreq.c | 65 ++++++++++++++++++++++--------
drivers/devfreq/mtk-cci-devfreq.c | 30 +++++++-------
2 files changed, 64 insertions(+), 31 deletions(-)
--
2.45.2