Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1517150imu; Mon, 5 Nov 2018 23:12:08 -0800 (PST) X-Google-Smtp-Source: AJdET5d2MeY1rdpIn6cP5SHvO3hDhZm2XQqkQAhxMKZP5lmiHDsjUgpTeAr74+hEYuXD6hMKtwsa X-Received: by 2002:a62:e048:: with SMTP id f69-v6mr24979445pfh.208.1541488328134; Mon, 05 Nov 2018 23:12:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541488328; cv=none; d=google.com; s=arc-20160816; b=yPG3Zp61hcW1FEB0kn2w8XjJYmYjt3dBrtIXRk/MDrbLCZhWiS9dn+o6NgvqsNNVS2 bA8gdvoRP2ZJunF2hAYUPNUegsq+3zmbexFzopETwvBKxRz0f2eI/YPLZcLvjKyx0uG4 BBb2yOLKD8GxUL80fbO+aVfH6OIhI0KbANgzFWYHYkW9UZo+bcynz+PhGJY4Dwq6WS3t JGQy5o4JSa+qlUikv2NFVK4oVzxQn2AELV8K++7KqzowWNPYV7lruS5zSL0fl5SUI2qE IvivyWahcynrgeVjt7XOnmJpU96Cg43YRkw85iAYaSCMf4Ef1TYuayiK4vYA2EyDTCPO iCBw== 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=IqgWzHSO3NPpa0YZq3ziImuKKcRgfZe28vNyIprvSnQ=; b=JeMhTumcb5p8pjJfR5bL8owvstruKhOSkKNsgEFkJG95r5BfMw759zjgtNKPScgNc/ vEaj1n4UhfVxuu4drYeTPMGph2wAf4PwhAAtdDdXMlaUASV6YwMBNdrUsw7/dQVtEPhE 28/xIU7ykTA/WwhBiw+kmkuGZvsULo/wGW9KyPkMOW+9Ym5WLccITeaL7TZh7Iie6zjP wl/w/yrZzlA57gpiC4BFj0p9dMRDiUuoM+1Q7Dt3WYIwveQr5Sb/DnqEtensGxTo0rBU xo5OcSuxcbVlDVrPsEngKz3g0VQIHNFPI6+zPod6CdjdKBX9CwwnqRLN3j7u5wxsfKQ8 w6UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="ee/tFgIM"; 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 a10-v6si38472553pll.334.2018.11.05.23.11.52; Mon, 05 Nov 2018 23:12:08 -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="ee/tFgIM"; 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 S2387609AbeKFQeu (ORCPT + 99 others); Tue, 6 Nov 2018 11:34:50 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:56088 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387397AbeKFQeu (ORCPT ); Tue, 6 Nov 2018 11:34:50 -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=IqgWzHSO3NPpa0YZq3ziImuKKcRgfZe28vNyIprvSnQ=; b=ee/tFgIMZSthzocE44d+JLZet MwABvt6MGeJZ+lHdmIENR6ldtP41+X2w2mj+v8GXbgHdGAzpTA0HhR+b4Ow2Xmqqx5Y4NYgvdyFgi 7cQ+zR4jd/fAA8qaZ/q/Y+Bt2lt0CXEq7okW3BfxDJLpwydYdsvGNY/UsyVNQE5sjUGCAJnobridz uUMS663I+xKGdJNnRzsKrEHCMSa4ifIxc3MYTf4lkyHeiscDKqq/ymMxGHUfVh8rGQHdgdnAN5aEb sgeJNQZujkRHWN/+Z+s2mCRHi/p2cDlYnBQOiAmP31EUpcn8PQCVK/SdCxZR5ep98rBnLWsX7X4+x XnRBXlD1A==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJvVp-0001CW-Fv; Tue, 06 Nov 2018 07:10:57 +0000 Date: Mon, 5 Nov 2018 23:10:57 -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 2/2] nvme: add quirk to not call disable function when suspending Message-ID: <20181106071057.GB23935@infradead.org> References: <20181106020402.21120-1-acelan.kao@canonical.com> <20181106020402.21120-2-acelan.kao@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181106020402.21120-2-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:02AM +0800, AceLan Kao wrote: > Call nvme_dev_disable() function leads to the power consumption goes > up to 2.2 Watt during suspend-to-idle, and from SK hynix FE, they > suggest us to use its own APST feature to do the power management during > s2idle. > After D3 is diabled and nvme_dev_disable() is not called while > suspending, the power consumption drops to 0.77 Watt during s2idle. Same comment as previous one. Get the firmware fixed please - this doesn't prevent the drive from working, but it is a grave implementation bug in it that needs to get fixed.