Re: [PATCH v1 1/2] PM / devfreq: mediatek: protect oop in critical session

From: Viresh Kumar
Date: Tue Oct 01 2024 - 02:39:31 EST


On 13-09-24, 18:39, Mark Tseng wrote:
> mtk_ccifreq_target() & mtk_ccifreq_opp_notifier() is re-enter funtion
> when cpufreq governor is more than one. It should add global mutex to
> protect OPP , avoid get wrong frequency & voltage.

I am not sure I understood the problem well. Can you explain clearly
why the current locking doesn't work with details call chain ?

--
viresh