mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Antonino Daplas <adaplas@pol.net>
Subject: Prevent softlockup triggering in nvidiafb
Date: Mon, 23 Apr 2007 11:36:30 -0400	[thread overview]
Message-ID: <20070423151053.GA5653@redhat.com> (raw)

If the chip locks up, we get into a long polling loop,
where the softlockup detector kicks in.
See https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=151878
for an example.

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.20.noarch/drivers/video/nvidia/nv_accel.c~	2007-04-23 11:06:12.000000000 -0400
+++ linux-2.6.20.noarch/drivers/video/nvidia/nv_accel.c	2007-04-23 11:07:18.000000000 -0400
@@ -132,6 +132,8 @@ static void NVDmaWait(struct nvidia_par 
 			}
 		} else
 			par->dmaFree = dmaGet - par->dmaCurrent - 1;
+
+		touch_softlockup_watchdog();
 	}
 
 	if (!count) {

             reply	other threads:[~2007-04-23 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 15:36 Dave Jones [this message]
2007-04-23 15:55 ` Alan Cox
2007-04-23 16:18   ` Dave Jones
2007-04-23 23:06     ` Antonino A. Daplas
2007-04-23 16:05 ` Antonino A. Daplas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070423151053.GA5653@redhat.com \
    --to=davej@redhat.com \
    --cc=adaplas@pol.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®