Return-path: Received: from mail-px0-f174.google.com ([209.85.212.174]:55068 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758338Ab0FUUj2 (ORCPT ); Mon, 21 Jun 2010 16:39:28 -0400 MIME-Version: 1.0 In-Reply-To: <20100621233333.21262abjfxl8j1xc@hayate.sektori.org> References: <20100528100901.14580.1322.stgit@fate.lan> <1276806785.20754.8.camel@maxim-laptop> <20100618112026.17623g6uhdjk8hts@naisho.dyndns.info> <1276856142.9114.1.camel@maxim-laptop> <20100618134930.124225d4fsi8w1fk@naisho.dyndns.info> <1276859156.19554.2.camel@maxim-laptop> <1276870309.23783.3.camel@maxim-laptop> <1276933774.16697.11.camel@maxim-laptop> <1277032723.9555.12.camel@maxim-laptop> <1277151410.5409.33.camel@maxim-laptop> <20100621233333.21262abjfxl8j1xc@hayate.sektori.org> From: "Luis R. Rodriguez" Date: Mon, 21 Jun 2010 13:39:07 -0700 Message-ID: Subject: Re: [ath5k-devel] [PATCH v2] ath5k: disable ASPM To: Jussi Kivilinna Cc: Maxim Levitsky , David Quan , Bob Copeland , "Luis R. Rodriguez" , ath5k-devel@lists.ath5k.org, linux-wireless@vger.kernel.org, linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jun 21, 2010 at 1:33 PM, Jussi Kivilinna wrote: > Quoting "Maxim Levitsky" : > >> Card (at least mine) advertises its as a 'pre pci 1.1 device'. >> Therefore if I enable CONFIG_PCIEASPM, the pci core will automaticly >> disable ASPM (both L0s and L1) on this card. >> I won't be surprised that windows does the same. >> > > Even if CONFIG_PCIEASPM compiled in, ASPM code can be disabled by user with > pcie_aspm=off option, leaving BIOS-enabled L0s on. Last I reviewed CONFIG_PCIEASPM won't buy you *anything* other than debugging knobs. With it you can force all devices to enable ASPM completely on or disable it. Both of which I think are not really useful and instead should be done in userspace given that if you are testing ASPM you likely want to test only one one device and its respective root complex, not all at the same time. Luis