Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2633344pxb; Thu, 10 Feb 2022 01:55:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+WUieE6AGXCKs7ZYscGb6oJDZhzemYvia9ZGqNVzaUQskGi3AUx3g8eUrqVLJMFZK6I9p X-Received: by 2002:a17:906:2811:: with SMTP id r17mr5703318ejc.31.1644486947427; Thu, 10 Feb 2022 01:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644486947; cv=none; d=google.com; s=arc-20160816; b=tEF8zLoY8lVDbDTZU3eio/rkfa54Vx48+aYo+zGvMlHgLwMr2eNNanHyv5VC++tywc PnetZCHRu2NCFcV2Aq3q8rVUP7BJY1cp6gwMXXuYwDbZoeFlWvHxP4jbDlMmWH1dmKx1 /LH3Ln8efabdpKsSslyD36izg43utrwi/NHTKfnQ2k4JmSc8C9CVimpJTojmEajr+MMK 7p64gV9Ip0ZZHAFW/Wru3FwW1D/p5BP+tUxsQ00050/AhVIRrIuj0xsrfgO2+Mu8sKvt ZU2OM+hfBTCyaVBekwWEhivZrTEQMndRVNYEN0YZWufQqKp8Nlj2Nmy4k+cHIIZcH5lB 91OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=WK2erW88H/XL8w7GpEvj6AZhtu+dKktIVxxy9GLK0dE=; b=R8Va8qNx6Adex0Q7xPfl6AB+69Va92n+UK2iiKiHCfNOKxIeZduCmeKizixEddAldN gS1MsqSWxjDd5HSM5FK2hFj6XdrkN0agDEZ60nB9+ZDzLddt8sMd/3l8CRYc5igsksXg DEqDrC1gJ8Ei4oTnOOsY07UCER06NgSC2xqZcz1WJIztXH3be6rLSCpg5LWO/CsZrlUJ 0cbuv61XF5uEm/LWPehvlxUz0qdf34JqB/V+qTPjcAa2xWADqkzEEp6I0oxhAIRs5oTa Y5EadIDE17f5Ik6TnA3APSyPxG/R0KQhXuSACJPtAn0/4QRWOkETZQs0vnCemn5RrD/m ez4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22si3300114edm.288.2022.02.10.01.55.23; Thu, 10 Feb 2022 01:55:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232675AbiBJFlH (ORCPT + 99 others); Thu, 10 Feb 2022 00:41:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234378AbiBJFkj (ORCPT ); Thu, 10 Feb 2022 00:40:39 -0500 Received: from bmailout3.hostsharing.net (bmailout3.hostsharing.net [IPv6:2a01:4f8:150:2161:1:b009:f23e:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4A1410E9; Wed, 9 Feb 2022 21:40:21 -0800 (PST) Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id 2B1C910045BFA; Thu, 10 Feb 2022 06:40:19 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 07C4417FD1; Thu, 10 Feb 2022 06:40:19 +0100 (CET) Date: Thu, 10 Feb 2022 06:40:19 +0100 From: Lukas Wunner To: Vidya Sagar Cc: Keith Busch , robh+dt@kernel.org, rafael.j.wysocki@intel.com, hch@lst.de, bhelgaas@google.com, mmaddireddy@nvidia.com, kthota@nvidia.com, sagar.tv@gmail.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Query related to shutting down NVMe during system suspend Message-ID: <20220210054019.GA929@wunner.de> References: <65b836cd-8d5d-b9c2-eb8f-2ee3ef46112b@nvidia.com> <20220209202639.GB1616420@dhcp-10-100-145-180.wdc.com> <0801d0ee-1c39-4413-7865-6c1c61e4706e@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0801d0ee-1c39-4413-7865-6c1c61e4706e@nvidia.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 10, 2022 at 09:41:04AM +0530, Vidya Sagar wrote: > On 2/10/2022 1:56 AM, Keith Busch wrote: > > Christoph prefers to append quirks for platforms that need full device > > shutdown on s2idle instead of changing the driver default. > > > > We use dmi matching for our current platform quirk list. I do not know > > what the equivalent is for device-tree based platforms. Do you know? > > I'm afraid I don't. of_machine_is_compatible()