Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933651AbZINUu7 (ORCPT ); Mon, 14 Sep 2009 16:50:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756796AbZINUu6 (ORCPT ); Mon, 14 Sep 2009 16:50:58 -0400 Received: from fifo99.com ([67.223.236.141]:58294 "EHLO fifo99.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756884AbZINUu5 (ORCPT ); Mon, 14 Sep 2009 16:50:57 -0400 Subject: Re: [PATCH] PCI / PCIe portdrv: Fix pcie_portdrv_slot_reset() From: Daniel Walker To: "Rafael J. Wysocki" Cc: Jesse Barnes , LKML , Linux PCI In-Reply-To: <200909142225.11874.rjw@sisk.pl> References: <200909142225.11874.rjw@sisk.pl> Content-Type: text/plain Date: Mon, 14 Sep 2009 13:51:44 -0700 Message-Id: <1252961504.11643.217.camel@desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 796 Lines: 22 On Mon, 2009-09-14 at 22:25 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit c82f63e411f1b58427c103bd95af2863b1c96dd1 > (PCI: check saved state before restore) pcie_portdrv_slot_reset() > may not work correctly if dev->error_state is equal to > pci_channel_io_frozen, because dev->state_saved need not be set at > that time. Fix this issue by setting dev->state_saved before > pci_restore_state() is called in pcie_portdrv_slot_reset(). > > From: Rafael J. Wysocki > --- No sign off? Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/