Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1489917pxb; Wed, 2 Feb 2022 06:12:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCWiN0LErkM6r5vJWPGnaByAgzN6GOqqTcSzBnu/c9Ar/O2UHcPIxG50V7OEHiyhW+qcp4 X-Received: by 2002:a63:2d05:: with SMTP id t5mr25016138pgt.206.1643811159314; Wed, 02 Feb 2022 06:12:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643811159; cv=none; d=google.com; s=arc-20160816; b=LuOMMudekT8mfKpT8Ee2+x4UXj5ctEayPzTjv+aB6ZGWCZrJ2NWvJNQLjXQtWj+BlG 2J58AxFbSdw++8+lU6F5BaIA3b0AqQWbhUdWBRzCoGQEnNZkAwUcgr8BmW5s0iH04Bir IjbLE6asWpLhzHtO6u5oJ4+J5vqE1leO3f3VutyuKm8MP2mW5H3FG7b4k3jfvgH3588n ihJP+beiGGjkA1O4/TffsZXuzyd9DNbwG6HXDfZ8jiOFPRn51LZ8bn2lHD0mQyap/uv+ XGZYOvfg2GJRRVFe10PmhtlgfvcKN81iVA04xvP016PRb4TtL+01s8I1gDSrY0MZIq3e MYjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:reply-to:from:date:dkim-signature; bh=a8ovePqQG4LIMI2NdfDQJRLQZ9TLfyVy7UE+47KnroM=; b=y/7e9fPDl/rLJw9wYfk/TWHW5tMvp15I/nejYwH73FuoqLxbtRlC72cLamqUrhkCFl 7oQQsROflb3tQigMxF+ReBatmp6ijVbFmfrSIclLPNBh6eorplM4bnlPrYkXlfQq+y8+ YG2+BKC/5rAAjtRsHq/YkutX8TxKvSWUIFWnuoY9M472wWkFrEvXfLSiuV331SUAx/WJ LrhAfNEYHeWZXzAQHeC3G/LA3ZJ7Rw9S92t5EIB5rLrOlZShe13YRR7S1WdJusgUu8eT 0fMaDzLuOBrbSdZd34iX8JgHDqhTsclUgZ8uIM+ToKurRuNXTy1bLp9zU5WbvkrtU14d Ypdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@panix.com header.s=panix header.b=UDNwggrd; 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 p10si18510988pls.262.2022.02.02.06.12.26; Wed, 02 Feb 2022 06:12:39 -0800 (PST) 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; dkim=fail header.i=@panix.com header.s=panix header.b=UDNwggrd; 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 S229660AbiBAWZr (ORCPT + 99 others); Tue, 1 Feb 2022 17:25:47 -0500 Received: from mailbackend.panix.com ([166.84.1.89]:35559 "EHLO mailbackend.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbiBAWZo (ORCPT ); Tue, 1 Feb 2022 17:25:44 -0500 Received: from xps-7390.lan (unknown [184.169.45.4]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4JpKHx4PSMzPFw; Tue, 1 Feb 2022 17:25:16 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1643754343; bh=ECZSp4TbWwljAHiS5Gy/n9HhrRjmzi2Y8jQbybJxlHw=; h=Date:From:Reply-To:To:cc:Subject:In-Reply-To:References; b=UDNwggrdh8lC/j1Huy9Y3EKQQS9b5r7PfFNpGr5/y1P1dnQanI51nPTT+iC9OB8hF KfAyNVLjV9Mdy4jMS+i7iiwvi6arYfLI2/DJTXmpdWh//CXbQFzbXGb3WpGefTEW1t OQAUh0vwgH/ESAjnvjqpdxFPOXrub74ue9cf8/TA= Date: Tue, 1 Feb 2022 14:25:10 -0800 (PST) From: "Kenneth R. Crudup" Reply-To: "Kenneth R. Crudup" To: Vidya Sagar cc: bhelgaas@google.com, lorenzo.pieralisi@arm.com, hkallweit1@gmail.com, wangxiongfeng2@huawei.com, mika.westerberg@linux.intel.com, kai.heng.feng@canonical.com, chris.packham@alliedtelesis.co.nz, yangyicong@hisilicon.com, treding@nvidia.com, jonathanh@nvidia.com, abhsahu@nvidia.com, sagupta@nvidia.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com, "Kenneth R. Crudup" Subject: Re: [PATCH V1] PCI/ASPM: Save/restore L1SS Capability for suspend/resume In-Reply-To: <2ab59f0d-3ae7-ca5e-6bfc-12bed18813b2@nvidia.com> Message-ID: <38a02915-906f-c53-7e13-6c8710315e7@panix.com> References: <20220201123536.12962-1-vidyas@nvidia.com> <8aa96f79-402-4897-424f-64a2c6893de8@panix.com> <2ab59f0d-3ae7-ca5e-6bfc-12bed18813b2@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Feb 2022, Vidya Sagar wrote: > BTW, I see that the ASPM L1SS capability is supported by only two endpoints > viz. KIOXIA's NVMe drive and Realtek's Card reader. None of the root ports > seem to have the support. So, I'm wondering how was it even getting enabled in > the first place earlier? > (OR) > was it the case that L1SS sub-states were never enabled earlier also and the > issue was occurring without having ASPM L1SS enabled? (but with only L0s and > L1 enabled??) I'm not proficient enough in PCIe to be able to be sure of the answers to those- what can/could I do to determine this? > Also, I see that from 'before' and 'after' logs that for both NVMe and Card > reader and their corresponding root ports, none of the ASPM states are enabled > (not even L0s or L1). > Did you set the policy to 'powersupersave' before hibernating the system? Yeah: CONFIG_PCIEASPM_POWER_SUPERSAVE=y My laptop loses ~1.5%/hr in S3; I was trying anything I could to reduce that, if possible. -Kenny -- Kenneth R. Crudup / Sr. SW Engineer, Scott County Consulting, Orange County CA