[PATCH v1 3/3] ufs: core: fix abnormal scale up after scale down

Bart Van Assche bvanassche at acm.org
Wed Aug 30 12:41:09 PDT 2023


On 8/23/23 02:29, peter.wang at mediatek.com wrote:
> When no active_reqs, devfreq_monitor(Thread A) will suspend clock scaling.
> But it may have racing with clk_scaling.suspend_work(Thread B) and
> actually not suspend clock scaling(requue after suspend).
> Next time after polling_ms, devfreq_monitor read
> clk_scaling.window_start_t = 0 then scale up clock abnormal.

Reviewed-by: Bart Van Assche <bvanassche at acm.org>




More information about the Linux-mediatek mailing list