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 6D3D9C3DA6E for ; Thu, 28 Dec 2023 10:31:37 +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=rIzBSLQgKUWBiUZA4fvh8hylcJGyWOwlUmOSt+6+KTA=; b=TRcI6iz6p5x0S1 pA2lvIsb3Of+g72j/bL1TrKVn6+AVEUsxECUnBrD6EI8QvgNVXFgR5wbwS5hxfSaTAIapQfhqVhGI gGbdUnKoFBgYotnZATGwXPq5nbyXUxV1OmyIhLRkRfq9poi/sAlUrbJNGfRYdP4bEPEf0m8QYtCoq 65aUmi+TPhDbnvMO/T9KXhbA0cOcynfh0OYOBnszQdDcq7zZG0+SQ5YSMCY6Z8+HJ8h7H7IHxA0Xs /ddgsFrgOnhPPaOQATDxdgzassKdqACcAS5NHE5lXEVs9q7imNngC2/zwC7b9xmj87jvRJwajV46L OhdMsxS58c+oLLi+W3TA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rInfX-00GYcS-1l; Thu, 28 Dec 2023 10:31:15 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rInfU-00GYbl-1w for linux-arm-kernel@lists.infradead.org; Thu, 28 Dec 2023 10:31:13 +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 640EE2F4; Thu, 28 Dec 2023 02:31:56 -0800 (PST) Received: from bogus (unknown [10.57.74.54]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 89A653F5A1; Thu, 28 Dec 2023 02:31:08 -0800 (PST) Date: Thu, 28 Dec 2023 10:28:01 +0000 From: Sudeep Holla To: Konrad Dybcio Cc: Mark Rutland , Sudeep Holla , Lorenzo Pieralisi , Marijn Suijten , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Andersson Subject: Re: [PATCH 2/2] firmware/psci: Set pm_set_resume/suspend_via_firmware() on qcom Message-ID: <20231228102801.fzaubcjq5thfwgxg@bogus> References: <20231227-topic-psci_fw_sus-v1-0-6910add70bf3@linaro.org> <20231227-topic-psci_fw_sus-v1-2-6910add70bf3@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231227-topic-psci_fw_sus-v1-2-6910add70bf3@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231228_023112_689338_5E11AE83 X-CRM114-Status: GOOD ( 11.46 ) 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 Wed, Dec 27, 2023 at 11:15:31PM +0100, Konrad Dybcio wrote: > Most Qualcomm platforms implementing PSCI (ab)use CPU_SUSPEND for > entering various stages of suspend, across the SoC. These range from a > simple WFI to a full-fledged power collapse of the entire chip > (mostly, anyway). > > Some device drivers are curious to know whether "the firmware" (which is > often assumed to be ACPI) takes care of suspending or resuming the > platform. Set the flag that reports this behavior on the aforementioned > chips. > > Some newer Qualcomm chips ship with firmware that actually advertises > PSCI SYSTEM_SUSPEND, so the compatible list should only grow slightly. > NACK, just use suspend-to-idle if SYSTEM_SUSPEND is not advertised. It is designed for such platforms especially on x86/ACPI which don't advertise Sx states. I see no reason why that doesn't work on ARM platforms as well. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel