Received: by 10.223.164.202 with SMTP id h10csp348806wrb; Fri, 17 Nov 2017 01:30:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMZIX6Zv3SGS+JsLwWI6mmNPL7oOnyogu7VY0obvZysZ9cXtPJiamakXqKxn18pe0VyeIP9d X-Received: by 10.99.186.70 with SMTP id l6mr4450705pgu.253.1510911045725; Fri, 17 Nov 2017 01:30:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510911045; cv=none; d=google.com; s=arc-20160816; b=i+nBMPPe2VuIlgSkSH5iFU10seMxwB5dW6URFJh9DSWXpSHBWhH6ZKMQptmKZvMyEq Hz4UTv82OW7LyDbYFdvsqufVlNsn3FrWqOst+CtqInUWgsr3lPM7dIJ+NuKK+VoQEs1p VmtqdvYdnoPz5fK+I5ZS9owgoTqP+WoEWCGJzUwQ8zgVMy14LZka6CmThG8YqjwZB0Er f25hPRAVX/+DyohK22YgtwURkeJEEKyaK3UlcFrtkCasQl6DQ6CBLKnOr40YMnchrpY2 FedUbogBHsbZ0n2M7Vp7jN6hbZyYKsWc75XFnH5nhByG/82WQbnPkZMoM0GxFUVv3V6M JpUA== 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:dkim-signature:arc-authentication-results; bh=vGzJKN9tVjYzSEV3d44FfjKH2Uzbq1FuoC5oY/bzi/U=; b=EX56750OYTT7WRgZdExE3eHh0oM9ZZWeuiXFQ0Og+dQqNH0CYzX8Rze/QvPRZN3EWt JkpMtsn9oqcrCEWN/Xcqt95FqeUA16ns+pVHbAklIiXgrwcEH9+wt5jSscv2m/ELrGOR FzOXjuJwzfpYCrQHB4fPmi4RS22iuXVBrpJAW8NZsXdTNZn435GpH+9W4oH/9fnEDcMN +Z2t7Kib+NInLUDjBvlAgPcVpZAVfodYUMiFXJQ8gIjJfPGqxrTApJREKgQA1X5Zj1ma 7LSArIqN0hdsTUXqiLfyQZ+hPkNceEVH8JQIpmING7Lc9+W+90WAxW1bTUi2QknxvyQ8 eODg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MhyBO8Vy; 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 h9si1962029pgr.527.2017.11.17.01.30.32; Fri, 17 Nov 2017 01:30:45 -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=MhyBO8Vy; 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 S1751596AbdKPXoa (ORCPT + 92 others); Thu, 16 Nov 2017 18:44:30 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36561 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbdKPXoY (ORCPT ); Thu, 16 Nov 2017 18:44:24 -0500 Received: by mail-pg0-f65.google.com with SMTP id t10so547155pgo.3; Thu, 16 Nov 2017 15:44:24 -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:in-reply-to:user-agent; bh=vGzJKN9tVjYzSEV3d44FfjKH2Uzbq1FuoC5oY/bzi/U=; b=MhyBO8VyBn1aDQvCeDDxyYYZT9Lg4/dwlTqtyIlrC/ZcPlVTkZI8mU/2ak1J9aDhc9 7CcMyWa6+oIScdYCRV7OyC4LLXOTuUcdeZq2m3p7uCl1T3ixiTBhBz0LMNmNFolCpviG +wntgWfW7STASzmdS8OeKVFdkVkk7h3x9Zfc3Lf9yCZgPcpn85mRZwY8f/gL1RwVrmyf vTfPoi8xP+eTsO29wK1Q7eOenB0XPIXy9IXBsj8WCASZshYXvKUG/BdW2efXkeuwzgAp okmfkL1uZCxfdFm/TuZjiRbWmP0BBAzmcwG+78+XR0wODZwW8OZH9QcDUGUEj627Wxn2 YTHg== 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=vGzJKN9tVjYzSEV3d44FfjKH2Uzbq1FuoC5oY/bzi/U=; b=dcO3V5ELTT3t9vMcJwE/MJr97zFnKyK4L21SQqCH8SXW33r4RT+VyxSH1mpldTJ2hB pMnswtyLcAAd7E90bjAal5DEKyWLiQXMO3pIwrK/7BJDFCjwXH4ZE1Me+6fjZFC36au0 rLhk7d/ty4uArQhIe0CVjcu5YlNdEpKD2w8lCaH01CrsOvj5Wy9EO1hMsHr85x0a6Jfy mBpK4i87aTSFxBaJzoc3G0kJWecqfIrqrkl/A2gfSHWNfnoHu81/c2LqYLYJuZ9F5tpc FDSCvQwNpNrQQBvgblH2GATb8kFL7llMy6LI4qRVIYeK+12xiHHqFRSFcURLTEsD+dr/ ugzg== X-Gm-Message-State: AJaThX7dXDhHU+dA0lV0gX23rxb0jn8FN8vxOLAR6IMvl2MQr3xvvjaF g4RkJhvILuiC6vApp/G+SxQ= X-Received: by 10.101.83.143 with SMTP id x15mr3315872pgq.150.1510875864017; Thu, 16 Nov 2017 15:44:24 -0800 (PST) Received: from localhost.localdomain ([216.64.167.154]) by smtp.gmail.com with ESMTPSA id p12sm3966651pgn.60.2017.11.16.15.44.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 15:44:23 -0800 (PST) Date: Thu, 16 Nov 2017 15:44:24 -0800 From: Eduardo Valentin To: "Rafael J. Wysocki" Cc: Viresh Kumar , Ionela Voinescu , "Rafael J. Wysocki" , Daniel Lezcano , Amit Daniel Kachhap , Javi Merino , Zhang Rui , Steven Rostedt , Ingo Molnar , Linux PM , Vincent Guittot , lukasz.luba@arm.com, Linux Kernel Mailing List , Javi Merino , Punit Agrawal Subject: Re: [PATCH 4/4] cpu_cooling: Drop static-power related stuff Message-ID: <20171116234422.GA6141@localhost.localdomain> References: <65fef2a1-d23f-3de2-bd91-021296c3e2f7@arm.com> <20171116152058.GR3257@vireshk-i7> <2810372.fJ2vMN0cWO@aspire.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2810372.fJ2vMN0cWO@aspire.rjw.lan> 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 Hello, On Fri, Nov 17, 2017 at 12:31:41AM +0100, Rafael J. Wysocki wrote: > On Thursday, November 16, 2017 4:20:58 PM CET Viresh Kumar wrote: > > On 16-11-17, 15:02, Ionela Voinescu wrote: > > > When it was added in lsk 3.18 in what was then a thermal driver for Juno > > > it was believed to have an effect in thermal mitigation, but that was > > > not proven later as to justify posting it upstream, and that is why the > > > code never made it in mainline. Really? Do you have data that can be shared to back up the above statement? Last time I checked, not only in Juno, static power does have a non-negligible contribution. Neglecting static power can essentially make IPA to undershoot in many cases to eventually overshoot. And that is what I recollect from the data that I was presented, even for getting this code reviewed. Just do not recollect to have the link to it. > > > The code added there can be found at: > > > https://git.linaro.org/landing-teams/working/arm/kernel-release.git/tree/drivers/thermal/scpi-thermal.c?h=lsk-3.18-armlt#n247 > > > > > > As for removing this code now, I would not want to make that decision without > > > spending more time to check if it impacts other customer codelines. > > > Maybe this is a matter of Linaro/ARM failing to convince SoC vendors to really publish static power to mainline Linux instead of really having the benefit of modeling it? Even simple models based on temperature ranges would be better than only using dynamic power model. > > > I'll come back with a reply to this in the next couple of days. > > > > Sure, we can wait for few days definitely :) > > While the above certainly is true, it doesn't matter whether or not any > out-of-the-tree code will be affected by removing this from the mainline. > > What matters is *only* whether or not anyone is going to add anything > depending on it to the mainline any time soon. If that's not the case, > the stuff goes away (and may be added back in the future if need be). > > To avoid delaying this indefinitely, let's make a deal as follows. > > Unless anyone with some changes targeted at the mainline and depending on the > code in question shows up before the end of the merge window currently under > way, I will queue up the patches from Viresh for 4.16. Then, there will be > 8 weeks (or more) of time before the 4.16 merge window opens to drop them if > any new material depending on the code removed by them materializes in the > meantime. Sure, as I mentioned before, if we failed to convince SoC manufacturers to provide valid models, makes no sense to keep dead code in the tree, you have my support and you can add my: Acked-by: Eduardo Valentin I am just not convinced that this is really about the static power being negligible for IPA. > > Thanks, > Rafael > From 1584305058452594595@xxx Fri Nov 17 09:30:43 +0000 2017 X-GM-THRID: 1584123420538137355 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread