Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp386390imm; Sat, 26 May 2018 01:38:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoXEhLT4sMPJnwz/g5+5nJsaqIad26Ff1Jxpw3TyC6AqkqeiI15GCuqETe3zXJNCAiIC3wB X-Received: by 2002:a65:4c4f:: with SMTP id l15-v6mr4493325pgr.61.1527323917340; Sat, 26 May 2018 01:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527323917; cv=none; d=google.com; s=arc-20160816; b=ucv0/h/7bJPYX+AWe7URYoEePmE1cPrXrc8CtPmvVvC1ziXuYxWgpcpmpkrT4VYJKO gHH+lVWBtIr+6ILruHDBpATjtj4L6OV5G7fzAA0k/5W/vLOgxmApv46dHuBPiU7JAi2R SoPIr2k/vgPgJm9X35aZjfPAeCK1Y527LhtaWYIi7MvSNwBME8u615P/qK7sXyKwYP3N 3WY0nbnxYsVFMqQRMXh/GbKKis8bBwcN5rwfrs4QPtQTLdpYVOWv6YdB/tCHtMijMQgJ nWZKUJ6Tb/WwfR0bz0WjzpbAMuF1/UhLBKVf1bGhUmYnHv7iHU+5BnCf9x5VoGSXmauT DxAg== 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:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature:arc-authentication-results; bh=Ml/2V3e3eeZkYuczAhzsYl05HId61YSrpj6WwBUldIQ=; b=iIewbijtYQHtXI03ZIkbAxPPD5wgdMiZMaR9sFpEqsJjA0NhyIdSNrZUzFBgT1CF3J P3BKCX0mn4jBrkoXD+S/bM57+mfSAWWjc9okSNoX03naHGq7Mdsb5UR5sspR3nU4QIYs WE3MgB+uMN9qLAEOn1wlredh4m7GwwnIPG0IuIc+cb3hVYBg1PnOGbq2gbv325GNa0AE HiHTXDUORl83LdteT4l59/cDvAqOStXeEqV5hNOxWKNUTGyx6e0q4CkQNOaS/hHxGNhr GS18mTdZy76J/BM3G4TWSuQ77mCN5g+f0M3W8pWjKxcSmjJ10TgVXtG+fv/vwxnwbORz O3dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qaLpGP8U; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12-v6si9819350pgc.523.2018.05.26.01.38.09; Sat, 26 May 2018 01:38: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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qaLpGP8U; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031353AbeEZIh4 (ORCPT + 99 others); Sat, 26 May 2018 04:37:56 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:50403 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031299AbeEZIhw (ORCPT ); Sat, 26 May 2018 04:37:52 -0400 Received: by mail-wm0-f68.google.com with SMTP id t11-v6so19942635wmt.0 for ; Sat, 26 May 2018 01:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Ml/2V3e3eeZkYuczAhzsYl05HId61YSrpj6WwBUldIQ=; b=qaLpGP8UJXN9qnaa+XeDf59tEgkyPsWkFjW1Ye+7T1jS3Il42rNKcBJwdnavToL2qa XEiq4WQz2AhL//alkKFDiSfrwGB/9u3hqsOfXGuQAa+frcOE3BasQSYBxQfIoBRugyW9 N8t8YFya/cs4vJvxHg/CVOTRTBDjKCaD8aab2wQdR/h+zWXv3HXNbn2eNr0dd2gR+SKB /ZRPv1AqkD42wMpT5R+YozY+KnRPzA0S1UBt94+NkZOub3N7ktOIj8bMdjaOrx/FdY5j ecroF2FDHU8ttPthRb8slaJ+7i1CpP11UFin8q6rGaVk0EMAx80ltffWU4QMTrAgsSIt eoIg== 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:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Ml/2V3e3eeZkYuczAhzsYl05HId61YSrpj6WwBUldIQ=; b=EFUcCuAFHk/Pm+ZKEWYXZwlDIa49gIWS+xZmq5co4HE7GbDltkY5FA72/bUJzAaVP9 ppbocwuFxHNN8kQcbrzPSVGFAiHqMaU5dhKSg/sbuZuUbdv8hRCYoLO/B/NtNG5PH0Gb AFYDxEmmQST3WnlRdkDcm9a4vyTmQJD8DG2k6ALn/OevvLSsVfydD4PaVXd3mFGpJwDs 21oUjRW15KoR7gnxJGypEKX54r7t7cgEKmZI4bjBqAg+q+2roBYFfT8+7G0yKHCcMvZ8 V1EwKsptxAtVzcalnyPUCwLPmawkypGAuf2IjoY6C78Dt72ilfZ0BTph5X8L0C9BYQ5y PTGA== X-Gm-Message-State: ALKqPwd8x3lVV6pJJLDgiPQpO8lNCcevICgy2BDrYHV3kNcKqsiniZAR +Grc7+3pm8Wub5zs9eSELD4vaA== X-Received: by 2002:a7b:c011:: with SMTP id c17-v6mr4323677wmb.78.1527323870779; Sat, 26 May 2018 01:37:50 -0700 (PDT) Received: from ?IPv6:2a01:cb1d:4ce:ea00:5056:734d:cf4e:d22f? ([2a01:cb1d:4ce:ea00:5056:734d:cf4e:d22f]) by smtp.gmail.com with ESMTPSA id 5-v6sm14143961wre.41.2018.05.26.01.37.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 May 2018 01:37:50 -0700 (PDT) Subject: Re: [PATCH 1/6] arm64: dts: amlogic: Add missing cooling device properties for CPUs To: Olof Johansson , Viresh Kumar Cc: Mark Rutland , devicetree@vger.kernel.org, Vincent Guittot , Catalin Marinas , Daniel Lezcano , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , arm@kernel.org, Kevin Hilman , Carlo Caione , chris.redpath@arm.com, linux-amlogic@lists.infradead.org, ionela.voinescu@arm.com, linux-arm-kernel@lists.infradead.org References: <2a2eb28da9fecf129f6bc0ab3d3748d9f4d25a29.1527225682.git.viresh.kumar@linaro.org> <20180525211025.c73zdcdtyuvlewng@localhost> From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkB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WefRHI5XTTQbM0WUIBIcGmq38+OgUsMYu4NzLu7uZF Acmp6h8g Organization: Baylibre Message-ID: <9f9cc086-6069-afbc-d3c6-46608ff35b79@baylibre.com> Date: Sat, 26 May 2018 10:37:49 +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: <20180525211025.c73zdcdtyuvlewng@localhost> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 25/05/2018 23:10, Olof Johansson wrote: > On Fri, May 25, 2018 at 11:10:01AM +0530, Viresh Kumar wrote: >> The cooling device properties, like "#cooling-cells" and >> "dynamic-power-coefficient", should either be present for all the CPUs >> of a cluster or none. If these are present only for a subset of CPUs of >> a cluster then things will start falling apart as soon as the CPUs are >> brought online in a different order. For example, this will happen >> because the operating system looks for such properties in the CPU node >> it is trying to bring up, so that it can register a cooling device. >> >> Add such missing properties. > > This seems awkward compared to just having one cooling-cells in the /cpus node > instead. > > What's it used for? I don't see any properties in the device nodes on meson-gxm > that have any cooling-foo cells in them? So why should #cooling-cells be > needed? There is no reason to have the cooling-cells on these other CPUs, the DVFS is controlled on the first CPU of each cluster, here cpu0 and cpu4 and only cpu0 and cpu4 are used as cooling-cells. Neil > > > -Olof > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >