From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com ([143.182.124.21]:27058 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753131Ab3ECAbP (ORCPT ); Thu, 2 May 2013 20:31:15 -0400 Message-ID: <1367541180.2093.10.camel@ymzhang.sh.intel.com> Subject: Re: Subject : [ PATCH ] pci-reset-error_state-to-pci_channel_io_normal-at-report_slot_reset From: Yanmin Zhang Reply-To: yanmin_zhang@linux.intel.com To: linasvepstas@gmail.com, Greg Kroah-Hartman Cc: "Zhang, LongX" , "linux-pci@vger.kernel.org" , "bhelgaas@google.com" , "linux-kernel@vger.kernel.org" , "Joseph.Liu@Emulex.Com" Date: Fri, 03 May 2013 08:33:00 +0800 In-Reply-To: References: <1367454625.2093.6.camel@ymzhang.sh.intel.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org List-ID: On Wed, 2013-05-01 at 20:20 -0500, Linas Vepstas wrote: > Hi, > > On 1 May 2013 19:30, Yanmin Zhang > wrote: > On Fri, 2013-04-26 at 06:28 +0000, Zhang, LongX wrote: > > From: Zhang Long > > > > Specific pci device drivers might have many functions to > call > > pci_channel_offline to check device states. When slot_reset > happens, > > drivers' slot_reset callback might call such functions and > eventually > > abort the reset. > > > > The patch resets pdev->error_state to pci_channel_io_normal > at > > the begining of report_slot_reset. > > > > Thank Liu Joseph for pointing it out. > > Linas, Bjorn, > > Would you like to merge the patch to your testing tree? > The patch resolves one issue pointed out by Joseph. > > > I'm not maintaining a tree at this time, and am not able to test. > Sorry. Thanks Linas. Greg, Would you like to merge it into your testing tree? Joseph Liu tested the patch and it does work. Thanks, Yanmin