From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752096AbdKVK7a (ORCPT ); Wed, 22 Nov 2017 05:59:30 -0500 Received: from foss.arm.com ([217.140.101.70]:50456 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751863AbdKVK72 (ORCPT ); Wed, 22 Nov 2017 05:59:28 -0500 Cc: Javi Merino , Sudeep Holla , Vincent Guittot , Lukasz Luba , Daniel Lezcano , Ionela Voinescu , Punit Agrawal , "Rafael J. Wysocki" , Viresh Kumar , "Rafael J. Wysocki" , Amit Daniel Kachhap , Zhang Rui , Steven Rostedt , Ingo Molnar , Linux PM , Lukasz Luba , Linux Kernel Mailing List Subject: Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff To: Eduardo Valentin References: <20171116152058.GR3257@vireshk-i7> <2810372.fJ2vMN0cWO@aspire.rjw.lan> <20171116234422.GA6141@localhost.localdomain> <878tf5tbfj.fsf@e105922-lin.cambridge.arm.com> <35d3751d-f28d-38c2-02b2-c9980f11c52e@arm.com> <5A144CB3.50806@gmail.com> <20171121165703.GA2499@localhost.localdomain> <20171121180006.GA26638@localhost> <20171121181222.GA4075@localhost.localdomain> From: Sudeep Holla Organization: ARM Message-ID: Date: Wed, 22 Nov 2017 10:59:21 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171121181222.GA4075@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (sorry for chiming in quite late) On 21/11/17 18:12, Eduardo Valentin wrote: > On Tue, Nov 21, 2017 at 06:00:07PM +0000, Javi Merino wrote: >> Hi, >> >> On Tue, Nov 21, 2017 at 08:57:06AM -0800, Eduardo Valentin wrote: >> [...] >> >> In a nutshell, mainline does not want platform specific code, but we >> haven't figured out how to calculate static power without platform >> specific code.> > To, that is still fine to have it as a callback, as long as you have at > least one user! I still do not understand why Juno static power cannot > go as platform code that register the callback to implement the static > power model. > 1. It was proved not so useful(anyone can prove otherwise ?) 2. I am told static power is negligible compared to dynamic power with new fab processes. 3. It's very hard to even test IPA on Juno as it doesn't reach the required critical temperature easily. So as Juno platform maintainer I want a test case to test regression before we merge anything. IMO, if the $subject code is expected to be used on Juno, then my answer is no if one can't test it reliably and also prove that static power really matters on Juno. So far, I have heard both the above is not possible. So please delete the code if Juno is the only user in short and mid term. We can get the code back if we find any users in longer term. -- Regards, Sudeep