Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3081583imm; Thu, 24 May 2018 22:43:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqVKYpX6ymFAWXPSM3hxTKj5puO9l6enRFnNk7cdx5gimH1jdBEh/xfVD58AFr1+xZhWdhR X-Received: by 2002:a62:d388:: with SMTP id z8-v6mr348954pfk.8.1527227017059; Thu, 24 May 2018 22:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527227017; cv=none; d=google.com; s=arc-20160816; b=P+Ljj8n/2bnGmlAkFAUeg0HBjMnzXEmJgtfLdAPhjotw1P2mcDUZZWeLT6agBKs/PS 43k3/oGw1+1UIk+MO+bSsHwfjLUqeHSY9h1M6Ml/RWgzLRV09fIii513+5T7hNFQ/9pz AbD1X+6SsXKKN2T1M8zeevaDJbvWRzg0vz2og0mqDh15iVbzuHQ17eIEEOEZooGjey6+ Jea7A4s1JD9J1oFdnZhNGuJS9jWjTfKF9VUMFwG6tp2zgRsQmmvdLezF6VSjfHnc2hpf 4lT0vS/R/+id7GhUkPeSVs3dQayKBJM3K0JBoyhh+5DvY4eS7E/2nXLucpIB1nZuzReJ A9dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=hwQRPtJwELRwroK0mLEyLQwzDYQ+FdBcWbYH3k/0iwE=; b=O/1mCEP1bsVHt74WLzsQQpEwNndPZnoslHfkKFGsGHlz7M7hOTcZ9sMIoPrj0+5dmx rYNyU/KX77D9912y7eFFvjyefm+kdSsFwpqGuWc6RPoio2RmlyflvQKWmQkH/uG4LGtK gY5pU1nRCQB3uSMv65OAOe6gIcwD6ucj3br/ARitr2n7ehvqE0APh7JMjrKBPGM4T7cg Q/tZpavH1BjUEmZZRH9uZywB6jLHeJIz4OOSTsyE9d14c8lXW9Hcp71ep7QHzCWHq82n 1onE2zzzbHmzDLe3nGGXkf458F/Nk0FjHxOsDy2yuTylDGreXllCFA+2MwHwazG9Tsnh e48Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L131riTA; 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 69-v6si17943352pgc.64.2018.05.24.22.43.22; Thu, 24 May 2018 22:43: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=L131riTA; 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 S964847AbeEYFkf (ORCPT + 99 others); Fri, 25 May 2018 01:40:35 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34870 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935791AbeEYFkc (ORCPT ); Fri, 25 May 2018 01:40:32 -0400 Received: by mail-pg0-f66.google.com with SMTP id 15-v6so1482712pge.2 for ; Thu, 24 May 2018 22:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=hwQRPtJwELRwroK0mLEyLQwzDYQ+FdBcWbYH3k/0iwE=; b=L131riTAvGlxh6kRudcMUbDo0gN5ZzDZ0PY3rEdTl4WxOsI65ciTTWhiTWBhwJUHXh ghOAyIsQX7n/CY5p4hxkjafqG8AzRU6A/0bQgVbpTM1C6F8plmIbdMUdbQtlThmaujQA BZZOtpqXbT9jbgyk96pAq8KR3xplJIUBjPXak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=hwQRPtJwELRwroK0mLEyLQwzDYQ+FdBcWbYH3k/0iwE=; b=ultZi3ZlVEhRWPl+zD5NzstZ7DEf7GV4uYOEYI6OrP4dy/xqiY4GBH7yJ0H/fKe/jv CLT0B+qCPivUbGxm4mAAi4NQEj+56gksAz2nJ7EbhCrFbxGCfwREOx57f5ml0VW0CkBf R1k2Ipi1CItYIxSdszqd4LTIhQq5jONMFVjKgxOzG/x7uXcqyIUkh2Q6+eD5f8+c9Uoc +XLONLZ7ffHbyjHliMz1eykPSFRu8D4yDJxUs/K5zGfZUXV0O9JNu/EHV7YujSDDuPee glePziAGBGsU4zIr/+kpMiUokF1gMBUXBeWzMo6Gp0ocxBakvb+Qg5tNch8iUYmsbaRA q29A== X-Gm-Message-State: ALKqPweZKntnlvHHvclvoAqMJKHctXcQGXotu+kUMVE8YjMMfM54HB3h S76du0e9NKa39xwP6uauWH1tPg== X-Received: by 2002:a63:be01:: with SMTP id l1-v6mr856138pgf.382.1527226832186; Thu, 24 May 2018 22:40:32 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id e10-v6sm44738785pfb.136.2018.05.24.22.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 22:40:31 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Carlo Caione , Kevin Hilman Cc: Viresh Kumar , 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: [PATCH 1/6] arm64: dts: amlogic: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 11:10:01 +0530 Message-Id: <2a2eb28da9fecf129f6bc0ab3d3748d9f4d25a29.1527225682.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Viresh Kumar --- .../boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 0868da476e41..313f88f8759e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -209,10 +209,34 @@ #cooling-cells = <2>; }; +&cpu1 { + #cooling-cells = <2>; +}; + +&cpu2 { + #cooling-cells = <2>; +}; + +&cpu3 { + #cooling-cells = <2>; +}; + &cpu4 { #cooling-cells = <2>; }; +&cpu5 { + #cooling-cells = <2>; +}; + +&cpu6 { + #cooling-cells = <2>; +}; + +&cpu7 { + #cooling-cells = <2>; +}; + ðmac { pinctrl-0 = <ð_pins>; pinctrl-names = "default"; -- 2.15.0.194.g9af6a3dea062