Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp76578imm; Fri, 25 May 2018 14:37:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr66j1Mme5XHJVsEvILMJ/Ufp/dCAwW37g2WBqSxA9MKMp1pMaIGChSOPTV7Hs0JZBV600r X-Received: by 2002:a17:902:bf0a:: with SMTP id bi10-v6mr4103444plb.235.1527284242054; Fri, 25 May 2018 14:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527284242; cv=none; d=google.com; s=arc-20160816; b=pAoOEPZ8GHw9lOztgMU4Cp/GqoTIQUsk+HRpPffwCHNPRDrPTpN3A7MNfLMNQOJVLu bKec80vLefG0AGEQvaUYFuAImx+4i0VLBO7wT8KDHDKTAHyxlLeJQtoUJbJ0pcPhRCYX FLSbnzq6MDcshCpo08XWRGyvY8HL9sXTeE3MKYp4g+lFPMWlWU3CjM0MMIIss+fV4pdy XOs/jl56pGqHqur4Wp68SCJzIcS9N95We070DlgJ8NmsLJ1R41+YGCJ9ZEsbf3/iggpn gWTbpfNeKKaa8wLVTBnXkU8D93PVQcq8Zc+G3HLQpWHVycDJ8y40J25Filsat/Adj6fR gYnQ== 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=cp3MdjV8Z7pXKXo0V6Ytzc0DGz+wO6i73tqcDNacSHE=; b=dLcw4uvj6TqG+BvkG9YeXzsoqL6V0wnde2p7x6XlfuM8aWEDINV1Qam8ADqzz0gle0 shGYo4mm09YBdla8wtLculcHUu8djMj6NVh6dEYScTtWxsSlMkjxYBxL76TCVFpTukT3 wgI+89Yu22oUPC5+v9FobgRSqGKZ/4fRz4viEtDK5MruKDLSQlSno+8KkvefxGlKoIU6 36t/E5vecO1JfKz4nOcY7Yov9OcLT69q3mdIpvhy2lXmuKlK+aqV5coQg52TUP0Jbj5W P2AaL3SJx3Q+e7tugmTCZDkLXvO7FJqDlQH2R3/RPuev9mDn0O/fPEE/Hm0HdbA2qoCL kkHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=gPkyk5jt; 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 6-v6si3800560pgf.378.2018.05.25.14.37.07; Fri, 25 May 2018 14:37:22 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=gPkyk5jt; 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 S1030403AbeEYVfi (ORCPT + 99 others); Fri, 25 May 2018 17:35:38 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50371 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030260AbeEYVfg (ORCPT ); Fri, 25 May 2018 17:35:36 -0400 Received: by mail-wm0-f67.google.com with SMTP id t11-v6so17733662wmt.0 for ; Fri, 25 May 2018 14:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cp3MdjV8Z7pXKXo0V6Ytzc0DGz+wO6i73tqcDNacSHE=; b=gPkyk5jtBky0HU7T7iTaQS9zOeExryKkFnYbjZF/4LcaUOjZWRIAJTgpS/NjdpXMIb JReJpPfoix70i21pAyMboR8CYZAG2e2hOvMzTYSGnOgggwPht2IZRYxuBuf03R9jomNp TCL2d+D/Zve8UCJ8mo1iYNAIARrbRdPJKcJgYRhZdqdFr0XEJFZwqcJiUfWFUmeVHw0e hdgbABHuEKIJnMPp9wHKnNfSpYXXTtW3sGEPCguxWte0SAuZ2JiIu370ZFJXrMTtFcek S1LicXXlNomzMrcmAyCyNVB8M1qn97jRjfQulkaXZ4+XwHPBOyWB+5bfmTLQf8C94e9y Kmwg== 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=cp3MdjV8Z7pXKXo0V6Ytzc0DGz+wO6i73tqcDNacSHE=; b=TxmTCpJiiZgHd0DXlLC0joEG2Q1QpEWqeHNo4W2aP6vq4BEnT3ecF1nmlysZvL1Ccn NFtzgC1LjfxM1+RWLC/NPm88TTGVXzS0nryDZGKs7bx9vxP7PoBPNu4azsQR9k62er6X fuARVlKlO12O8igG5v13ubQg+yGOuDAWNBVTvv3cJcrFEBK5AHUouFWDnPPm7RNuX7gA 3iYKcgdoM5W/4M9rV4SbpMVNA2yWa+1qx3HbbpVrnYS9PRrqRzFW+2lmpoyySbV7fZh5 Yt9Yq8cx1FFUZxCRF8Fhau+6e0D6tCUTR3BF5QJsPRjIZec6jwkty48GZDJOLMSHIQPW GV/A== X-Gm-Message-State: ALKqPwezzrrFPylnRy8JdCB5KLYtZLeDaAPhRWPbaSC8KU7zzaTaA0/u nuw/WUeyG4xFarkKGo4xf+zz1g== X-Received: by 2002:a2e:404d:: with SMTP id n74-v6mr2645535lja.6.1527284135249; Fri, 25 May 2018 14:35:35 -0700 (PDT) Received: from localhost (h85-30-9-151.cust.se.alltele.net. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id y12-v6sm4592106lji.34.2018.05.25.14.35.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 14:35:33 -0700 (PDT) Date: Fri, 25 May 2018 14:10:25 -0700 From: Olof Johansson To: Viresh Kumar Cc: arm@kernel.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Carlo Caione , Kevin Hilman , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] arm64: dts: amlogic: Add missing cooling device properties for CPUs Message-ID: <20180525211025.c73zdcdtyuvlewng@localhost> References: <2a2eb28da9fecf129f6bc0ab3d3748d9f4d25a29.1527225682.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a2eb28da9fecf129f6bc0ab3d3748d9f4d25a29.1527225682.git.viresh.kumar@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -Olof