Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp4078875rdb; Wed, 30 Aug 2023 15:07:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGABPIOXM9JMGRo7K5TKmkD5m0zy4bx70JCSIF6mlK+XDxFvGpENRr4mZYOAGCWQCsAjy0a X-Received: by 2002:a05:6808:1287:b0:3a8:6b4d:6b78 with SMTP id a7-20020a056808128700b003a86b4d6b78mr4767273oiw.35.1693433267873; Wed, 30 Aug 2023 15:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693433267; cv=none; d=google.com; s=arc-20160816; b=lwdkx6CHK5vMxxySDJtjIQyPgTcoglCVAKmfolufKWZPsqeV7jjfRYHs9PrhhnlKYM 31pBqUTtkjBf16WuE4Tm+CrNtZE6pfbZDLXjlWvI1YzuloQmzh5p369dbBP/QCKvyEFr MxlPSRPbtzqf+4/6lFbuuKSjrk6jQfY7/nB3OEFxI3XHP5l2s5qbsvmSGR5TORGVbGGJ Il6iUXX4Y3DqbRo6iYSwfh0UxmzhNbteqTDpCEZKon0vAabSC9Ek3qhcqQtMD6WzygwJ rzBZFZSYahswfbTKF5KrixZClGrxOz+IKaHiidc71GuLOo/Ybu0awj92zT71VW3VES75 OQug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=m1M3QnDp+thAyPO4L0th1O5VtbelnKZbSKC00FCSsGE=; fh=YN+Lw1Ix3vKQWgSeFkYSkIi8ZAyzOF+I4w8L7LBa9WI=; b=YrJdW70PK/LgC7w8n5JYmvoQgNxwS3y7AFcOOjiZl6mN3T87O4RSLPfLi0pEt9nHkE QoIvCv9YrXuk+Ha0uON8C1fIo708glWQiy4z2uI1hloV6W5nHhhJIVc5BcfvnzxIOdNp RBXYl9xexdb1qzmj3FtJRqpXq5VPJ64OTzV9/Fe386y+TvhuWhGfE8WfDl9y/XzXVDSf D6UP+jw8Tt92ntXe1/0Rbr24v3siL+OsNszCE4bEbAXOWq9hy4EjxUmpMypLEkJCN6CB hJ2oZO+yy4CCjgAG5IRTgKboAO9QjgcNcEBVNHIfITWmuVRCLLrcms7Hg2JC77CFlurJ pntg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aAwWrGyR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8-20020a635148000000b0056a1ed17deasi96700pgl.675.2023.08.30.15.07.31; Wed, 30 Aug 2023 15:07:47 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aAwWrGyR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239375AbjH3TES (ORCPT + 99 others); Wed, 30 Aug 2023 15:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244809AbjH3OHl (ORCPT ); Wed, 30 Aug 2023 10:07:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC3BAB9; Wed, 30 Aug 2023 07:07:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E7F46222B; Wed, 30 Aug 2023 14:07:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFD6DC433C8; Wed, 30 Aug 2023 14:07:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693404457; bh=gC7h2o8DgHf81V55Hr5r2OhHYYm/45JyKuio5PaFFPc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aAwWrGyRb2jklRlBUfr4I5S4y6Ybzv+C+F+pnwukkztG6Y9Y0xJ4CFQnjWKUMs7DK drC3Ygd6i4NJsjcTuK/liuut36Yn/pJc5HwFZrRqhE4fziL4wQOy4RIO4Wp0PRFM0y eJqIW79j7QT22tDBFLOAv6Hh39HdjrfhFnhIRRKq/XjLOE4mi8f9RcrhhT5pgGO+Er Nuoo5aIHrOQma//4yf0jOCz3Q9mis/JTAvHyg9v5HEb5keDj2a+9Ovr00Vd4XH1oOK SzNub1P1ospLCF7azOdfgUXVLLaDHUrKrBHVe/m7acyyY5i2YTk7e5L34pCzcYueTh /LU670E69OxqQ== Received: from disco-boy.misterjones.org ([217.182.43.188] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qbLr5-009KZQ-CL; Wed, 30 Aug 2023 15:07:35 +0100 MIME-Version: 1.0 Date: Wed, 30 Aug 2023 15:07:35 +0100 From: Marc Zyngier To: Oza Pawandeep Cc: sudeep.holla@arm.com, catalin.marinas@arm.com, will@kernel.org, rafael@kernel.org, lenb@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v3] cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer In-Reply-To: <20230829201101.3330337-1-quic_poza@quicinc.com> References: <20230829201101.3330337-1-quic_poza@quicinc.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: maz@kernel.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 217.182.43.188 X-SA-Exim-Rcpt-To: quic_poza@quicinc.com, sudeep.holla@arm.com, catalin.marinas@arm.com, will@kernel.org, rafael@kernel.org, lenb@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-08-29 21:11, Oza Pawandeep wrote: > ArmĀ® Functional Fixed Hardware Specification defines LPI states, > which provide an architectural context loss flags field that can > be used to describe the context that might be lost when an LPI > state is entered. > > - Core context Lost > - General purpose registers. > - Floating point and SIMD registers. > - System registers, include the System register based > - generic timer for the core. > - Debug register in the core power domain. > - PMU registers in the core power domain. > - Trace register in the core power domain. > - Trace context loss > - GICR > - GICD > > Qualcomm's custom CPUs preserves the architectural state, > including keeping the power domain for local timers active. > when core is power gated, the local timers are sufficient to > wake the core up without needing broadcast timer. Isn't that what should be exposed by GTDT when ACPI_GTDT_ALWAYS_ON is set on the relevant interrupt and EL? The arch timer already deals with that. Why do we need anything else? Thanks, M. -- Jazz is not dead. It just smells funny...