Received: by 10.223.176.5 with SMTP id f5csp325803wra; Tue, 6 Feb 2018 23:27:06 -0800 (PST) X-Google-Smtp-Source: AH8x227vquy8zIPNucplbHdsLKprDvdd7DkZsFMdpHF5f5K9YuspEdE95/O+0J8cCGTzdBqh2l0o X-Received: by 10.99.0.139 with SMTP id 133mr4048629pga.267.1517988426803; Tue, 06 Feb 2018 23:27:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517988426; cv=none; d=google.com; s=arc-20160816; b=Pxmr0CsIckvLHscgv6qPk8/COQylG4si8CiDYlplT/QDocj+vWDatkbYCiUQabuslS SygHG11U/hNqpRCfHgyicWnF7E3VOyLJP6WEIJl0v93OX1j/f8H6/CAEMDNF1/OuAwE5 HIGchkgtdWq9k8McwskFFd2/KFFWNQ7AnYDRTuQRNyqS14YMZJpvDgiG28AbQk1OFThP MsEzPg3ntXP04s1k1GyCwlinju+hBgRJM8pHv7j65uwZcNLomHy7Ze0wZcOl2VOmcy7a Y89LhFMFOBafN5oWyVgwJOA8HXEWa9dXif5OkwiXIMKSsvEyCqRXF/4nzWTbHtITsK+n 92PQ== 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=Oi6zlDPCaOsbTaMyUXntR9sXLHBQX3ZVc63pQ1WSnDY=; b=CqRpsPTGE/3XLGApzIPd7Mtq4DTm2l7oJqtM07YhWFqUJh6DY2OwkIxAiWI150o27U Eol70SFNPckpI3qc5UwGNIb+UasTQg1FR3N98FiVF/leXDCspuDOoURCwEA8guj3Jfy4 iasL8WFZgE0H2K7nloXnucHj7P7Qu+1T/u0Bp2C4AEJDromDaA2xT58uWboK1aUeGeQ7 L6u5kG8hK27Ay7Ptu3WUwrvgsFpPaeI2yKO3maiFa91g1pJS2HpR6EEnN/D64/Q51ik5 kwo/v7hfQGmAU8oAFbUQWm2G3zUUUqqMSnt3QPypkuC/MTsN9cmpjZCfMKHV2KA4Awtq +fcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iY+a2uLc; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i77si724693pfd.15.2018.02.06.23.26.52; Tue, 06 Feb 2018 23:27:06 -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=@linaro.org header.s=google header.b=iY+a2uLc; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753409AbeBGH0M (ORCPT + 99 others); Wed, 7 Feb 2018 02:26:12 -0500 Received: from mail-pl0-f41.google.com ([209.85.160.41]:40735 "EHLO mail-pl0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753147AbeBGH0K (ORCPT ); Wed, 7 Feb 2018 02:26:10 -0500 Received: by mail-pl0-f41.google.com with SMTP id g18so2938805plo.7 for ; Tue, 06 Feb 2018 23:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Oi6zlDPCaOsbTaMyUXntR9sXLHBQX3ZVc63pQ1WSnDY=; b=iY+a2uLccoCIZk8WaRGKylG6TP9QDTx81Sd3BxDOcABfmKSPGBabpvQH3VQgFUFeWZ EdwhZR/x/JiF4ScKMgMsyUMtmON/yiKYnpIq/NHmQEMbs6gQKATyFOYHLutKBg9T+tAx 1NgWQ3038ABXDVaFaKGvl8ygyvJ9uQXgiOpkU= 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=Oi6zlDPCaOsbTaMyUXntR9sXLHBQX3ZVc63pQ1WSnDY=; b=F7tyUQYjInAHAM/Dl83IVRfMCm+1W0kA7HGLbTuokkPW4O69bghnQn4lgb51wyH9zn 7Dy7M8k3Qpc0JIBur48lsP5HgMKTgRlUaxxV+vZ/Ajw3FacsvCBMWneRlD/be8WDZB4m nk+2IQLPeP6iwwTqUy7F8YTLN7TM060AGAZCLwHurm+mErVJZfko4Z+uwsVkciK1vixC z9nj3GexjuqSfHr682mg2rrJAEEg8dVnNWZM/ANx+F1orozDjSrdaOOSz6nefvvgkVYc sm8VvypiyQQMilzMxMYwxr0Gg2vylwef9EYESISjtHg7Hgbut+1tPjZkZOvjUH1V2NPc 65yA== X-Gm-Message-State: APf1xPBgmPxoMvlfRo03uf30naYj63Ry1pXFw+IvyY+YbStiqcIi1qOG ZUXX1TXcnDKqFJR6KD8zcH6/LQ== X-Received: by 2002:a17:902:595d:: with SMTP id e29-v6mr5157571plj.436.1517988370279; Tue, 06 Feb 2018 23:26:10 -0800 (PST) Received: from localhost ([122.172.61.199]) by smtp.gmail.com with ESMTPSA id k14sm2394389pfb.15.2018.02.06.23.26.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 23:26:08 -0800 (PST) Date: Wed, 7 Feb 2018 12:56:06 +0530 From: Viresh Kumar To: Daniel Lezcano Cc: edubezval@gmail.com, kevin.wangtao@linaro.org, leo.yan@linaro.org, vincent.guittot@linaro.org, amit.kachhap@gmail.com, linux-kernel@vger.kernel.org, Zhang Rui , Javi Merino , "open list:THERMAL" , daniel.thompson@linaro.org Subject: Re: [PATCH 8/8] thermal/drivers/cpu_cooling: Add the combo cpu cooling device Message-ID: <20180207072606.GO28462@vireshk-i7> References: <1516721671-16360-1-git-send-email-daniel.lezcano@linaro.org> <1516721671-16360-9-git-send-email-daniel.lezcano@linaro.org> <20180202104259.GA28462@vireshk-i7> <8dadd854-25ac-68aa-aa9f-33ba76a137a4@linaro.org> <20180205041734.GD28462@vireshk-i7> <911804cd-2f1d-a1f7-61a2-6c8b95a88d6b@linaro.org> <20180206042853.GI28462@vireshk-i7> <54081703-c48f-3e07-b79d-3a2831bc28d7@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54081703-c48f-3e07-b79d-3a2831bc28d7@linaro.org> 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 On 06-02-18, 11:48, Daniel Lezcano wrote: > On 06/02/2018 05:28, Viresh Kumar wrote: > > Surely we can do one thing at a time if that's the way we choose to do it. > > Easy to say :) > > The current code is to introduce the feature without impacting the DT > bindings in order to keep focused on the thermal mitigation aspect. > > There are still a lot of improvements to do after that. You are > basically asking me to implement the copy-on-write before the memory > management is complete. Perhaps I wasn't clear. What I was trying to say is that we can do "one thing at a time" if we choose to create a "combo device" (the way you proposed). I am not trying to force you to solve all the problems in one go :) > Can you give an example? Or your understanding is incorrect or I missed > the point. So I tried to write it down and realized I was assuming that different cooling-maps can be provided for different cooling strategies (cpufreq/cpuidle) and obviously that's not the case as its per device. Not sure if it would be correct to explore the possibility of doing that. -- viresh