From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbusch@kernel.org (Keith Busch) Date: Tue, 30 Jul 2019 15:31:14 -0600 Subject: [Regression] Commit "nvme/pci: Use host managed power state for suspend" has problems In-Reply-To: <7d3e0b8ba1444194a153c93faa1cabb3@AUSX13MPC105.AMER.DELL.COM> References: <2332799.izEFUvJP67@kreacher> <4323ed84dd07474eab65699b4d007aaf@AUSX13MPC105.AMER.DELL.COM> <47415939.KV5G6iaeJG@kreacher> <20190730144134.GA12844@localhost.localdomain> <100ba4aff1c6434a81e47774ab4acddc@AUSX13MPC105.AMER.DELL.COM> <8246360B-F7D9-42EB-94FC-82995A769E28@canonical.com> <20190730191934.GD13948@localhost.localdomain> <7d3e0b8ba1444194a153c93faa1cabb3@AUSX13MPC105.AMER.DELL.COM> Message-ID: <20190730213114.GK13948@localhost.localdomain> On Tue, Jul 30, 2019@09:05:22PM +0000, Mario.Limonciello@dell.com wrote: > > -----Original Message----- > > From: Keith Busch > > Sent: Tuesday, July 30, 2019 2:20 PM > > To: Kai-Heng Feng > > Cc: Limonciello, Mario; rjw at rjwysocki.net; keith.busch at intel.com; hch at lst.de; > > sagi at grimberg.me; linux-nvme at lists.infradead.org; linux-pm at vger.kernel.org; > > linux-kernel at vger.kernel.org; rajatja at google.com > > Subject: Re: [Regression] Commit "nvme/pci: Use host managed power state for > > suspend" has problems > > > > > > [EXTERNAL EMAIL] > > > > On Wed, Jul 31, 2019@02:50:01AM +0800, Kai-Heng Feng wrote: > > > > > > Just did a quick test, this patch regress SK Hynix BC501, the SoC stays at > > > PC3 once the patch is applied. > > > > Okay, I'm afraid device/platform quirks may be required unless there are > > any other ideas out there. > > I think if a quirk goes in for Rafael's SSD it would have to be a quirk specific to this > device and FW version per the findings on KH checking the same device with the > older FW version. That's fine, we have the infrastructure in place for fw specific quirks. See drivers/nvme/host/core.c:nvme_core_quirk_entry