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