[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071021.162131.43417026.davem@davemloft.net>
Date: Sun, 21 Oct 2007 16:21:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mcarlson@...adcom.com
Cc: netdev@...r.kernel.org, linux-pci@...ey.karlin.mff.cuni.cz,
linas@...tin.ibm.com, mchan@...adcom.com
Subject: Re: [PATCH 5/7] pci: Export the pci_restore_msi_state() function
From: "Matt Carlson" <mcarlson@...adcom.com>
Date: Fri, 19 Oct 2007 14:36:56 -0700
> This patch exports the pci_restore_msi_state() function. This function
> is needed to restore the MSI state during PCI error recovery.
>
> Signed-off-by: Linas Vepstas <linas@...tin.ibm.com>
> Signed-off-by: Matt Carlson <mcarlson@...adcom.com>
> Signed-off-by: Michael Chan <mchan@...adcom.com>
I'm not so sure about this.
Perhaps, instead, you should do a pci_msi_disable() and
pci_msi_enable() in the error detection and recovery sequence.
Or, alternatively, save/restore those MSI registers by hand.
I'm trying to figure out how the E1000 driver handles this correctly,
but I can't see it just by reading it over quickly.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists