[Nouveau] [PATCH] pm/fan: drop the fan lock in fan_update() before rescheduling

Martin Peres martin.peres at free.fr
Tue Mar 18 06:36:22 PDT 2014


Le 14/03/2014 00:48, Martin Peres a écrit :
> From: Martin Peres <martin.peres at labri.fr>
>
> This should fix a deadlock that has been reported to us where fan_update()
> would hold the fan lock and try to grab the alarm_program_lock to reschedule
> an update. On an other CPU, the alarm_program_lock would have been taken
> before calling fan_update(), leading to a deadlock.
>
> Reported-by: Marcin Slusarz <marcin.slusarz at gmail.com>
> Signed-off-by: Martin Peres <martin.peres at free.fr>

Tested-by: Timothée Ravier <tim at siosm.fr>
Cc: <stable at vger.kernel.org> # 3.9+

This problem dates back to fa37e8dda2617d48fbc6b17dd6e986e7f4c2bc8b. It 
would seem it got released in 3.9.


More information about the Nouveau mailing list