Received: by 10.192.165.156 with SMTP id m28csp442813imm; Mon, 16 Apr 2018 03:00:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4919gnhCwjj2zvciOnzzJbX71x76+f///qxTEN/HvEg6tY8BYCLJf10jfU9vs4FVEmH7NGz X-Received: by 2002:a17:902:51ee:: with SMTP id y101-v6mr14413582plh.359.1523872841005; Mon, 16 Apr 2018 03:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523872840; cv=none; d=google.com; s=arc-20160816; b=ZUgqIRAJOr1G57O6vl12NeXP9n6UvpoLW3MYNzUrzKWxaJ9jRoJMXf44Fghu5HQI77 v0JVto6UItvaWSHZU0jxDUKRE0Kt6KapOmELUfEL9LP5o+w+UVjqe5uWNAalN+PBnjMi FkUE38alTCLK1kuOJcjcpanbzKwa/UDOta/VIxMSeqKoAPJtPNd+S0FsKQY6ePpwuq1d xGGQDXwnX0+aFLXdUmoeg28xDji0h7ntySLNu9Qr54iONKYAc6RNzGETz/iSsj6cQ1yH uA7aXoeGYXJjjXGutKIkDiOeDc8BCKhFixparoR/P46IwQtONERzyB5BeiqLrF9Tn0kM f0YA== 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=yuZWmb7djPBoeN+c6lzH7v8xwyn7af3emWpP2grfAmw=; b=CBWAn0O+1KJx+8awbJgtJM9Xs/wB3/NKVz+6DS0Asz0aF4zaK+nO4kR5Jxj7RvSI/x /bjDVlGKSnO3Xlj84Sr6IXOQHMqdtahcwE8lssTWsYIunEJxaFMzugGjghHb9zVtAjDB lYG2/z/UMbBqMeGmLlu9QK8sUjUfyvCs/C2XCBH0ueT9nAuFydz3xLiugQ8sav6/Dmkx /4L/8B174XzHTiM+mCDMEbJ4O6M5iR8JZCrXLkeWmoOOX5afKJBdAHoWQ6DiZV8bFtpY z/6Vq0Y4IfLxfktgum83EM7BDsh2WCiYvM9rDDT4iiycz6g+v96xyi4ZyxhTo7m5nlNt TEsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BLSr47CA; 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 p23si10354587pfj.40.2018.04.16.03.00.25; Mon, 16 Apr 2018 03:00:40 -0700 (PDT) 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=BLSr47CA; 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 S1754580AbeDPJuM (ORCPT + 99 others); Mon, 16 Apr 2018 05:50:12 -0400 Received: from mail-pl0-f51.google.com ([209.85.160.51]:40281 "EHLO mail-pl0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754402AbeDPJuJ (ORCPT ); Mon, 16 Apr 2018 05:50:09 -0400 Received: by mail-pl0-f51.google.com with SMTP id t22-v6so1104809plo.7 for ; Mon, 16 Apr 2018 02:50:09 -0700 (PDT) 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=yuZWmb7djPBoeN+c6lzH7v8xwyn7af3emWpP2grfAmw=; b=BLSr47CACtvvzBP0dpG7G44Z3PJmv0vrrvedZ6vGHmT6oiOaeSXTkKLodQyk/KZkXy c9/h+ka2S9nithUKZH1p7kNAm/bRlbahSoK6p4FxUxJd3vAFaK3N8mCuus6RFn55uWr9 8XyGAGziqxT4pV0dSietSTlezGHaNLwKuSNxI= 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=yuZWmb7djPBoeN+c6lzH7v8xwyn7af3emWpP2grfAmw=; b=fDVffpTcRlZ+JatvkSZEFnLlFLGTswfZh8yQdoH9gCJ/Xmg+TiEQ0gQmZ12b45T4+T qzKWncfQy5N5iU8tzZvmZJ2S/yVihrmJdkIM0ysFFDC7Z3yIBnFQobnT7nJHj2U0hdLB kZmaAbQuYWsZH7N4kSD1IappupTCCJQsxCk/WVAu+i3qL5KMSnMy20cjGDA/4f5E1XnV F6cL3H4FkpbB9p1ThdyKDEvzxv+HOAxpvKANEJ9GXh7kFjJTagluPIqnkzhr4AbXtx3q sKaQjTLwmIhJ9ui2Che3btfMJM1yiB+4sd9q4yHuoHE1mux/tkeqSNMUsrslrxImEfPw S8+g== X-Gm-Message-State: ALQs6tANADYx4n1SBwupvztmHFfyo2dygfCJz05Q/YObiBvMUeGRhS9N /nrokFCzV/RW5qtM7W4ZxrGvRA== X-Received: by 2002:a17:902:b28:: with SMTP id 37-v6mr14583501plq.207.1523872208853; Mon, 16 Apr 2018 02:50:08 -0700 (PDT) Received: from localhost ([122.171.77.91]) by smtp.gmail.com with ESMTPSA id l129sm2177016pgl.89.2018.04.16.02.50.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 02:50:08 -0700 (PDT) Date: Mon, 16 Apr 2018 15:20:06 +0530 From: Viresh Kumar To: Daniel Lezcano Cc: Sudeep Holla , edubezval@gmail.com, kevin.wangtao@linaro.org, leo.yan@linaro.org, vincent.guittot@linaro.org, linux-kernel@vger.kernel.org, javi.merino@kernel.org, rui.zhang@intel.com, daniel.thompson@linaro.org, linux-pm@vger.kernel.org, Amit Daniel Kachhap Subject: Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver Message-ID: <20180416095006.GC4244@vireshk-i7> References: <1522945005-7165-1-git-send-email-daniel.lezcano@linaro.org> <1522945005-7165-7-git-send-email-daniel.lezcano@linaro.org> <3f3b3b7a-3b74-aee2-2fac-f2759babe3f0@arm.com> <939f7943-feec-aaa2-3bd3-59a6618330c0@linaro.org> <20180416073729.GA4244@vireshk-i7> <0a3164f9-4738-e24e-6ed0-2c75024c304c@linaro.org> <20180416093747.GB4244@vireshk-i7> <4abf0d97-d2b8-46ab-3c05-4a11510ac3fe@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4abf0d97-d2b8-46ab-3c05-4a11510ac3fe@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 16-04-18, 11:45, Daniel Lezcano wrote: > Can you elaborate a bit ? I'm not sure to get the point. Sure. With your current code on Hikey960 (big/LITTLE), you end up creating two cooling devices, one for the big cluster and one for small cluster. Which is the right thing to do, as we also have two cpufreq cooling devices. But with the change Sudeep is referring to, the helper you used to get cluster id will return 0 (SoC id) for all the 8 CPUs. So your code will end up creating a single cpuidle cooling device for all the CPUs. Which would be wrong. > BTW, Am I asked to change my code to stick to something which is not > merged ? Sudeep looked pretty confident on how the meaning of this routine is going to change very soon. I will let him respond on what guarantees we have that it will get merged :) -- viresh