Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2487769rwi; Fri, 21 Oct 2022 04:34:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4+zB/eWa11DJQDtXGbN7sFixT+nu9uGx2AkuxbsWx+xLGcku4uXkaC28GbT1aVhJpUK+R8 X-Received: by 2002:a63:f926:0:b0:46a:e00c:7ac8 with SMTP id h38-20020a63f926000000b0046ae00c7ac8mr16350817pgi.110.1666352088889; Fri, 21 Oct 2022 04:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666352088; cv=none; d=google.com; s=arc-20160816; b=hQAQ7F6ku2xoRcReLbqG1hh57S2UisMlBHsj+/kFkkBWyhx80GBTaKvq0V6T8s/frH HlAw7Kp4vXDL/bHdPxjgZFGLNngAIaLIgjH8rkWbvZgjpEgXViYdNcKS13NScVgUQvHX rN2HvcnV6W4I9lQBqplWngsWhsZML91FHUCXdyyVyAt6PvHCotA5kVB8aMXnRi8FwqlL qWTlHb66Eqp7gFpQRXN9IFoGVHL2qOnF2HYyt8STztSoU8m3RbhXSQgSy2g+dcKDqYOq Kta7TDoMXMb7bO8dJQFjCByRYxmjrGaChFTvR771nPRFIpUeizbzOQeaxM3cm4n4BuFL raig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=TuJTeOqPr3tn7Y++sROyy16rElooNaYrtGrUkjm98YQ=; b=qRLSkP63Vdexa88UTiL3tFDgS757afIl6iZoJZLJut4YfvCtMeqSDiLHMKE3BGIugZ utWE0wgKudegkj7CEmCCACzXLLhLfxgeBK2sKXYKaCkU0Y0S6XWrz/YSivOA7/x6J+LI FgXxzWEVijUULUguP4+GhfcrVg67UIta3lSsRxW1ybAdcs9kqYYBmDkzihy4FMFGUsPj 8VxMMSRGgqRQn6yOqec+CVhESrx0998a0H9WH4ZaGTI8Q71ztVf/xLEgE2r+2CEMfice YVgYAQAZZSdFAmqMV56N3zCKQdptj876Of2xMNvlCkFNc+FXyvga6xCESfXsrm5qsCo9 z6Lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a170902708b00b00178a4067331si23370953plk.295.2022.10.21.04.34.37; Fri, 21 Oct 2022 04:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbiJULTo (ORCPT + 99 others); Fri, 21 Oct 2022 07:19:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229799AbiJULTm (ORCPT ); Fri, 21 Oct 2022 07:19:42 -0400 Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [IPv6:2a01:37:1000::53df:5f64:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CFD332050; Fri, 21 Oct 2022 04:19:37 -0700 (PDT) Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id CF23930027A15; Fri, 21 Oct 2022 13:19:35 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id B9D0519F8A; Fri, 21 Oct 2022 13:19:35 +0200 (CEST) Date: Fri, 21 Oct 2022 13:19:35 +0200 From: Lukas Wunner To: Lukasz Majczak Cc: bhelgaas@google.com, Rajat Jain , Vidya Sagar , upstream@semihalf.com, linux-pci@vger.kernel.org, LKML Subject: Re: [BUG] Intel Apollolake: PCIe bridge "loses" capabilities after entering D3Cold state Message-ID: <20221021111935.GB28729@wunner.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 21, 2022 at 12:17:35PM +0200, Lukasz Majczak wrote: > While working with Vidya???s patch I have noticed that after > suspend/resume cycle on my Chromebook (Apollolake) PCIe bridge loses > its capabilities - the missing part is: > > Capabilities: [200 v1] L1 PM Substates > L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ > PortCommonModeRestoreTime=40us PortTPowerOnTime=10us > L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ > T_CommonMode=40us LTR1.2_Threshold=98304ns > L1SubCtl2: T_PwrOn=60us > > Digging more I???ve found out that entering D3Cold state causes this You mean the capability is gone from lspci after D3cold? My understanding is that BIOS is responsible for populating config space. So this sounds like a BIOS bug. What's the BIOS vendor and version? (dmesg | grep DMI) Thanks, Lukas