From patchwork Mon Nov 11 09:43:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Grumbach X-Patchwork-Id: 3166851 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 70755C045B for ; Mon, 11 Nov 2013 09:44:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5FB172030B for ; Mon, 11 Nov 2013 09:44:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A0A8202F7 for ; Mon, 11 Nov 2013 09:43:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808Ab3KKJn6 (ORCPT ); Mon, 11 Nov 2013 04:43:58 -0500 Received: from mail-la0-f45.google.com ([209.85.215.45]:34861 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753155Ab3KKJn4 (ORCPT ); Mon, 11 Nov 2013 04:43:56 -0500 Received: by mail-la0-f45.google.com with SMTP id el20so3735443lab.18 for ; Mon, 11 Nov 2013 01:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uQiezX1JAzVJ5Vlf1Xb/N2sxojn9i8JImwKjX+AT5sY=; b=OgxCUbuKh8jWefP3hXA7AFxU2uy9tALgwE3ZqN3AqVXp8/cFOiwK/zloaen2izR40l TMRrWavyyGA8IgMoMI4JqzlXclqs4JRtFT1SrBhIIGSvAeH7ZAlZpRZrLSxs5cT2zITO vjwUxnfqwtIXuuV4Dq0iOUDp3KE2WD4tfe35rCL8R9pRKjtSyrW7lLUSTswe9Ygk8+iS arliZKGqFLoK2LXNVUhYe7bdKsa5N2ZRu3pfQHJr0WnwCcKc4Fc8D9shykMMv9/XEd5o 33dcpvVW8zuuzxIvvdPJ/z7j276Uk9VyfU4bQFFRAo0R2+3EwcvI/bxlSKj3EivUZbzY KUmA== MIME-Version: 1.0 X-Received: by 10.112.200.100 with SMTP id jr4mr833041lbc.36.1384163035377; Mon, 11 Nov 2013 01:43:55 -0800 (PST) Received: by 10.114.255.161 with HTTP; Mon, 11 Nov 2013 01:43:55 -0800 (PST) In-Reply-To: <0BA3FCBA62E2DC44AF3030971E174FB301DEDBCB@HASMSX103.ger.corp.intel.com> References: <5276134B.8070808@wzyboy.org> <0BA3FCBA62E2DC44AF3030971E174FB301DE8338@HASMSX103.ger.corp.intel.com> <0BA3FCBA62E2DC44AF3030971E174FB301DE960E@HASMSX103.ger.corp.intel.com> <0BA3FCBA62E2DC44AF3030971E174FB301DE9FC6@HASMSX103.ger.corp.intel.com> <0BA3FCBA62E2DC44AF3030971E174FB301DEA052@HASMSX103.ger.corp.intel.com> <0BA3FCBA62E2DC44AF3030971E174FB301DEA097@HASMSX103.ger.corp.intel.com> <527A8166.6000701@gmail.com> <0BA3FCBA62E2DC44AF3030971E174FB301DEDB31@HASMSX103.ger.corp.intel.com> <0BA3FCBA62E2DC44AF3030971E174FB301DEDBCB@HASMSX103.ger.corp.intel.com> Date: Mon, 11 Nov 2013 11:43:55 +0200 Message-ID: Subject: Re: [Ilw] Intel Wireless 7260 hardware timed out randomly From: Emmanuel Grumbach To: "Grumbach, Emmanuel" Cc: wzyboy , Bjorn Helgaas , "ilw@linux.intel.com" , "linux-wireless@vger.kernel.org" , "linux-pci@vger.kernel.org" Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP >> >> 2013/11/10 Grumbach, Emmanuel : >> > It is really called L1 PM Substate. >> > I don't really know the BIOS of ThinkPad... But we can try... >> >> >> I have booted into BIOS and write down almost all the options, as attached. >> >> By the way, I always attach my laptop to an AC adaptor. >> > > Cool.... they mask all the interesting options... oh well... Can you please try this? --- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index ebe351d..f8fbe08 100644 --- a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c @@ -131,7 +131,7 @@ static void iwl_pcie_apm_config(struct iwl_trans *trans) * power savings, even without L1. */ pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_LNKCTL, &lctl); - if (lctl & PCI_EXP_LNKCTL_ASPM_L1) { + if (0) { /* L1-ASPM enabled; disable(!) L0S */ iwl_set_bit(trans, CSR_GIO_REG, CSR_GIO_REG_VAL_L0S_ENABLED); dev_info(trans->dev, "L1 Enabled; Disabling L0S\n");