Received: by 10.223.164.202 with SMTP id h10csp5457692wrb; Tue, 21 Nov 2017 10:01:47 -0800 (PST) X-Google-Smtp-Source: AGs4zMYsWMBQ1p4pJE96GqVBn0xR1pK5HwvWQ3KU8Ll94eKdM889vGOX0IVcaIAXzHVSRoWVoDKB X-Received: by 10.84.211.79 with SMTP id b73mr18156384pli.116.1511287307779; Tue, 21 Nov 2017 10:01:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511287307; cv=none; d=google.com; s=arc-20160816; b=vewAUKN/k1szy3dfLIjxio54rxjnZhl4sE+GJ7UHywDbtHx06cjzC8/QYUqdWGP26V Ehsymdd9CCFDo1d/QA241If0gzRty6JRq0AIi5In6OLj8IN+coN6c/EGcdJdVSNa8KGT u3QAH7qXfN1DYY4+cC8SOYxuCZmckn+MaNSJ+ppd0Bhdm6JnSKVREfGYEK0qWbPYizLz CdzTjHjvxTjsKayXBTL22zk6C8QcFsIX+I33FAbRQQnPX67lhxn9JivLongRg6E3budR gsCNpVpir1umZa1tg3KlOGRXf6qoQ2S0iOdZxwz47g/qD0Egu448AFi4q0osPJ8vxxuu BU5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=G5GekLMjUt1hEKH1GeRAmAn61qNDc4EFvhez6yBeWJo=; b=ZiIJa3YTFwBNKAQ2/QjOu8TNSouOQs94rKCBd6LIYQgcoGBEr6P/Eu0v2A4Pu7ekPR n/dYZnNMCbVN5iT/M5nt33NCriSxLV1I4H9LhlS/N3LyyoNOKURAnmi42tJ3ulbDD58y ypROblm0gvs1tPgjeez6RktydklOVOdkqAcZ2392xZU8D50mA8qhdPF4C+grELy3409i BUNIcjZZbOMeHfdDamVkIhbtYgzdUMDtUA49NJlEtqqiu9U7ZvZgCL5FTtRthJHZQ9GO mS2CVRrun/7vApE+U3ZRhbBfON+AqnD/0UdVz79+mutk16AAJR6+TDiZaH8JPE57xMM7 e3+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si12828961pfa.207.2017.11.21.10.01.35; Tue, 21 Nov 2017 10:01:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751367AbdKUSAh (ORCPT + 75 others); Tue, 21 Nov 2017 13:00:37 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43865 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbdKUSAf (ORCPT ); Tue, 21 Nov 2017 13:00:35 -0500 Received: by mail-wr0-f196.google.com with SMTP id u40so12084920wrf.10; Tue, 21 Nov 2017 10:00:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=G5GekLMjUt1hEKH1GeRAmAn61qNDc4EFvhez6yBeWJo=; b=UuwNlr3TrnWoOkdzzzgIwqJiMi144jLm461Dc6VCIVLEvfHznXj2u118wHPGFbKoVb TNHW7Q9N/zNciDEX2btLRgyh0gwvNdBHs5h9v5r/8GMFTVSl2Omsh4XnaV/Gb6PFtWEP iLQbG1tb8XZ+poDtbRQAYo8qVp7ldeHRy/SJpy2ku7q9bD8NtGQ8w2XERq8LltvAW9ad 7OAk4ZfX4FBFoLhhbFSFcyRU0GnAhUBRvQfkOm6Svy4WIyMlW+THS+QY3PHIQ+iYgNlK rVOBBt2SwrQKEV53TjpS7uVQslGGFc7K0oSIXLxlW95qbihLYK795bd6AS8jEI5G5lW7 nfgg== X-Gm-Message-State: AJaThX4s5YbdNss47xt+BRmPDGNMyViBlgYtROCnRTQET9j88Se6dnUB Y2RrbtZDwEw5esvZbRoXdg== X-Received: by 10.223.139.73 with SMTP id v9mr16853379wra.77.1511287234252; Tue, 21 Nov 2017 10:00:34 -0800 (PST) Received: from localhost (82-132-213-245.dab.02.net. [82.132.213.245]) by smtp.gmail.com with ESMTPSA id x142sm1486688wme.34.2017.11.21.10.00.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Nov 2017 10:00:32 -0800 (PST) Date: Tue, 21 Nov 2017 18:00:07 +0000 From: Javi Merino To: Eduardo Valentin Cc: 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 Message-ID: <20171121180006.GA26638@localhost> References: <65fef2a1-d23f-3de2-bd91-021296c3e2f7@arm.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171121165703.GA2499@localhost.localdomain> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Nov 21, 2017 at 08:57:06AM -0800, Eduardo Valentin wrote: [snip] > As I said before, the minimal you guys (ARM and Linaro) can do is to at > least upstream the Juno code! as a reference. Come on guys? what is > preventing you to upstream Juno model? As Ionela pointed out earlier in the thread, the cpufreq driver for Juno was not acceptable for mainline because it used platform specific code. When it was converted to cpufreq-dt, the static power was left behind because it can't be represented in device tree. This is because there isn't a function that works for every SoC, different process nodes (among other things) will need different functions. So it can't be just a bunch of coefficients in DT, we need a function. Hence the callback. 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. Cheers, Javi From 1584698958159757706@xxx Tue Nov 21 17:51:35 +0000 2017 X-GM-THRID: 1584123420538137355 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread