Symbios PCI error recovery [Was: Re: [PATCH/RFC] ppc64: EEH + SCSI recovery (IPR only)]

Grant Grundler grundler at parisc-linux.org
Fri Apr 1 16:15:08 EST 2005


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



More information about the Linuxppc64-dev mailing list