From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752134Ab0AAUMi (ORCPT ); Fri, 1 Jan 2010 15:12:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751969Ab0AAUMh (ORCPT ); Fri, 1 Jan 2010 15:12:37 -0500 Received: from rhlx01.hs-esslingen.de ([129.143.116.10]:38856 "EHLO rhlx01.hs-esslingen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944Ab0AAUMh (ORCPT ); Fri, 1 Jan 2010 15:12:37 -0500 Date: Fri, 1 Jan 2010 21:12:35 +0100 From: Andreas Mohr To: "Rafael J. Wysocki" Cc: Andreas Mohr , Jesse Barnes , LKML , Linux PCI , pm list , Stephen Hemminger , "Maciej J. Woloszyk" Subject: Re: [PATCH] PCI / PM: Use per-device D3 delays Message-ID: <20100101201235.GA31960@rhlx01.hs-esslingen.de> References: <20100101170729.GA22252@rhlx01.hs-esslingen.de> <201001011955.27407.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001011955.27407.rjw@sisk.pl> X-Priority: none User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jan 01, 2010 at 07:55:27PM +0100, Rafael J. Wysocki wrote: > On Friday 01 January 2010, Andreas Mohr wrote: > > Hi, > > > > While the bug report mentions "So it's just quirky hardware.", > > the implementation of your patch makes it seem like this delay attribute is > > totally "norm"al behaviour - I'm missing some more aggressive wording. > > That's because it works both ways (please look at the changelog). Ah, ok. > I know of a few devices that don't need the PCI-prescribed 10 ms wait when > going from D3 to D0 and their drivers may use the d3_delay field to actually > set a _shorter_ delay. Then why is the value lower-bounded by pci_pm_d3_delay (which, puzzlingly, was initialized to PCI_PM_D3_WAIT and thus 10 before, which the patch now removes!), in pci_dev_d3_sleep()? (and pci_pm_d3_delay is being quirked in drivers/pci/quirks.c only, to 120) Confused, Andreas Mohr