Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6089740rdb; Mon, 18 Sep 2023 04:04:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExjI/E3eFi3SUE65VN/pl2qwagzuuEjJdULxtzgCIra8nEAlPhmoJe52iLitDgW9uETdng X-Received: by 2002:a05:6a21:3b48:b0:153:d71f:cd21 with SMTP id zy8-20020a056a213b4800b00153d71fcd21mr8874626pzb.49.1695035078189; Mon, 18 Sep 2023 04:04:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695035078; cv=none; d=google.com; s=arc-20160816; b=camE9oG/HRIKqN8t+OTe1qm82I8EaqmxQuxfbSQEJ4sv3NCywzTrFnzO3bN/F3Ms9q NRsqLNU+MJyiCmcF4P7Yi2Io17kjtWLYQLtrwIR7JTO9IXCYT26Yrybk8UTmWQTbxdkx gJlnHyevKGv8UOIFRQ6ELO5FtEgEHS3G+vvtvMIdnOALel33WKIwyeY2CYvbg8LgpsuT 83ndlzrC+kd/k8t/sS2KZghvWdnETzbuOZffrnsxnughwoAvUL44yFSr3D6iIy3Jd/zJ b9cszSRO3M5ct6/3DiDEoas4OlasEfwPfci3SjxXbSzxKGuOuUIDpJxoOwMAPzrQCd39 cGWg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0q9uhMRQQ98Onzffk3k5LM+ISN6+jDMR8R9FvhYweew=; fh=u3LiZzCIOX1uHtebcR605vWmMvJ7sMgagmrC+5ybDIw=; b=zSzwcZop8AJpnJky7MUsWuEga1T5aqw02/Jzh9Jp4rLGYKdCh4S7ujg0FZabCBb+44 pEG0U6yXnfUCQahx9Hz9EdukyVgnEzCQ3Q+6vfOOlMitXFkNA4H75w3XJyl1jRlp2kg1 vF1X4LMmceMnXQQLW6vxhyCFKombDyvFCT/qwGY+TuGEAhm7v2IcK/haLS0APgED/HHK VrFZJc5CQ2cqLZugVzVKm1zlkYJEwhfYILarw7+l0b3l0O4RDhzkicbJYI6FczvXBjrf ehssThN0VtLJob7sFYRP46vJEUi5Jofx77AozH0TD886sKyBujZunamZVy3lFTiQdMww S39A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id o23-20020a63fb17000000b00573fa4cfe49si7823861pgh.166.2023.09.18.04.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 04:04:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EF5F980A7CD4; Mon, 18 Sep 2023 03:53:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234440AbjIRKw6 (ORCPT + 99 others); Mon, 18 Sep 2023 06:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241208AbjIRKwe (ORCPT ); Mon, 18 Sep 2023 06:52:34 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 52301A1; Mon, 18 Sep 2023 03:52:25 -0700 (PDT) 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 3EFCD1FB; Mon, 18 Sep 2023 03:53:02 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B01713F67D; Mon, 18 Sep 2023 03:52:23 -0700 (PDT) Date: Mon, 18 Sep 2023 11:52:21 +0100 From: Sudeep Holla To: Oza Pawandeep Cc: 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 v7] cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer Message-ID: <20230918105221.msuwbo2deya6rdim@bogus> References: <20230915202511.1452091-1-quic_poza@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230915202511.1452091-1-quic_poza@quicinc.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 18 Sep 2023 03:53:31 -0700 (PDT) On Fri, Sep 15, 2023 at 01:25:11PM -0700, 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. > > The patch fixes the evaluation of cpuidle arch_flags, and moves only to > broadcast timer if core context lost is defined in ACPI LPI. > > Fixes: a36a7fecfe607 ("Add support for Low Power Idle(LPI) states") > Reviewed-by: Sudeep Holla > Signed-off-by: Oza Pawandeep > --- > > Notes: > Will/Catalin: Rafael has acked and he prefers to take it via arm64 tree You need to add the tags received. You have added my review tag but not the Rafael's Acked-by tag. -- Regards, Sudeep