Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2748445pxb; Thu, 3 Feb 2022 13:26:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwA3M3zGHFV9m9/yVfY8etvJTBS/CW5edofEswmQV4PkH7wQrxtbXBnDBb/heFZR35TfXQh X-Received: by 2002:a17:907:3e9b:: with SMTP id hs27mr31138033ejc.72.1643923561462; Thu, 03 Feb 2022 13:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643923561; cv=none; d=google.com; s=arc-20160816; b=emTT8A6Wf1XhXannffNFlLh75PQ5c1EIGCMZlpkZpAvLJrGSTcM/bkbTebJ3J5L432 fgCswHWWQGmSJFCr1p4ekakaToDuSdXS533DBEyZ0t5gvukj4jwxR8WPihj/o2eK74VA jaXmhB9OruiC7OB23qw77h3egBo6r/Rq325NSc50Se1WFisW4RibHPUinQAXCUEFPicu c91Fzfntdl34CIM+n5M/YNadLf8OJDzGzXnND6oNy6NLN6MuHpi8/XF83+vGcQfHyhWa D8JvXnmISrcc6hHglCnHLt1FJnEaiiKPgi6tC6Bx/6Ns7F1jXwlNhXClhuae62Lc3quu wVnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=w/rBcOm6zafDx6NpfWFzeAFKYsKm41QQRPnN4r4Y46U=; b=wAymTYXxtUyE8Ht1TDNyNHmB3hc9kWcgT7kCQB8VgRdu4CmlTOjhHZlh+1z3VMJU3O TMF+tK8D0e4z3kaIfxtHKJhVxHrmWlT2LzSyd4uQrxkkzKZqO7daTs8T1XCA3F43KI1j ANTcDbc5HpZna8pItuU/GZDaeuMkATerv/1Pcq0XWNI+5wABxY2mkLUxBtNq5bidIdst XENfjnL0b71mW8IBp5xFTPdGdqpjfrRMsemahhHjq5OVbi4hUO6c5y6linPN1wky744Z kV0OBU5d2qQd7dxiae/lszG0kizvJBLKTjaCy6meRYMp4T9hhrOI+tomEqXCTAh7Mc7v BjLg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt10si11906797ejc.222.2022.02.03.13.25.36; Thu, 03 Feb 2022 13:26:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350141AbiBCLPY (ORCPT + 99 others); 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