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.5 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 AE1DFC433DF for ; Thu, 6 Aug 2020 13:39: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 A7A0F23110 for ; Thu, 6 Aug 2020 13:39: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="quyLvEIy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A7A0F23110 Authentication-Results: mail.kernel.org; dmarc=none (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=tzpuLqAYgYChpWPZfD8skq7Bg7HoYdQWXhAoJQ9P7cg=; b=quyLvEIyeW+7sKsTKsdifWbx9 o54QpaEehkQO7/htzmf5pEtlQtFQXXMcySN0TabQtMbOH8p6N3KvyqfBC9qJwhhjOGwEuEfP/HEpM CvoCBv3yxFg2O/AC1aj+s7URvfUIkfkO6GDf+TNaufUyznnfX2Yyt6xvrdkLK3VPOmqYnQKmLcnYj uGrfiLJMGp2sU9B3GnZxse9cUfuMpUts45olV4IOopP0rPaNJyHOU2ZVlQeL8wSoHKkJ87wLl1YpO jzATz0HgsKNNXwJ8hNwD9yP8yNSAL3TxB98QCYlARf0VJm0AaF2sIYKjoT8nsRlHtAWTCJ1CN1GpL LosI1BrnQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3g5a-0005ty-Pp; Thu, 06 Aug 2020 13:37:46 +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 1k3g5Y-0005sw-97 for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2020 13:37:45 +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 BE883113E; Thu, 6 Aug 2020 06:37:41 -0700 (PDT) Received: from bogus (unknown [10.37.12.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7A6EA3F7D7; Thu, 6 Aug 2020 06:37:39 -0700 (PDT) Date: Thu, 6 Aug 2020 14:37:31 +0100 From: Sudeep Holla To: Florian Fainelli Subject: Re: [PATCH 0/4] CPUFreq statistics retrieved by drivers Message-ID: <20200806133731.GA4104@bogus> References: <20200729151208.27737-1-lukasz.luba@arm.com> <119ce268-18dc-7a4c-b0b2-3a66ff9ff4b0@arm.com> <20200805130436.3d2g7z2rsdoesuuk@vireshk-mac-ubuntu> <20200805160312.GC4818@bogus> <4962aa3c-2b56-5232-c5d7-286ca1363446@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4962aa3c-2b56-5232-c5d7-286ca1363446@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200806_093744_378426_1F92000B X-CRM114-Status: GOOD ( 17.64 ) 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: linux-pm@vger.kernel.org, Viresh Kumar , rjw@rjwysocki.net, linux-kernel@vger.kernel.org, cristian.marussi@arm.com, Sudeep Holla , Lukasz Luba , 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 Wed, Aug 05, 2020 at 10:33:02AM -0700, Florian Fainelli wrote: > > > On 8/5/2020 9:03 AM, Sudeep Holla wrote: > > On Wed, Aug 05, 2020 at 06:34:36PM +0530, Viresh Kumar wrote: > >> On 05-08-20, 12:04, Lukasz Luba wrote: > >>> I know that Viresh is going to develop patches and improve these > >>> cpufreq stats framework. Maybe he also had this 'aggregation' in mind. > >>> I will leave it him. > >> > >> I am only going to look at cpufreq's view of stats independently from > >> the firmware. > >> > > > > +1, I agree with that. Kernel must avoid any logic to aggregate or > > interpret the data in a generic way. The userspace tools can manage that > > especially if this tend to be platform specific. > > We can probably standardize on how to expose the firmware maintained > statistics such that these tools do not have to widely vary from > platform to platform, right? Ofcourse. I just don't want any logic that interpret/analyse the stats comparing with the in-kernel stats or otherwise. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel