Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3721575ybz; Mon, 27 Apr 2020 22:15:30 -0700 (PDT) X-Google-Smtp-Source: APiQypK5Wc/95W1jbvBE/tEO7RkvMoTrx+7Otrz0oKb921atVH1UK9zfzQyPGLKQ9H+nzKcTzl7f X-Received: by 2002:a05:6402:1c07:: with SMTP id ck7mr22040350edb.202.1588050930549; Mon, 27 Apr 2020 22:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588050930; cv=none; d=google.com; s=arc-20160816; b=VxdTflm28el14p5Ht2dNf5uIP/4OO9Xt6xZPTgQOb75Mkr+mqfI64N0SMd3hej69A0 uJty8yNU+WUSsakddxEP4f049kkAX3aL/O9tvUrRmo1m9BIHOnoVe0RDmhKRYEopd+p7 1kOErbIjspwSkzTff3U/ubqq85pmxP0zfnVIhOkRLZOZiPzTJn2KkqXxTFDW4O+s5QNg CixDIXEgW1O7WtZhRLvxe4ANQARr6u3iYrk+2eBQvU1zywBtQxCLEtbT8i0XETj5vGHh RynIQciguD5xtbJXQOYeenH2ZaGX6p+x+nMKDyEk0u5XLBQMMBDiJ6dmwl3tuIwgg+wT C65Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Yzwv8671lLQSI5cq4G18D0t5AKQ4/c+k76zfi8wrqeA=; b=aHHJ3O9/o/c6PB+ur2GnvuxS1O7r754/6hdGbNuk1fUQjch+eACAA9o+XHS7B78Z9v xnjE6eapRwY++Cc+J9B3Hwj/EieSgT3zPs0lqMMffHudURk7W6wvSpkZme8qv2lRGELE LKoX02RFfT8piKZchN94ViaFN2M/AgckqiNeFyhnGW34LMC6g4U4vmzD5YJ00+uBMS0G Ff79yOKdMBqxURofdxDdym+21aaOzk9/tgPUxcR9ygNp9bpvSKCtTE2ZFL+qxdvQvxDM 505T5+nDFIr2TQpPzwkOp3Hi2PtGufm3l2ryT+VIkshNaQiHIwjgVMDDYLvoAcDeF+hy Eqlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si730527edw.308.2020.04.27.22.15.06; Mon, 27 Apr 2020 22:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726315AbgD1FNQ (ORCPT + 99 others); Tue, 28 Apr 2020 01:13:16 -0400 Received: from verein.lst.de ([213.95.11.211]:53676 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbgD1FNQ (ORCPT ); Tue, 28 Apr 2020 01:13:16 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id B715168C7B; Tue, 28 Apr 2020 07:13:12 +0200 (CEST) Date: Tue, 28 Apr 2020 07:13:12 +0200 From: Christoph Hellwig To: "David E. Box" Cc: rjw@rjwysocki.net, lenb@kernel.org, bhelgaas@google.com, kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Add support for StorageD3Enable _DSD property Message-ID: <20200428051312.GB17146@lst.de> References: <20200428003214.3764-1-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200428003214.3764-1-david.e.box@linux.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 27, 2020 at 05:32:12PM -0700, David E. Box wrote: > NVMe storage power management during suspend-to-idle, particularly on > laptops, has been inconsistent with some devices working with D3 while > others must rely on NVMe APST in order for power savings to be realized. > Currently the default is to use APST unless quirked to do otherwise. > However newer platforms, like Intel Comet Lake systems, may require NVMe > drives to use D3 in order for the PCIe ports to be properly power managed. > To make it easier for drivers to choose, these platforms may supply a > special "StorageD3Enable" _DSD property under the root port that the device > is attached to. If supplied, the driver must use D3 in order for the > platform to realize the deepest power savings in suspend-to-idle. > > The first patch adds the new _DSD GUID and fowards the property through the > pci/acpi layer to the pci device. > > The second patch adds support for the property to the nvme driver. I'm not sure who came up with the idea to put this into ACPI, but it belongs into NVMe. Please talk to the NVMe technical working group instead of trying to overrules them in an unrelated group that doesn't apply to all of PCIe.