From: Linas Vepstas <linas@austin.ibm.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org,
long <tlnguyen@snoqualmie.dp.intel.com>,
Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>,
Greg KH <greg@kroah.com>,
ak@muc.de, Paul Mackerras <paulus@samba.org>,
linuxppc64-dev <linuxppc64-dev@ozlabs.org>,
linux-pci@atrey.karlin.mff.cuni.cz, johnrose@us.ibm.com
Subject: Re: [PATCH 7/13]: PCI Err: Symbios SCSI driver recovery
Date: Wed, 29 Jun 2005 15:48:23 -0500 [thread overview]
Message-ID: <20050629204823.GM28499@austin.ibm.com> (raw)
In-Reply-To: <1120009868.5133.232.camel@gaston>
On Wed, Jun 29, 2005 at 11:51:07AM +1000, Benjamin Herrenschmidt was heard to remark:
> On Tue, 2005-06-28 at 18:59 -0500, Linas Vepstas wrote:
> > pci-err-7-symbios.patch
> >
> > Adds PCI Error recoervy callbacks to the Symbios Sym53c8xx driver.
> > Tested, seems to work well under i/o stress to one disk. Not
> > stress tested under heavy i/o to multiple scsi devices.
> >
> > Note the check of the pci error state flag inside an infinite
> > loop inside the interrupt handler. Without this check, the
> > device can spin forever, locking up hard, long before the
> > asynchronous error event (and callbacks) are ever called.
>
> Normally, you should check for non-responding hardware by testing things
> like reading all ff's or having a timeout in the loop.
For ppc64, that does happen in the loop, and so the flag does get
set synchronously, even on a single-cpu system. But point taken.
> The bug is that
> the driver has a potential infinite loop in the first place.
>
> The only type of "synchronous" error checking that can be done is what
> is proposed by Hidetoshi Seto. You could use his stuff here.
Yes. However, I will leave this bit in for now, (and mark it as a hack)
until Seto-san's patches are on deck. I'd rather not have a built-in
pre-req right now.
--linas
next prev parent reply other threads:[~2005-06-29 20:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 23:59 Linas Vepstas
2005-06-29 1:51 ` Benjamin Herrenschmidt
2005-06-29 20:48 ` Linas Vepstas [this message]
2005-06-29 23:41 ` Benjamin Herrenschmidt
2005-06-29 3:02 ` Andi Kleen
2005-06-29 16:34 ` Linas Vepstas
2005-07-02 8:21 ` Grant Grundler
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=20050629204823.GM28499@austin.ibm.com \
--to=linas@austin.ibm.com \
--cc=ak@muc.de \
--cc=benh@kernel.crashing.org \
--cc=greg@kroah.com \
--cc=johnrose@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=linuxppc64-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=tlnguyen@snoqualmie.dp.intel.com \
/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®