Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1516331imu; Mon, 5 Nov 2018 23:11:05 -0800 (PST) X-Google-Smtp-Source: AJdET5dzGQRYghvzuTxPqTXi5Y5fJhVu+9pMr1hDuyS3DkRRZkSgzaTlCtK0j6k2RvHJEpWSGnvY X-Received: by 2002:a63:b218:: with SMTP id x24mr21948679pge.223.1541488265569; Mon, 05 Nov 2018 23:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541488265; cv=none; d=google.com; s=arc-20160816; b=mUaVvUoJshjrzdMNDTly8KkcSF8XZWDqEoh8h13DIrNDkkyFaFBn+7IcKWj+RD08x8 UohjBrs0TFMKdF1s5EI7VTHli+094FAppKzBH/FxDVT8wLZ3U8Z3zslvZmPBKZLiXa9X 9J/Gcv6WuBVSKPlE8pCkn0LyKpYqpprNS6sfQEBf4GGN2mPQ9shPPF3tYBQm1pK2p/5L 7VWOumH5e5yF+D3OzTfPyeeh4YuoigV46YtFOYnRwLHY1xGWqkwcBiM18Y7Q+nqAESo1 Wc59YUFAbZbSyvXsTSwQkMpIEypXy0uKAeavNBJANrpHO1sFqCE3DodkygXFrsu3kIa5 7Qmg== 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:dkim-signature; bh=IVqCC0dLaloKUV45k6EEuzAJeKXMExtN0y0EJMuwLQo=; b=vqtkMReKcYUVUKKR7FBLTspSRXq39Mp0OsMi2xwC0WaDlej7Ve9AifVPYLJPDRFjBy bldtdEBc+2jko/R6LSvK1z2hH7MuQ+v7oJtLzPlBuBROS9bLkCQV7rtyFDtEAlzz7f+H IpTSZSvRddtl2UHBtbiQ9YxE3WKrOq3Vjpx/EkyH+brXsqREqYnmG1S639HzrsDwmfGn jeQ4njkcnjFx0xPCWj2CV19ynB/J1fJUjb8Zpe7KN6/f9Ccu3if6D5qExHAyuU/rxnbW wNdoutpuaKm4wa9Q9eWOrpKG3WFJGibWNgpQelnVN8BpqDE/vwtagKEkx8s9TtFaSBDx 5x5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XqdugwF4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t64-v6si30019391pfd.58.2018.11.05.23.10.47; Mon, 05 Nov 2018 23:11:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XqdugwF4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387529AbeKFQeO (ORCPT + 99 others); Tue, 6 Nov 2018 11:34:14 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:54112 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387457AbeKFQeN (ORCPT ); Tue, 6 Nov 2018 11:34:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IVqCC0dLaloKUV45k6EEuzAJeKXMExtN0y0EJMuwLQo=; b=XqdugwF4L9LEgS42iECj65GdL x9PSuJTpvB62Vef0YCnoTLEzgIirxLTgoaOn3YaZv2AFgSdB1a9Els9RnCKLKPRB6xh4emELfq21X +asD3cyAbg0rsz8KymAFe8VYD1NObwh1t6SkM0ZuwBRfT/fO6QDv3G3+w3r0CamtU8l4gPLaRScp4 6ndpNSVwsBkZFwd5zAjymSbqSRn+uNMmLygq7p/zdLMPzkTETzXxd1VdvIJYDPRnPDQxjgZ/QMxAV 2pfnFGrAPzAN1qef4dRKBYTnmuN/sTPvBwxtGUqbKb/K8CEKEiTRzpX2d/GlL/9vqqEdBxZIuP52+ v8VouQJAQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJvV5-0000iK-DS; Tue, 06 Nov 2018 07:10:11 +0000 Date: Mon, 5 Nov 2018 23:10:11 -0800 From: Christoph Hellwig To: AceLan Kao Cc: Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Bjorn Helgaas , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 1/2] pci: prevent sk hynix nvme from entering D3 Message-ID: <20181106071011.GA23935@infradead.org> References: <20181106020402.21120-1-acelan.kao@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181106020402.21120-1-acelan.kao@canonical.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 06, 2018 at 10:04:01AM +0800, AceLan Kao wrote: > It leads to the power consumption raises to 2.2W during s2idle, while > it consumes less than 1W during long idle if put SK hynix nvme to D3 > and then enter s2idle. > >From SK hynix FE, MS Windows doesn't put nvme to D3, and uses its own > APST feature to do the power management. > To leverage its APST feature during s2idle, we can't disable nvme > device while suspending, too. > > BTW, prevent it from entering D3 will increase the power consumtion around > 0.13W ~ 0.15W during short/long idle, and the power consumption during > s2idle becomes 0.77W. Please get this fixed in firmware. And yes, depending on which Windows driver you use Windows might be doing very agressive runtime D3, which is parted of Windows modern standby, so it'll trip up there eventually as well.