Received: by 10.192.165.156 with SMTP id m28csp712796imm; Mon, 16 Apr 2018 07:33:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+t3AR9PKVIuTOnZu69Bhe1VPgk7QWK+vcMwvblYb7ycD6Skgq2L0AmZJ1VSwzpSexntnwd X-Received: by 10.99.147.87 with SMTP id w23mr2168045pgm.200.1523889217496; Mon, 16 Apr 2018 07:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523889217; cv=none; d=google.com; s=arc-20160816; b=VKC3swEXVOm/4NQ7G74IUrn2OkZroGOwDNKTiPH/xgY8f/h8T4niITXc6qMLGHz9WI 3TUhByp8eURdExHih8lbOOQPX/GS2Tz+YBheIagxG2auHjbKJtjlMrnSZ5np+Yi89l65 UU3/zJgIgZwjP0k7XgqgZMZLCDZu0ci5XMWhBy7GyO+HANcO6AFwNWbTaC0XmVmrmr6u EV4iQmDbCYpEKNGBm9nKEqDAXIqZa7s5Ed6Tk+qwpIq3aCiyhaEVbQjXqR8IlI/obsOb iaJEU30znzDxQbH/U1KbguqEk5b+kp6WRsV51yPlxB/zR3SFVv/9uwCp5MkMrQ3/AjqL TIqQ== 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=+i7mB1uKDGKmN1c7ngp4tFzUhgABqRYtDJmg2m/RsIo=; b=rAsOo/PBYnI7RGWNlN6HlrJq6Hfsy2vIM5GfbQP8fi/xK4XRKo1oTjEsfPMYhAf/7w IykhTE3w0moPpaFG+rt3OrdxhTpm2+1ggSZIzjh4j4flyeMBdPsENWsF4zDxNiGBaYWA rNAU9+j6VeCEh8f4hdjKyuDdnQIAQaeLEEHOuQNYVEvukMZTWZWDLa7/A+SWHFDKKX7a YsVyOIaifzAc0ukbbtxpeDfYGRThG6IU1wK1BINrSHPTkFoQL2wT8El8qx1cC7CUwP7V mJyJ6GQ89detmOdf3fwQp5Jz0xD1LoRk+P/AyZJXDYh40bI7QvjjzXAq3pFXB+CMVYad uNuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U7drg1MQ; 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 l12si9424793pgq.691.2018.04.16.07.33.23; Mon, 16 Apr 2018 07:33:37 -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=U7drg1MQ; 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 S1755305AbeDPMKf (ORCPT + 99 others); Mon, 16 Apr 2018 08:10:35 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34062 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755294AbeDPMKd (ORCPT ); Mon, 16 Apr 2018 08:10:33 -0400 Received: by mail-wr0-f194.google.com with SMTP id d19so25322382wre.1 for ; Mon, 16 Apr 2018 05:10:33 -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=+i7mB1uKDGKmN1c7ngp4tFzUhgABqRYtDJmg2m/RsIo=; b=U7drg1MQzweHlW7IFdsudvYZ2xRi40H0/ydp1rBoKYbVzJwgqE9wBH51siTO1Qzhp5 4erzVAQl5LCgzt221HWg0sGJMsiIxUO+KCNmIch/KSzVxVgONpiSuFXut+INW7sII95p sLUUsc8z9o+64dJzq/pOSo+mUbEO87t2lJh+8= 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=+i7mB1uKDGKmN1c7ngp4tFzUhgABqRYtDJmg2m/RsIo=; b=Va76I1lSWHsHDU+oF2lBddOwJB3NTcqTapx34RDgEwu9++7f9qcK5WWccjW/NolW+Z sRP20LLqUdj7D3OKaJZs9W1LDiDGxVLWeJ+UziArpb2PQ92ygI6InFWTznxv2MgNu6mU g6ImL14EYEUPn1Dimr0dDPaoHxGbWwlfcQDN0FyoV9jL9hwhUfAjpCmcJkdMgCXWho1m S6YFpHLHp8n4g24/sQvwZZfVZOc6j7ku+2400+D27TbjcCNa2yB9M/gkXyFJbQblYa0o GnjhEcL9++RW5EbnXIi4Pd5VgXmun1+1q/nwhgizNvOn7CIfnbJRL5Bgrm1nbGwL9bHR hO1Q== X-Gm-Message-State: ALQs6tDOUl+ZBFdbFPCDitxWFf243T6fuUf1KOqaxhGwFq+OvcpCM8t0 oxT71CIQufqnv8lZwuzUn0bm7Q== X-Received: by 10.223.195.205 with SMTP id d13mr10793685wrg.0.1523880632588; Mon, 16 Apr 2018 05:10:32 -0700 (PDT) Received: from [10.1.192.61] (nat-wifi.sssup.it. [193.205.81.22]) by smtp.googlemail.com with ESMTPSA id z72sm446347wmc.28.2018.04.16.05.10.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 05:10:31 -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> <4abf0d97-d2b8-46ab-3c05-4a11510ac3fe@linaro.org> <20180416095006.GC4244@vireshk-i7> <20180416101021.GD4244@vireshk-i7> From: Daniel Lezcano Message-ID: <1c61128a-dea6-b12c-4cd8-ef53a5c8628d@linaro.org> Date: Mon, 16 Apr 2018 14:10:30 +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: <20180416101021.GD4244@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 12:10, Viresh Kumar wrote: > On 16-04-18, 12:03, Daniel Lezcano wrote: >> On 16/04/2018 11:50, Viresh Kumar wrote: >>> 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. >> >> Is the semantic of topology_physical_package_id changing ? > > That's what I understood from his email. > >> I don't >> understand the change Sudeep is referring to. Actually there is no impact with the change Sudeep is referring to. It is for ACPI, we are DT based. Confirmed with Jeremy. So AFAICT, it is not a problem. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog