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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94638E77188 for ; Fri, 20 Dec 2024 14:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=J6/gB3u8MzzMaESsev9mupvNJ++/KBSir43ihUbKnXs=; b=TMd9EtXymxMaoUSQag39f9ZiwH 4ULj1B3fvFqG9Vkl5p4F/i8gDp6ivFBy53C30MHeGAOOuwmv1o9CRGqbj4QlFVAos0uxuLTmxR6G6 lsQrehwxfbPM7Lp5Fk1IGmzEF4UKoUfQA30EfTkNsTLLAinRwxoVoepOpAU5hMzZoOaOBX6xZ0Ap3 VPdZ7fzzMhjI4+j+jPYVMWnmU3M40plwp/G/3E2nU5rhfcDQ5xZDlnR92zwlCHjDY2mVEHKBNINvt NLOklrI/edI4MtC6xcHbB9084qR4sI5tqVDnNUuIcfTnYT6jgGD9YZvzpmy7FIukl5MEU+mIfnU1q j0fdxMUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOdkr-000000056rd-0PJM; Fri, 20 Dec 2024 14:13:25 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tOdbx-000000055Xq-2Mag for linux-arm-kernel@lists.infradead.org; Fri, 20 Dec 2024 14:04:14 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 183AE1480; Fri, 20 Dec 2024 06:04:41 -0800 (PST) Received: from bogus (e133711.arm.com [10.1.196.55]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E84FB3F720; Fri, 20 Dec 2024 06:04:10 -0800 (PST) Date: Fri, 20 Dec 2024 14:04:08 +0000 From: Sudeep Holla To: Konrad Dybcio Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Mark Rutland , Marijn Suijten , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Subject: Re: [PATCH 1/3] dt-bindings: arm,psci: Allow S2RAM power_state parameter description Message-ID: References: <20241028-topic-cpu_suspend_s2ram-v1-0-9fdd9a04b75c@oss.qualcomm.com> <20241028-topic-cpu_suspend_s2ram-v1-1-9fdd9a04b75c@oss.qualcomm.com> <54cc4221-ba5f-4741-9033-20874265ca01@oss.qualcomm.com> <349bac70-87e0-4870-a3f0-9f6a3b3e6824@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241220_060413_643875_046108B8 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Dec 20, 2024 at 02:57:34PM +0100, Konrad Dybcio wrote: > On 20.12.2024 2:55 PM, Sudeep Holla wrote: > > > > Please take a look at the preconditions for both the calls. They are > > different. > > Which is *precisely* why I want to tell the OS that it's a S2RAM state, > so that different actions can be taken in peripheral device drivers. Yes we do that for SYSTEM_SUSPEND. And CPU_SUSPEND is not SYSTEM_SUSPEND hence 2 different APIs. My NACK still stands. -- Regards, Sudeep