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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02A5CC433F5 for ; Thu, 3 Feb 2022 11:15:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350145AbiBCLPY (ORCPT ); Thu, 3 Feb 2022 06:15:24 -0500 Received: from foss.arm.com ([217.140.110.172]:39688 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232228AbiBCLPX (ORCPT ); Thu, 3 Feb 2022 06:15:23 -0500 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 140F011D4; Thu, 3 Feb 2022 03:15:23 -0800 (PST) Received: from bogus (unknown [10.57.41.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7DCE63F774; Thu, 3 Feb 2022 03:15:21 -0800 (PST) Date: Thu, 3 Feb 2022 11:14:35 +0000 From: Sudeep Holla To: Florian Fainelli Cc: linux-arm-kernel@lists.infradead.org, "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , Mark Rutland , Sudeep Holla , Lorenzo Pieralisi , open list Subject: Re: [PATCH 0/4] Broadcom STB PM PSCI extensions Message-ID: <20220203111435.e3eblv47ljkwkvwf@bogus> References: <20220122035421.4086618-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220122035421.4086618-1-f.fainelli@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 21, 2022 at 07:54:17PM -0800, Florian Fainelli wrote: > Hi all, > > This patch series contains the Broadcom STB PSCI extensions which adds > some additional functions on top of the existing standard PSCI interface > which is the reason for having the driver implement a custom > suspend_ops. > > These platforms have traditionally supported a mode that is akin to > ACPI's S2 with the CPU in WFI and all of the chip being clock gated > which is entered with "echo standby > /sys/power/state". Additional a > true suspend to DRAM as defined in ACPI by S3 is implemented with "echo > mem > /sys/power/state". How different is the above "standby" state compare to the standard "idle" (a.k.a suspend-to-idle which is different from system-to-ram/S3) ? Suspend to idle takes all the CPUs to lowest possible power state instead of cpu-hotplug in S2R. Also I assume some userspace has to identify when to enter "standby" vs "mem" right ? I am trying to see how addition of "idle" changes that(if it does). Sorry for too many questions. -- Regards, Sudeep