From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbusch@kernel.org (Keith Busch) Date: Fri, 10 May 2019 07:52:34 -0600 Subject: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle In-Reply-To: References: <225CF4F7-C8E1-4C66-B362-97E84596A54E@canonical.com> <20190509103142.GA19550@lst.de> <31b7d7959bf94c15a04bab0ced518444@AUSX13MPC101.AMER.DELL.COM> <20190509192807.GB9675@localhost.localdomain> <7a002851c435481593f8629ec9193e40@AUSX13MPC101.AMER.DELL.COM> <20190509215409.GD9675@localhost.localdomain> <495d76c66aec41a8bfbbf527820f8eb9@AUSX13MPC101.AMER.DELL.COM> Message-ID: <20190510135234.GF9675@localhost.localdomain> On Fri, May 10, 2019@01:23:11AM -0700, Rafael J. Wysocki wrote: > On Fri, May 10, 2019 at 8:08 AM Kai-Heng Feng > > I tested the patch from Keith and it has two issues just as simply skipping > > nvme_dev_disable(): > > 1) It consumes more power in S2I > > 2) System freeze after resume > > Well, the Keith's patch doesn't prevent pci_pm_suspend_noirq() from > asking for D3 and both of the symptoms above may be consequences of > that in principle. Right, I'll fix up the kernel's PCI D3 control and resend for consideration. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Busch Subject: Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle Date: Fri, 10 May 2019 07:52:34 -0600 Message-ID: <20190510135234.GF9675@localhost.localdomain> References: <225CF4F7-C8E1-4C66-B362-97E84596A54E@canonical.com> <20190509103142.GA19550@lst.de> <31b7d7959bf94c15a04bab0ced518444@AUSX13MPC101.AMER.DELL.COM> <20190509192807.GB9675@localhost.localdomain> <7a002851c435481593f8629ec9193e40@AUSX13MPC101.AMER.DELL.COM> <20190509215409.GD9675@localhost.localdomain> <495d76c66aec41a8bfbbf527820f8eb9@AUSX13MPC101.AMER.DELL.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Kai-Heng Feng , Mario Limonciello , Christoph Hellwig , Jens Axboe , Sagi Grimberg , Linux PM , "Wysocki, Rafael J" , Linux Kernel Mailing List , linux-nvme , "Busch, Keith" List-Id: linux-pm@vger.kernel.org On Fri, May 10, 2019 at 01:23:11AM -0700, Rafael J. Wysocki wrote: > On Fri, May 10, 2019 at 8:08 AM Kai-Heng Feng > > I tested the patch from Keith and it has two issues just as simply skipping > > nvme_dev_disable(): > > 1) It consumes more power in S2I > > 2) System freeze after resume > > Well, the Keith's patch doesn't prevent pci_pm_suspend_noirq() from > asking for D3 and both of the symptoms above may be consequences of > that in principle. Right, I'll fix up the kernel's PCI D3 control and resend for consideration.