RE: [PATCH] s2io: add PCI error recovery support

2007-03-16 Thread Ramkrishna Vepa
> > Ideally s2io_reset should > > return a failure in this case (return is void now) > > Would you care to provide a patch that did this? I could > experiment a bit, and try to do this myself; but I really > don't know this hardware, or this driver, that well. [Ram] Yes, I can submit a patch to ad

Re: [PATCH] s2io: add PCI error recovery support

2007-03-16 Thread Linas Vepstas
On Mon, Mar 05, 2007 at 05:33:39PM -0500, Ramkrishna Vepa wrote: > Comments on this patch - > > 1. device_close_flag is unused and is not required. I'll submit a patch to strip this out sometime next week. > 2. s2io_reset can fail to reset the device. I thought I'd seen this occasionally, and

RE: [PATCH] s2io: add PCI error recovery support

2007-03-06 Thread Ramkrishna Vepa
nel.org; Jeff Garzik; Andrew > Morton > Subject: RE: [PATCH] s2io: add PCI error recovery support > > Comments on this patch - > > 1. device_close_flag is unused and is not required. > > +static pci_ers_result_t s2io_io_error_detected(struct pci_dev *pdev, > > +

RE: [PATCH] s2io: add PCI error recovery support

2007-03-05 Thread Ramkrishna Vepa
L PROTECTED]; netdev@vger.kernel.org; Jeff Garzik; Andrew > Morton > Subject: [PATCH] s2io: add PCI error recovery support > > > Koushik, Raju, > > Please review, comment, and if you find this acceptable, > please forward upstream. This patch incorporates all of > fixes re

[PATCH] s2io: add PCI error recovery support

2007-02-15 Thread Linas Vepstas
Koushik, Raju, Please review, comment, and if you find this acceptable, please forward upstream. This patch incorporates all of fixes resulting from the last set of discussions, circa November 2006. --linas This patch adds PCI error recovery support to the s2io 10-Gigabit ethernet device dr

Re: [PATCH] s2io: add PCI error recovery support

2006-10-27 Thread Linas Vepstas
On Fri, Oct 27, 2006 at 07:35:18AM -0400, Ananda Raju wrote: > Looking at all scenarios I feel the first patch is OK. Can you add the > watchdog timer fix to first initial patch and resubmit. Appended below. > So -- just for grins, I thought to myself, "Maybe I can make > s2io be the first adap

RE: [PATCH] s2io: add PCI error recovery support

2006-10-27 Thread Ananda Raju
@vger.kernel.org; [EMAIL PROTECTED]; netdev@vger.kernel.org; Jeff Garzik; Andrew Morton Subject: Re: [PATCH] s2io: add PCI error recovery support Hi. On Thu, Oct 26, 2006 at 05:56:34AM -0400, Ananda Raju wrote: > Hi, > Can you try attached patch. The attached patch is simple. We set card > state a

Re: [PATCH] s2io: add PCI error recovery support

2006-10-26 Thread Linas Vepstas
Hi. On Thu, Oct 26, 2006 at 05:56:34AM -0400, Ananda Raju wrote: > Hi, > Can you try attached patch. The attached patch is simple. We set card > state as down in error_detecct() so that all entry points return error > and don't proceed further. > > In slot_reset() we do s2io_card_down() will res

RE: [PATCH] s2io: add PCI error recovery support

2006-10-26 Thread Ananda Raju
ginal Message- From: Linas Vepstas [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 1:55 PM To: Ananda Raju Cc: Wen Xiong; linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; netdev@vger.kernel.org; Jeff Garzik; Andrew Morton Subject: Re: [PATCH] s2io: add PCI error recovery support O

Re: [PATCH] s2io: add PCI error recovery support

2006-10-25 Thread Linas Vepstas
On Wed, Oct 25, 2006 at 10:11:24AM -0500, Linas Vepstas wrote: > > > Also we have to add following if statement in beginning of s2io_isr(). Done, below, > > If it is ok to do BAR0 read/write in error_detected() then patch is OK. I re-wrote that section to avoid doing I/O. It seems to work well

Re: [PATCH] s2io: add PCI error recovery support

2006-10-25 Thread Linas Vepstas
On Wed, Oct 25, 2006 at 02:29:33AM -0400, Ananda Raju wrote: > Hi, > > s2io_card_down() will do few BAR0 read/write. As per > pci-error-recovery.txt Documentation we are not supposed to do any new > IO in error_detected(). Hmm, actually, its harmless to do further i/o. The s2io driver barks (as

RE: [PATCH] s2io: add PCI error recovery support

2006-10-24 Thread Ananda Raju
006 2:55 PM To: Raghavendra Koushik; Ananda Raju; Wen Xiong Cc: linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; netdev@vger.kernel.org; Jeff Garzik; Andrew Morton Subject: [PATCH] s2io: add PCI error recovery support Koushik, Raju, Please review, comment, and if you find this acceptable,

[PATCH] s2io: add PCI error recovery support

2006-10-24 Thread Linas Vepstas
Koushik, Raju, Please review, comment, and if you find this acceptable, please forward upstream. --linas This patch adds PCI error recovery support to the s2io 10-Gigabit ethernet device driver. Tested, seems to work well. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Raghavendra Kous