All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: jgarzik@pobox.com, zwane@linuxpower.ca, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xirc2ps_cs irq return fix
Date: Tue, 27 May 2003 12:37:42 -0700	[thread overview]
Message-ID: <20030527123742.0ab46471.akpm@digeo.com> (raw)
In-Reply-To: <1054032047.18160.19.camel@dhcp22.swansea.linux.org.uk>

Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
> On Maw, 2003-05-27 at 11:45, Andrew Morton wrote:
> > The below patch has been in -mm for some time.  It was supposed to kill the
> > IRQ if 750 of the previous 1000 IRQs weren't handled.
> > 
> > I disabled the killing code because it was triggering on someone's
> > works-just-fine setup.
> > 
> > There will be pain involved in getting all this to work right.  Do you
> > really think there's much value in it?
> 
> Being able to at least turn it on at run time is valuable when you are debugging
> a box operated by someone who doesnt habitually rebuild kernels. The 750 of 1000
> thing doesnt work because it can happen to be timing triggered by blocks of IRQ's
> from a chip being folded together. The "million in a row" should be a stuck IRQ,
> maybe 50,000 in a row even but just "zillions in a row"
> 

The problem with zillions-in-a-row is that the babbling device could be
sharing the IRQ with a non-babbling device.  So the legitimate interrupts
from the non-babbler will cause the detection state machine to reset
itself.  It will never go off, and the box remains locked up.

Maybe the 750/1000 should be 100/100,000.  Who knows...


      reply	other threads:[~2003-05-27 19:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200305252318.h4PNIPX4026812@hera.kernel.org>
2003-05-26  0:44 ` [PATCH] xirc2ps_cs irq return fix Jeff Garzik
2003-05-26  1:00   ` Zwane Mwaikambo
2003-05-26 23:35     ` Alan Cox
2003-05-27  3:49       ` Jeff Garzik
2003-05-27  3:55         ` Andrew Morton
2003-05-27  9:40           ` Alan Cox
2003-05-27 10:45             ` Andrew Morton
2003-05-27 10:40               ` Alan Cox
2003-05-27 19:37                 ` Andrew Morton [this message]

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=20030527123742.0ab46471.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zwane@linuxpower.ca \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.