Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753864Ab3FNWkd (ORCPT ); Fri, 14 Jun 2013 18:40:33 -0400 Received: from mail-ie0-f181.google.com ([209.85.223.181]:47854 "EHLO mail-ie0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753689Ab3FNWk3 (ORCPT ); Fri, 14 Jun 2013 18:40:29 -0400 MIME-Version: 1.0 In-Reply-To: <1371248853.2490.5.camel@x230> References: <20130401235256.GA31966@google.com> <20130614141101.GA29452@google.com> <1371248853.2490.5.camel@x230> Date: Fri, 14 Jun 2013 15:40:28 -0700 X-Google-Sender-Auth: 8u0Yl03XtX580D26o7Koydd5JQ0 Message-ID: Subject: Re: [PATCH] PCI: Remove not needed check in disable aspm link From: Yinghai Lu To: Matthew Garrett Cc: Bjorn Helgaas , Roman Yepishev , Jiang Liu , "Rafael J. Wysocki" , "linux-pci@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linus Torvalds , Andrew Morton , Greg Kroah-Hartman , Maxim Levitsky , Jussi Kivilinna Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1135 Lines: 27 On Fri, Jun 14, 2013 at 3:27 PM, Matthew Garrett wrote: > On Fri, 2013-06-14 at 15:17 -0700, Yinghai Lu wrote: > >> after those two patches, it aspm_disabled is set, via _osc early, >> pre-1.1 devices aspm register will be touched even aspm_force is not specified. > > I don't follow. We were previously automatically disabling ASPM on > pre-1.1 devices even if _OSC didn't give us control. I don't think so, we just moved _OSC support/control setting before pci scan in 3.8 and revert that in v3.9. > I've confirmed that > this was the wrong thing for us to be doing, and my patch changed the > behaviour such that if the firmware enables ASPM on a pre-1.1 device and > refuses to give us control via _OSC we will leave ASPM enabled. not sure, aspm_disabled should be false on booting path when that function is called, if you don't pass aspm=off. Yinghai -- 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/