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 X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9EFDC388F7 for ; Fri, 13 Nov 2020 14:13:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8ED9122226 for ; Fri, 13 Nov 2020 14:13:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TI79ocw8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8ED9122226 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=dNEu7vAXofWW6P7fMx2JLbDnK5k7NvnQShHAbQ7oIxQ=; b=TI79ocw8W5GsvND0Dg5C0MObp xb2aa7QvK0tW2QnCwcpxDyS+Qp8NE6C3XJZ8Z1W7h1zdfgAT/QNVW5NaA/3GH7mFMJ38F7gmimLP7 UdFUT5kEciPXE6DNIdohh3suFB2fqIakjCIhqaIKTTOCluxZP/1T+v+1iUz0P6vqj7isD6xrO7Glr aa+O+oWtR+5BATLxwJS35vhIzxyOx3C+oLo5cPg/pzhspy0ntIH+I64gCveEYPrUUBq1vbt7EwDl6 NBTATIx7kp/C764/xpWoGkRaINxbB7Qv8EdEzIlm/MKwohc/Hhb9aO4uKPnWkvhl1AAzNlqyOsmfB 50mQ1vIiQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZo0-0004AH-T9; Fri, 13 Nov 2020 14:12:00 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdZny-00049l-Kn for linux-arm-kernel@lists.infradead.org; Fri, 13 Nov 2020 14:11:59 +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 09123142F; Fri, 13 Nov 2020 06:11:56 -0800 (PST) Received: from bogus (unknown [10.57.15.107]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 298863F6CF; Fri, 13 Nov 2020 06:11:53 -0800 (PST) Date: Fri, 13 Nov 2020 14:11:51 +0000 From: Sudeep Holla To: Ionela Voinescu Subject: Re: [PATCH v4 1/3] arm64: wrap and generalise counter read functions Message-ID: <20201113141151.wyc6yk2lopp4ldxn@bogus> References: <20201106125334.21570-1-ionela.voinescu@arm.com> <20201106125334.21570-2-ionela.voinescu@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201106125334.21570-2-ionela.voinescu@arm.com> User-Agent: NeoMutt/20171215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_091158_738473_43009DE4 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, will@kernel.org, morten.rasmussen@arm.com, linux-arm-kernel@lists.infradead.org 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 Fri, Nov 06, 2020 at 12:53:32PM +0000, Ionela Voinescu wrote: > In preparation for other uses of Activity Monitors (AMU) cycle counters, > place counter read functionality in generic functions that can reused: > read_corecnt() and read_constcnt(). > > As a result, implement update_freq_counters_refs() to replace > init_cpu_freq_invariance_counters() and both initialise and update > the per-cpu reference variables. > Reviewed-by: Sudeep Holla -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel