Received: by 10.223.164.202 with SMTP id h10csp5473929wrb; Tue, 21 Nov 2017 10:14:43 -0800 (PST) X-Google-Smtp-Source: AGs4zMYX79vTS5Qi4XmwzEIHZZdGp0QeXLQEb7EEU/CRL0lzPqj9J+2Vm8SG2brwjUuAUDsqidMh X-Received: by 10.99.179.65 with SMTP id x1mr17693693pgt.336.1511288083425; Tue, 21 Nov 2017 10:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511288083; cv=none; d=google.com; s=arc-20160816; b=jrtMeZtkODBXH25K0djIrksOViE/QUOwPj3sJsEObTECxtD+GOfLMzTvRLYEmhYGqs Gf272VAXIRRKxABpU36mea6oS2pvqwB9RuobYas+8yuZoeIOa/M4bqNxkWZazWc+cS04 PPDsF5xlL9Ocghl4bi+XabfKRX7FMcjQjz4zFXyS4OB2s4eX/H8bg0IAhuXR0afS5j4C 8T3AAeN5poyyc/0lUhCapGT4gv4IFQKvNP973NJb9seWvUqy55ZCTurs9xnuvaWANE/B VfMgjFL+cPC1m2CD0FkLDqxPpHz7+aJt9N5vpOhtcKr2WCsVhKKiUbhknr7DbYorO4rj vaQg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=eaJfRm07si4FUimTTL4noMJ9iJGBJVVxsAhifGLccd4=; b=e1AnPHk20j3srWQXe2agGs6Kjsent58k0xck98WnS49uGfc0vFjG67axt17+BAamfB KfmG1J2v93wdnsxC7SqVkxYNX9VcWoWa2Ghi2V9Gq6MvSPnUItxzf4bnHR2naZbbSRI3 GVHw2gKM3jXaLQo6w7I+7yLhSLI9UCrAk5+HT8W6RSzG9t+mm8PjlvIdYmUmTtj114IV hKTjwcMdyn5hwqb5fXdPF+EMBKPvmi4AR6N/esOqxasXEvSr6fZjzkmSB5hpmwr4KAgL uU2Hj9dj9WXzL008cHtKaveplMXf2ddmpSvIpMRYq3q/g2VINX7cxJaUKv5JSwsufu0q Gdkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tpyUK+e6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x17si11421583plr.426.2017.11.21.10.14.32; Tue, 21 Nov 2017 10:14:43 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tpyUK+e6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751425AbdKUSN5 (ORCPT + 76 others); Tue, 21 Nov 2017 13:13:57 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:41813 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbdKUSNz (ORCPT ); Tue, 21 Nov 2017 13:13:55 -0500 Received: by mail-pf0-f194.google.com with SMTP id j28so10391143pfk.8; Tue, 21 Nov 2017 10:13:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=eaJfRm07si4FUimTTL4noMJ9iJGBJVVxsAhifGLccd4=; b=tpyUK+e6YAF1qjSkUCvrftE8y84VvQx6sWNBSH9Ld+3LscGF+OaAEuZqYLmEVfWgIZ 9FEpN5Yc85USQ+r4oA8GEZnJXf6IR7wcnkSIpSu9T4OC/Ynr8a/HHITD/caTxvk2JTzP 4SVU5YxIJ65GByDmDWghJDFq82vak2GKaPp/S3yOcLx6K1vmqpsfcdwKmbHRJ6N6Fpks zywv7CpuXwcpQ4PWN42zKFYt/LDRSuJwkRYz+gNwFBmXY4cZ7ahtGMP7PqSFDW0jYfqB +UyZ0aKHk/VOrLuU1HIdTJGTVnBWGOViS32+PGxFfVoDnwe62MPlxataNMYefh2++Xum nDBQ== 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:content-transfer-encoding :in-reply-to:user-agent; bh=eaJfRm07si4FUimTTL4noMJ9iJGBJVVxsAhifGLccd4=; b=QNB+sBWALOsZ0jFPUMszas2OcKhS2uR0WktZHzGQHYGVgeES25pWQXZY8C4E6WfkLn ekNAHShwuaTqWBpCd7ahcl9BoKz6d4P0QuMDetBB4PfU484HfTwUZakSEqkr719Jln2m 4KncnnMK+7q1bSlMTTr6tBo7cWlXffhrSVvA6UNHZ3mH2L21lYxkpEYn/ARcbzNYRKko 6PaN5f5ih+WoUdFWTT/ow6x3zIkJ2IYgVSH8Nxb2Fsn9GiSloQ94aJ8AtbVRlYLg8nbK aC95VIFcviV5zUERntiLmQwQ1rCBwNuaHB7ukf2utcwNJNdizbclMrNrrGe7PcsDtofm gkGQ== X-Gm-Message-State: AJaThX696o89hZ2tiQ44XKrMErARYgNziN/+wMvolaJk0DE+nzNIA6kK rBJpn7VCq3329FeVJpv3lkw= X-Received: by 10.84.132.66 with SMTP id 60mr18466393ple.281.1511288035310; Tue, 21 Nov 2017 10:13:55 -0800 (PST) Received: from localhost.localdomain ([2601:644:8201:32e0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id 76sm25951304pfn.179.2017.11.21.10.13.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Nov 2017 10:13:55 -0800 (PST) Date: Tue, 21 Nov 2017 10:13:51 -0800 From: Eduardo Valentin To: Daniel Lezcano Cc: Javi Merino , Vincent Guittot , Lukasz Luba , 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: <20171121181351.GB4075@localhost.localdomain> References: <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> <6cd409ee-c839-09ad-3fa2-5309b0d007f5@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6cd409ee-c839-09ad-3fa2-5309b0d007f5@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 21, 2017 at 07:05:46PM +0100, Daniel Lezcano wrote: > On 21/11/2017 19:00, Javi Merino wrote: > > 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. > > The DT could contain the coef and a compatible string for a specific > polynomial computation callback. I imagine we should not have a lot of > different equations, no ? > Yeah, that would be another way of doing it. If there is no equation that correlates all processes, then we need a vendor specific entry, or a compatible string, as Daniel said. > > > -- > Linaro.org │ Open source software for ARM SoCs > > Follow Linaro: Facebook | > Twitter | > Blog > From 1584700331091537176@xxx Tue Nov 21 18:13:24 +0000 2017 X-GM-THRID: 1584123420538137355 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread