From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 91413] fan alarm timer/update called from interrupt in an infinite loop Date: Mon, 09 Jan 2017 22:36:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1488127371==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1488127371== Content-Type: multipart/alternative; boundary="14840013911.752c.3493"; charset="UTF-8" --14840013911.752c.3493 Date: Mon, 9 Jan 2017 22:36:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D91413 --- Comment #14 from David Hampton --- Created attachment 128843 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128843&action=3Dedit Prevent recursion while processing timers I was having similar problem with daily crashes showing recursive calls to nvkm_timer_alarm_trigger. I've been stable for the last three weeks with the attached patch. It prevents the recursion by only processing the list when = the timer expires, and not also processing it each time an item is updated. This patch is based off the Fedora 25 kernel 4.8.14 sources but should apply elsewhere. --=20 You are receiving this mail because: You are the assignee for the bug.= --14840013911.752c.3493 Date: Mon, 9 Jan 2017 22:36:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 14 on bug 91413<= /a> from David Hampton
Created [details] [review]
Prevent recursion while processing timers

I was having similar problem with daily crashes showing recursive calls to
nvkm_timer_alarm_trigger. I've been stable for the last three weeks with the
attached patch. It prevents the recursion by only processing the list when =
the
timer expires, and not also processing it each time an item is updated.

This patch is based off the Fedora 25 kernel 4.8.14 sources but should apply
elsewhere.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14840013911.752c.3493-- --===============1488127371== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1488127371==--