Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4272004ybz; Tue, 28 Apr 2020 08:31:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJlsg23+3kYHP99CU6+6yAMxZgB0eiPEVu2gijD2wd7XFVcHyzEOjHD9lFZGsETHFhB5gf/ X-Received: by 2002:a17:906:1490:: with SMTP id x16mr23577971ejc.323.1588087909527; Tue, 28 Apr 2020 08:31:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588087909; cv=none; d=google.com; s=arc-20160816; b=KIL9xHa4a7/cDFIL1NKOpYsYnRl7ELEO93B2hYazDDV2JtyxOv3m2EnwcD4XreglyK VMuiv1htiiIoLSkO64wex45Qr3MkAP0IXSNZUgzgq4WCvKh1rVFzcW06ZkiuLaoNHZz3 6p90TcJPnBqSvkmWOevq91cRvPvSVsCSVjhhMlb18fMGY48aMlgnRoSiH/t7AadWuHUa eXpICO4Cw1SXWAH7VIHgS3TFIwrNlpT8LCdBV/QtFZWjGMavHxREJpAVGaeNI9Tw+DBr uzDYeIxVL+hd87r5feEn+f2yBtqPszoidRnNPEi2six6cZmuF82mI15Cezp7XvaY6sxz 5n8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:reply-to :from:subject:message-id:ironport-sdr:ironport-sdr; bh=F3uaR+IMBR8O7okMdu7x4NlNLmp/DMZ68E0OGA216q4=; b=R4Mnc5jKHx9IKmdPDTr5KUC7e071aKeGK9zxi5w2ja2vlCHL7izmFnxvnbS+GC3ZaU 1ZvP3MElZOUoW4OJ/S8xvoMDg8MuYU8nSWdXx8aLwwwOa4QBMtosAyYc794O6Ynl9U4r Yc2kzh1kR7YAIfOC1w+YqXQhZsXHUk481zL4DxdFzwSJBPynNqPDPWRklSKiVpE1IaNJ tL1Py0/sTvZEKS+hin3WRhZ+5aLr0LVCXexhbxWPbJFSNiXXA8eWYZbvxHeMUSZSFhht DosOb/tfhaG7ZqMBbby3vONlGT5n2AILVbSjdjJBDDx5DdHUyj5FuM0EoFGlt+28FFtu PXCg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd5si1862055edb.34.2020.04.28.08.31.24; Tue, 28 Apr 2020 08:31:49 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728235AbgD1P1x (ORCPT + 99 others); Tue, 28 Apr 2020 11:27:53 -0400 Received: from mga18.intel.com ([134.134.136.126]:64740 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728147AbgD1P1x (ORCPT ); Tue, 28 Apr 2020 11:27:53 -0400 IronPort-SDR: 9k1KmL5It0WMjCTJopVCfWUgFlm47pMqB6RZxA8al4pkM4pxnFUSZmduJLmozlBPLGGWa+Bt/t i06yC9brxIvA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 08:27:51 -0700 IronPort-SDR: UNnU/pmBRK2OkJ3qAl3VQ1s9gW2e4JpF7lPfFAiI7yqU9sbKROyoly5hqXVOgWqX5u3I4vC1Fw PsaBRrDB9MQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,328,1583222400"; d="scan'208";a="282179569" Received: from linux.intel.com ([10.54.29.200]) by fmsmga004.fm.intel.com with ESMTP; 28 Apr 2020 08:27:50 -0700 Received: from debox1-desk1.jf.intel.com (debox1-desk1.jf.intel.com [10.7.201.137]) by linux.intel.com (Postfix) with ESMTP id 38EE4580CC1; Tue, 28 Apr 2020 08:27:50 -0700 (PDT) Message-ID: Subject: Re: [PATCH 0/2] Add support for StorageD3Enable _DSD property From: "David E. Box" Reply-To: david.e.box@linux.intel.com To: Christoph Hellwig Cc: rjw@rjwysocki.net, lenb@kernel.org, bhelgaas@google.com, kbusch@kernel.org, axboe@fb.com, sagi@grimberg.me, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 28 Apr 2020 08:27:50 -0700 In-Reply-To: <20200428142247.GB5439@lst.de> References: <20200428003214.3764-1-david.e.box@linux.intel.com> <20200428051312.GB17146@lst.de> <20200428142247.GB5439@lst.de> Organization: David E. Box Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.3 (3.34.3-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-04-28 at 16:22 +0200, Christoph Hellwig wrote: > On Tue, Apr 28, 2020 at 07:09:59AM -0700, David E. Box wrote: > > > 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. > > > > Agreed that this is not ideal since it does not apply to all of > > PCIe. > > But as the property already exists on shipping systems, we need to > > be > > able to read it in the NVMe driver and the patch is consitent with > > the > > way properties under PCI ports are read. > > The point is that it is not the BIOSes job do decide how Linux does > power management. For example D3 has really horrible entry and exit > latencies in many cases, and will lead to higher power usage. The platform can know which pm policies will save the most power. But since the solution doesn't apply to all PCIe devices (despite BIOS specifying it that way) I'll withdraw this patch. Thanks. David