From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE979C4708F for ; Mon, 31 May 2021 06:47:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B75960FF0 for ; Mon, 31 May 2021 06:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbhEaGsj (ORCPT ); Mon, 31 May 2021 02:48:39 -0400 Received: from verein.lst.de ([213.95.11.211]:48283 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbhEaGsi (ORCPT ); Mon, 31 May 2021 02:48:38 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 2A34F67373; Mon, 31 May 2021 08:46:56 +0200 (CEST) Date: Mon, 31 May 2021 08:46:55 +0200 From: Christoph Hellwig To: Mario Limonciello Cc: Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , "Rafael J . Wysocki" , "open list:NVM EXPRESS DRIVER" , linux-acpi@vger.kernel.org, rrangel@chromium.org, david.e.box@linux.intel.com, Shyam-sundar.S-k@amd.com, Alexander.Deucher@amd.com, prike.liang@amd.com, Shyjumon N , Jon Derrick Subject: Re: [PATCH v3 1/2] nvme: Look for StorageD3Enable on companion ACPI device instead Message-ID: <20210531064655.GA1417@lst.de> References: <20210528160234.9402-1-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210528160234.9402-1-mario.limonciello@amd.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Fri, May 28, 2021 at 11:02:34AM -0500, Mario Limonciello wrote: > The documentation around the StorageD3Enable property hints that it > should be made on the PCI device. This is where newer AMD systems set > the property and it's required for S0i3 support. > > So rather than look for nodes of the root port only present on Intel > systems, switch to the companion ACPI device for all systems. > David Box from Intel indicated this should work on Intel as well. I think we need to wait for the confirmation from David. This looks good, but I'd like to see testing. I also wonder how many of the simple suspend quirks we can drop with this. Shyjumon and Jon, can you retests the platforms quirked in 1fae37accfc5 ("nvme/pci: Add sleep quirk for Samsung and Toshiba drives") with this fix?