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 E487BD1AD45 for ; Wed, 16 Oct 2024 20:56:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uyxRtfrttLGBwUI7JhTRu2CDskUXo6e8i6K0857dZoQ=; b=vZ6RAa3TyGxgft+SL8kAGODY4W DFi43lZCsAIQFj5v3+gahLLRcrrUhKrB4Wix5rFWUMVBY4rS71qB7jUx+Prdd9TC1kMQCgSyRafnh kYQAi5yK+YjtsPvf8mHEUK/bShzbCLk3z/vUtD+0HVHvU0b/t2yUTrxHTH6flNbm1HNX1pFt6E8t3 fJF1PxrYlEJ305bGyMvPeE2bN6DkSrjDddN4C2mDCkvyp+qyllnOW7BI8A55/r66nEBhH27s58dvO LsiS0PxpwMqNeptx/AEZ+3DX8oZK/uKMf1ENWATkk1nq0/zzBDVQPIqRgbkaYf0+KmD7PXfuVbwoF Mkul2g7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1B48-0000000D0CZ-0YBo; Wed, 16 Oct 2024 20:56:20 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1B0S-0000000CzqX-1nS8 for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2024 20:52:33 +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 2E9C8FEC; Wed, 16 Oct 2024 13:53:01 -0700 (PDT) Received: from arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D5BB23F528; Wed, 16 Oct 2024 13:52:27 -0700 (PDT) Date: Wed, 16 Oct 2024 22:51:57 +0200 From: Beata Michalska To: Catalin Marinas Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, ionela.voinescu@arm.com, sudeep.holla@arm.com, will@kernel.org, rafael@kernel.org, viresh.kumar@linaro.org, sumitg@nvidia.com, yang@os.amperecomputing.com, vanshikonda@os.amperecomputing.com, lihuisong@huawei.com, zhanjie9@hisilicon.com Subject: Re: [PATCH v7 0/4] Add support for AArch64 AMUv1-based average freq Message-ID: References: <20240913132944.1880703-1-beata.michalska@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_135232_538613_E23DC0FF X-CRM114-Status: GOOD ( 21.57 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 16, 2024 at 11:59:25AM +0100, Catalin Marinas wrote: Hi Catalin, > Hi Beata, > > On Fri, Sep 13, 2024 at 02:29:40PM +0100, Beata Michalska wrote: > > This series adds support for obtaining an average CPU frequency based on > > a hardware provided feedback. The average frequency is being exposed via > > dedicated yet optional cpufreq sysfs attribute - cpuinfo_avg_freq. > > The architecture specific bits are being provided for AArch64, caching on > > existing implementation for FIE and AMUv1 support: the frequency scale > > factor, updated on each sched tick, serving as a base for retrieving > > the frequency for a given CPU, representing an average frequency > > reported between the ticks. > > > > The changes have been rather lightly (due to some limitations) tested on > > an FVP model. Note that some small discrepancies have been observed while > > testing (on the model) and this is currently being investigated, though it > > should not have any significant impact on the overall results. > > > > Note that [PATCH 2/4] arm64: amu: Delay allocating cpumask for AMU FIE support > > can be merged independently. > > What's the plan with the rest of the patches? Are you going to respin? > The first patch would need an ack from Rafael or Viresh if we are to > merge them via the arm64 tree. > I am still waiting on any feedback on [PATCH 1/4] - changes to cpufreq, as that one drives the changes in arch specific bits. There is also an ongoing discussion on how to handle idle cpu cases - so I would say we still need to agree on few details. --- BR Beata > Thanks. > > -- > Catalin