From mboxrd@z Thu Jan 1 00:00:00 1970 From: Auke Kok Subject: Re: [PATCH] ixgb: add PCI Error recovery callbacks Date: Wed, 05 Jul 2006 08:49:27 -0700 Message-ID: <44ABDF87.8000801@intel.com> References: <20060629162634.GC5472@austin.ibm.com> <1151905766.28493.129.camel@ymzhang-perf.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Zhang, Yanmin" , Jesse Brandeburg , "Ronciak, John" , "bibo,mao" , Rajesh Shah , Grant Grundler , akpm@osdl.org, LKML , linux-pci maillist , netdev@vger.kernel.org Return-path: Received: from mga03.intel.com ([143.182.124.21]:52612 "EHLO azsmga101-1.ch.intel.com") by vger.kernel.org with ESMTP id S932420AbWGEPu4 (ORCPT ); Wed, 5 Jul 2006 11:50:56 -0400 To: Linas Vepstas In-Reply-To: <1151905766.28493.129.camel@ymzhang-perf.sh.intel.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Zhang, Yanmin wrote: > On Fri, 2006-06-30 at 00:26, Linas Vepstas wrote: >> Adds PCI Error recovery callbacks to the Intel 10-gigabit ethernet >> ixgb device driver. Lightly tested, works. > > Both pci_disable_device and ixgb_down would access the device. It doesn't > follow Documentation/pci-error-recovery.txt that error_detected shouldn't do > any access to the device. Moreover, it was Linas who wrote this documentation in the first place :) Linas, have you tried moving the e1000_down() call into the _reset part? I suspect that the e1000_reset() in there however may already be sufficient. Cheers, Auke