netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: linas@austin.ibm.com (Linas Vepstas)
To: Sivakumar Subramani <Sivakumar.Subramani@neterion.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	linux-pci@atrey.karlin.mff.cuni.cz, netdev@vger.kernel.org,
	James.Bottomley@SteelEye.com, linux-kernel@vger.kernel.org,
	Ramkrishna Vepa <Ramkrishna.Vepa@neterion.com>,
	Rastapur Santosh <santosh.rastapur@neterion.com>,
	Leonid Grossman <Leonid.Grossman@neterion.com>,
	Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com>,
	Sriram Rapuru <Sriram.Rapuru@neterion.com>
Subject: Re: [PATCH 1/2] s2io: add PCI error recovery support
Date: Mon, 21 May 2007 12:07:57 -0500	[thread overview]
Message-ID: <20070521170757.GC5921@austin.ibm.com> (raw)
In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD77019D47CC@nekter>

On Fri, May 18, 2007 at 03:06:53AM -0400, Sivakumar Subramani wrote:
> Hi,
> 
> Fix looks good. I have couple of comments,
> 
> 1) Return from s2io_updt_stats function if the PCI bus is offline
> (pci_channel_offline). 
>          if (pci_channel_offline(pdev))
>                 return;

OK, missed that one.

> 2) No Need to call netif_wake_queue() in s2io_io_resume as
> netif_device_attach() will take care of calling it.

OK.

> 3) We need to return from s2io_msix_ring_handle(),
> s2io_msix_fifo_handle(), s2io_msi_handle() if the PCI channel is
> offline. Some thing similary to the below condition that is added in the
> s2io_isr()

I was thinking that these wouldn't be needed, as MSI should stop
flowing along with everything else. However, there is a small race
window where the MSI was delivered on the PCI bus, then the error was
detected, and then the kernel delivers the MSI to device driver.
The if statements should close that gap.

I'll send an updated patch shortly.

--linas

      reply	other threads:[~2007-05-21 17:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14 23:37 [PATCH 1/2] s2io: add PCI error recovery support Linas Vepstas
2007-05-14 23:41 ` [PATCH 2/2] " Linas Vepstas
2007-05-14 23:42 ` [PATCH 1/2] " Linas Vepstas
2007-05-18  7:06 ` Sivakumar Subramani
2007-05-21 17:07   ` Linas Vepstas [this message]

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=20070521170757.GC5921@austin.ibm.com \
    --to=linas@austin.ibm.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=Leonid.Grossman@neterion.com \
    --cc=Ramkrishna.Vepa@neterion.com \
    --cc=Sivakumar.Subramani@neterion.com \
    --cc=Sreenivasa.Honnur@neterion.com \
    --cc=Sriram.Rapuru@neterion.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    --cc=netdev@vger.kernel.org \
    --cc=santosh.rastapur@neterion.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;
as well as URLs for NNTP newsgroup(s).