From: linas@austin.ibm.com (Linas Vepstas)
To: Jeff Garzik <jeff@garzik.org>
Cc: Ishizaki Kou <kou.ishizaki@toshiba.co.jp>,
netdev@vger.kernel.org, cbe-oss-dev@ozlabs.org
Subject: Re: [PATCH] spidernet: fix interrupt reason recognition
Date: Tue, 4 Sep 2007 18:49:54 -0500 [thread overview]
Message-ID: <20070904234954.GL4584@austin.ibm.com> (raw)
In-Reply-To: <46D7F179.5070808@garzik.org>
On Fri, Aug 31, 2007 at 06:46:17AM -0400, Jeff Garzik wrote:
> Ishizaki Kou wrote:
> >This patch solves a problem that the spidernet driver sometimes fails
> >to handle IRQ.
> >
> >The problem happens because,
> >- In Cell architecture, interrupts may arrive at an interrupt
> > controller, even if they are masked by the setting on registers of
> > devices. It happens when interrupt packets are sent just before
> > the interrupts are masked.
> >- spidernet interrupt handler compares interrupt reasons with
> > interrupt masks, so when such interrupts occurs, spidernet interrupt
> > handler returns IRQ_NONE.
> >- When all of interrupt handler return IRQ_NONE, linux kernel disables
> > the IRQ and it no longer delivers interrupts to the interrupt handlers.
> >
> >spidernet doesn't work after above sequence, because it can't receive
> >interrupts.
> >
> >This patch changes spidernet interrupt handler that it compares
> >interrupt reason with SPIDER_NET_INTX_MASK_VALUE.
> >
> >Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
> >---
> >
> >Linas-san,
> >
> >Please apply this to 2.6.23. Because this problem is sometimes happens
> >and we cannot use the ethernet port any more.
> >
> >And also, please apply the following Arnd-san's patch to fix a problem
> >that spidernet driver sometimes causes a BUG_ON at open.
>
> Linas? ACK? Alive? :)
Argh. I read the code; it looked fine. I was going to compile it and
forward it formally and etc. and then I got busy ...
Ack'ed by: Linas Vepstas <linas@austin.ibm.com>
--linas
next prev parent reply other threads:[~2007-09-04 23:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 13:13 [PATCH] spidernet: fix interrupt reason recognition Ishizaki Kou
2007-08-20 22:38 ` Linas Vepstas
2007-08-22 0:26 ` [Cbe-oss-dev] " Ishizaki Kou
2007-08-29 8:58 ` Ishizaki Kou
2007-08-31 10:46 ` Jeff Garzik
2007-09-04 23:49 ` Linas Vepstas [this message]
2007-09-13 4:19 ` Jeff Garzik
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=20070904234954.GL4584@austin.ibm.com \
--to=linas@austin.ibm.com \
--cc=cbe-oss-dev@ozlabs.org \
--cc=jeff@garzik.org \
--cc=kou.ishizaki@toshiba.co.jp \
--cc=netdev@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 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.