Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3309282imm; Fri, 25 May 2018 03:33:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrKSpTJdxEqLOR9sAYYNC0Wvt4BkCNxr+K9eQpMkq5U8daM8IiZLX6a3kLhEw01yXJrpS0S X-Received: by 2002:a17:902:268:: with SMTP id 95-v6mr2045094plc.386.1527244392288; Fri, 25 May 2018 03:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244392; cv=none; d=google.com; s=arc-20160816; b=MkEwOb4W8Fu2NNkI2GqKMFfuVKhTBE8U28YfkbqDm6mK0Rwd8pfoImnd7HXFR7Z0KB oGMUEoa/o8nnUwFPsDKEOKN2zzKp2FTGxnR2xuV1QO4hLJOxzZUWafOj34zTCoOOMxV9 4Q6c00QjWTIDf+PTfwMr5HTErN6m7YJHBYehVP5jYq1meYGbPxnlj0wZW/OODsH/tdk9 1uKcEpjQFrBsVwEDaq76dH3dv/uZjYB6bayY6/UPFZ4O05wjsODp7tAMMVHvtdVLkY7H hhUmssIkjEqr90fq/pJlOeqGHH/Sp9UZDxC1hv+AQ2uoTuLzv4/v/IC2xy/LSMT7xZi9 cTzw== 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=zI66TbNVNMgbvGgKA9cbPEASdB0YNQZa2sfpPg3SpIw=; b=EUENn1KmisPcg7l9BAUeAgQDy9m7/l5RNDkCE1Io+sFFV0yWVUps3ROtVDVxhwC+Av eQWdyqFwIO2CkwIfJWWeAuTbag220dGqV2Xd3khOVgCadc2eCK5WTNribdx6n5k3+EuK bEY5ieNxVFvFdplboymfwL9EgK/esPn6G21yn3gMsuquf+1yed795/cUFigi5CoYZp17 DWSSWn93iJo7iU0JXQx3Ql6su1kTGOpQnysPskMk4/KHIHeiIdTX0aPx/2ux834sXp/m aDe8LlDUETQiOgR55THYnda9MUvi6Gj4JSlG3K1t/Juj1RwWHlRld0LeTBL3yi0gjF79 Vm5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EVRp+c/Q; 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 o9-v6si23979517pfk.276.2018.05.25.03.32.57; Fri, 25 May 2018 03:33:12 -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=EVRp+c/Q; 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 S966062AbeEYKc3 (ORCPT + 99 others); Fri, 25 May 2018 06:32:29 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:46193 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965999AbeEYKcZ (ORCPT ); Fri, 25 May 2018 06:32:25 -0400 Received: by mail-pf0-f195.google.com with SMTP id p12-v6so2387961pff.13 for ; Fri, 25 May 2018 03:32:25 -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=zI66TbNVNMgbvGgKA9cbPEASdB0YNQZa2sfpPg3SpIw=; b=EVRp+c/QZCC0EwnyxS9TnmhyxQU+KGHr7UiIgprZXJrDmKqnZffKE/ygH1CnSSWlAr gssw73Tes/bRHDvtHFoUf+ADQYC065fJvu4zC5e1vy5BBdYSEhHElB3gxRU48KKaD8vq wQClyyJwXGJTnu3JeaeP11Edwcl3ImW3KxZjg= 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=zI66TbNVNMgbvGgKA9cbPEASdB0YNQZa2sfpPg3SpIw=; b=Cf7czJC6fjiAgLFoGTliLZkDh8BE/VoNMFpKZjfaFFDwu1a6pb9C5FpTVBHVpTUjbE g930SAFIPZDjcDyaq+HA9WxsDsSKxAcek9VUiVnevcD9rxppfgtfFYVS1qxbrChrP9JD DSir1oz9txUQVushj4gb5oM0HqTWFtGbuzNrQVZuQ9SlY2ylGnrmlnKUSwEU5eWUvl1A x19zvV3W9Jm0ZfCA3JnQvY8UdVtaXduHdzpiV4w4nPdK4VCIReGniC6T9nnwQ1/cMml1 RSi2ArYw6TzHJHKn389bIkWX4RDu/WXJIoxzgpWddmnzTLi8jCQkaFguO8DNAJqb73w+ uV7Q== X-Gm-Message-State: ALKqPwctdfj2TlCK2F2O/aUPkJfVDWv5EK3npAqJqZHX5N/DNC3+T7zu NLPyzNuBJi4cJPFCUKtzUsZKvg== X-Received: by 2002:a62:6795:: with SMTP id t21-v6mr1625648pfj.204.1527244345044; Fri, 25 May 2018 03:32:25 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id p71-v6sm58518066pfl.170.2018.05.25.03.32.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:24 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/15] arm: dts: ls1021a: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:48 +0530 Message-Id: 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 --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c55d479971cc..f18490548c78 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -84,6 +84,7 @@ device_type = "cpu"; reg = <0xf01>; clocks = <&clockgen 1 0>; + #cooling-cells = <2>; }; }; -- 2.15.0.194.g9af6a3dea062