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 E587BC04FF6 for ; Tue, 16 Apr 2024 13:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JuN/20Lmy8XdSU+rom0qGY/Fg77T+1atEFnSVHz7ZjM=; b=oLrXdmRhyIEbYg UFaiMR+Cp97TS8lBGN/nQNT9wEhCYR0bNiIP1mSo+XrK7Eh7nJyPr3UYNI3GE1QDlXWeh7QXdyDAi D1PprPjyWA8AJJ4nvOshwJdb4lImRCQAil4zaoHvBpI/CypU/Ps0uDIlTr58d7WxcMf+SfXigS5Ob SWv7w1jIixaGPSH1aiZ46njU0pGyFe00k7xWSKXAZAcEp0Zv7zcfofNnyyG7lsE47MGqC31oUdlgE qMtdE6I3v45MQFHbJ4vXUh8nv4WGR4ETf7m9hd6wqDUQKF1zoB2aWnl4EC2Ni/syLRQuD0VjfAvmc dLqvJG2BxbfcSdqjapog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwinq-0000000CIX8-25Xw; Tue, 16 Apr 2024 13:24:50 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwinn-0000000CIWK-2rtX for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 13:24:48 +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 31580339; Tue, 16 Apr 2024 06:25:12 -0700 (PDT) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 13FBE3F738; Tue, 16 Apr 2024 06:24:42 -0700 (PDT) Date: Tue, 16 Apr 2024 14:24:39 +0100 From: Cristian Marussi To: Peng Fan Cc: "Peng Fan (OSS)" , "sudeep.holla@arm.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] firmware: arm_scmi: power_control: support suspend command Message-ID: References: <20240415101141.1591112-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_062447_806157_12CDD6EE X-CRM114-Status: GOOD ( 14.17 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Apr 16, 2024 at 12:34:14PM +0000, Peng Fan wrote: > > Subject: Re: [PATCH] firmware: arm_scmi: power_control: support suspend > > command > > > > On Tue, Apr 16, 2024 at 07:01:42AM +0000, Peng Fan wrote: > > > Hi Cristian, > > > > > > > Hi, Hi, > > > > > > Subject: Re: [PATCH] firmware: arm_scmi: power_control: support > > > > suspend command > > > > > > > > On Mon, Apr 15, 2024 at 06:11:41PM +0800, Peng Fan (OSS) wrote: > > > > > From: Peng Fan > > > > > > > > > > Support System suspend notification. Using a work struct to call > > > > > pm_suspend. There is no way to pass suspend level to pm_suspend, > > > > > so use MEM as of now. [snip] > > But, as said, I dont think there is a way to trigger a userspace suspennd from > > jernel like we do for shutdown/reboot...I'll try to investigate a bit more. > > Thanks for helping. .. also scmi_power_control.c:95: warning: Function parameter or struct member 'suspend_work' not described in 'scmi_syspower_conf' Thanks, Cristian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel