Received: by 10.192.165.156 with SMTP id m28csp546465imm; Mon, 16 Apr 2018 05:00:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+zwI7uwNDfJq3chM0QO4sx9+sW59ir0gt+IxaxmoGQ3bP/J8+FNP0Cb5bnJd6RPTvOLmVF X-Received: by 2002:a17:902:8b89:: with SMTP id ay9-v6mr2972370plb.100.1523880058528; Mon, 16 Apr 2018 05:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523880058; cv=none; d=google.com; s=arc-20160816; b=psnhzEpJgOdMSE4b7OGkGmjJn8syzjv1sinvWNXIxfLfHNt+JgcgKW0U+ds+p29jf1 d1unJ6Yih1Mm1KW2iZNFLawCJ7823OAiRCC4t8f7G31UW2Y2V8tz6MNH83fGbSKOU7iU grWfQWQI/xIt/HLyDstzYSuTRrtF56mq/OqHXr4/8fmxsH6nNklmbPdUUj0191BAgvq3 IFiivbTtbrvo97XZOFAFdzLCDPNrkcSr5qQXRhShS1zp/JzbX7Os+kSqcoAy/6BGCsW7 mrW3HLhu3yjh5w9TTo4e2N+KwEWUhpXHmAPteB5UktIKBGwoC1J13mR+afTMJefMaWUx l5bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=0i9v6YFy2LB64fnAZEvDZqeT8JMKbkbBxzDPY7wIO98=; b=KYooRlgdCtBxopdIwEZVupwfzZxGu5M4Jt+yJhjILBBxH6+RhOdaXGNFCR1B2WJmAk aPd+EBy1uQ83n2jCU42XVlx5IcZFMj9oQKc1deWNuYLkg+QJbN/PhjeEZupofM/xEzbx 9lR0dwKG1p1Y57sGmqtYHrY5/LQh82O7hkS1VRHrwoRFdrRTRWhmQXKCdwVUJ/JSGyxU iAycZA+LFj8xvHjhVdKsM+zsLKXspYnCBL4n+WwJ76STtdMt9Yhq/kmlF7Q04pEztvW9 CiTISj0FYebGWEt2rBHgBPaZ0ZBNz+/w3baitMtR+JamXeh9RHLt8Ig1FIRKodR9eUEY +lww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bphjM1un; 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 e13si3099935pgt.185.2018.04.16.05.00.41; Mon, 16 Apr 2018 05:00:58 -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=bphjM1un; 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 S1754818AbeDPJpn (ORCPT + 99 others); Mon, 16 Apr 2018 05:45:43 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:41455 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803AbeDPJpk (ORCPT ); Mon, 16 Apr 2018 05:45:40 -0400 Received: by mail-wr0-f194.google.com with SMTP id v24so7036901wra.8 for ; Mon, 16 Apr 2018 02:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0i9v6YFy2LB64fnAZEvDZqeT8JMKbkbBxzDPY7wIO98=; b=bphjM1unZz7oHcTPyZTWpoLOUfllyRjCzpAfAWYxmj8JOXJ3SMJkj38XWTY0GEzL4W GtcVGcpuCeikKM01y8JlU3MBEfxSwIsQSee47fUKVvjnjcsxjTnsZI5mvN49UgB4/iCc WfX9iaD30WWyk3w9LHLUnkPfCUZsISn9nQPaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0i9v6YFy2LB64fnAZEvDZqeT8JMKbkbBxzDPY7wIO98=; b=kLAJc0fbpMt20m1j/Cf4jQzwn1gybMH/PHWI0062214WIikRBSBOW+kxRiReF4q8WJ yZv+qEiOr9lbQIRizfUJ44Svj1rPOBhh91f7UekMp5Htaybd76GsaZQERKYJUUItwrbQ du5sBVvvl4teJf+TzymeElw+xWpvHkgE5sKnrlReF2QR/YanHbnTxTZAFWG57Fex1L7x V4xv3u1+sIJ1bF+8HxKsU9/4sU4dgB9TnQVYPk3NXrIXIcor0RSlf8iEO9pKMV8Fs/Se 2NkT+LV6eUdrt0dwgNtklaCVtt2woUuynFjEQ7lDpGo+Zaz4KpI23kDyHdA52DGPuIJ7 RlyA== X-Gm-Message-State: ALQs6tD9VmkxoakjNg+xvPCYE08HXrMfV355sC6EaoJnmQAm50fgTSX5 GcEa0d5eIL015h1Y4ghHjNx7eQ== X-Received: by 10.80.150.4 with SMTP id y4mr24312664eda.114.1523871939435; Mon, 16 Apr 2018 02:45:39 -0700 (PDT) Received: from [10.1.192.61] (nat-wifi.sssup.it. [193.205.81.22]) by smtp.googlemail.com with ESMTPSA id d18sm7473883edb.68.2018.04.16.02.45.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 02:45:38 -0700 (PDT) Subject: Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver To: Viresh Kumar 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 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> From: Daniel Lezcano Message-ID: <4abf0d97-d2b8-46ab-3c05-4a11510ac3fe@linaro.org> Date: Mon, 16 Apr 2018 11:45:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180416093747.GB4244@vireshk-i7> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/04/2018 11:37, Viresh Kumar wrote: > On 16-04-18, 09:44, Daniel Lezcano wrote: >> Because we rely on the number to identify the cluster and flag it >> 'processed'. The number itself is not important. > > It is, because you are creating multiple groups (like cpufreq > policies) right now based on cluster id. Which will be zero for all > the CPUs. So in a big little system we will have two cpufreq cooling > devices and one cpuidle cooling device. Can you elaborate a bit ? I'm not sure to get the point. BTW, Am I asked to change my code to stick to something which is not merged ? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog