All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Linas Vepstas <linas@austin.ibm.com>
Cc: Brian King <brking@us.ibm.com>,
	matthew@wil.cx, linux-scsi@vger.kernel.org,
	linuxppc64-dev@ozlabs.org
Subject: Re: Symbios PCI error recovery [Was: Re: [PATCH/RFC] ppc64: EEH + SCSI recovery (IPR only)]
Date: Thu, 31 Mar 2005 23:15:08 -0700	[thread overview]
Message-ID: <20050401061508.GC29734@colo.lackof.org> (raw)
In-Reply-To: <20050331201409.GH15596@austin.ibm.com>

On Thu, Mar 31, 2005 at 02:14:09PM -0600, Linas Vepstas wrote:
> > What config registers are you restoring? 
> 
> BAR's, grant, latency, interrupt, cacheline size. 

"grant" is PCI_COMMAND?

If so, I think you have all of them.
You may want to leave BUS_MASTER disabled until you think
the driver is in a state where it needs to do DMA again.
E.g. before kicking off the scripts engine.

> > helps, or you could try power cycling the slot instead of using PCI reset.
> 
> yes I could :(  I'll try that next.  Problem is, not all slots are
> power-cyclable, only the hotplug slots are.  I've discoverd that 
> for example, the ethernet chips are soldered to the motherboard, and
> can't be power-cycled (but fortunately, those don't give me trouble).

They can if the NIC driver doesn't deal with programming the phy
properly. We had a problem with tg3 because of that in the past.
The phy doesn't get reset as part of the PCI Bus RESET.

grant

  reply	other threads:[~2005-04-01  6:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050223002409.GA10909@austin.ibm.com>
     [not found] ` <20050223174356.GH13081@kroah.com>
     [not found]   ` <1109207532.5384.32.camel@gaston>
     [not found]     ` <20050224013137.GF2088@austin.ibm.com>
     [not found]       ` <20050226063609.GC7036@colo.lackof.org>
2005-03-21 23:10         ` Symbios PCI error recovery [Was: Re: [PATCH/RFC] ppc64: EEH + SCSI recovery (IPR only)] Linas Vepstas
2005-03-22 17:38           ` Brian King
2005-03-31 20:14             ` Linas Vepstas
2005-04-01  6:15               ` Grant Grundler [this message]
2005-03-22 17:57           ` Grant Grundler
2005-03-31 20:06             ` Linas Vepstas
2005-04-01  6:08               ` Grant Grundler
2005-04-01 15:27                 ` Brian King

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=20050401061508.GC29734@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=brking@us.ibm.com \
    --cc=linas@austin.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linuxppc64-dev@ozlabs.org \
    --cc=matthew@wil.cx \
    /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.