From patchwork Fri May 25 10:31:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136826 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3396632lji; Fri, 25 May 2018 03:32:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp+4nv/ujKrcZxlPFnY8VciG3DAJ+4FVv1E1o1YPXWADi1+Q1DmHgWujXednqNt6X34HG8/ X-Received: by 2002:a17:902:ba87:: with SMTP id k7-v6mr2004787pls.193.1527244360145; Fri, 25 May 2018 03:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244360; cv=none; d=google.com; s=arc-20160816; b=WxPlOKGHY/jxdmVQYad1hK+c/8lul9hAeCV0FCgNuXir9/ZZddhfG7aUe1c1YZmkO+ xQdGABsvemZR657DB7I9S5uhTKrv13sI/NGB6Iq73ZY8ntcaL0pAxSjhsF2dRQTxR1Pf MsBW8afGOVdAlNxKUeo+Z6R63FgHhip9rDLLDXvlIhLOWeewfaiEXEmGu+rA89jMUYnm 9UnUR7ZEUe31rtksK6SZl8PItwediaafi2QvGVXM7NQX/+g7BJum0gNTxdApLThUYXxA NdgbqDK1E7wLmAjBCo8jSTK7ogFPE13gmoCz+GEWy/Wdk2JCumE/5C0SW0ELtwwKDvPh RMrA== 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=Ah2gLfcn3NEjf5tg3F6RjteguCp0qfTjScflYPGbcoE=; b=U+VwgTZnoZ1gqTME7QGml0vXerwHRRdoFJSqIVhaGnnE94qKONdv4YSltiTFrejyhj 8qptmUsUr6i9jUAaXgkwFyUBo1AB/LOfyboycmc3WWktxEHMkwGaXovGdNseJhCFB2kw Grti6nHpiedRJa2Ipyv1YKlZXEIruC0y7viGM9H7zCXYuHgImst1k3FBl0RCK9ZQYwEh qfA6N9GYDUgE/SbIHNaJCNdUyNB7x7A0x9iNRZDASsDiJdjE0Cw2qFnZF6cTeLA3kcqf MqhxhkuTftKiB9LA0Cfu+U19MSaGu33080wVhHWos6MIaLzxhx04FQqld6F0DFiyidLm hhbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GUbOhct5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 t19-v6si22708780plo.287.2018.05.25.03.32.39; Fri, 25 May 2018 03:32:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GUbOhct5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966178AbeEYKci (ORCPT + 5 others); Fri, 25 May 2018 06:32:38 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:45812 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966158AbeEYKcd (ORCPT ); Fri, 25 May 2018 06:32:33 -0400 Received: by mail-pl0-f68.google.com with SMTP id bi12-v6so2908884plb.12 for ; Fri, 25 May 2018 03:32:33 -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=GfNvIOQ3ENb5MwJeAgOrPVPiZNlrnbH8fOGyllgETxg=; b=GUbOhct5kIQ+R0I4l0Hrn6nmKnNuIqpXSMQoGQiyiAx5mmO0+p0/0VD6Kyy2xH4ctb hDdGYKhjx3eZgWS2dqgpM1RqfcWAcjbWBdPCVTPv35iEQNWUR5kiKb7fXrT+R3DCH3CY 8tfSzJNAB/IWkwn5SVpQY6Q2RLMD9KaAXRNHU= 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=GfNvIOQ3ENb5MwJeAgOrPVPiZNlrnbH8fOGyllgETxg=; b=lfZCGiYvKVu1fKKu9iAOyu6kXde1iIq0Yxz4uEs9Jv0RE+UMSkzIsY4nKWYv3bA2PX dY2iHBC54t4UA0Q6YBNugrWEG8dffjS7kg8CElLmdP+RuYMPJ3mkJkoLyGXaXpIZRDMr YF1ChYRdMSU35MVKveWmhixuMq3yPoAyXqh+CY1D9Lu9QMlb8Wxh8wdYbGLkMs6MeG+m /fCkDeO2pcUtOihW5bV0rD/du49HvBmzdotodebmBYZN7gmZx33d5w2tErI2/wFKQL5J OZMMvBzhwZDoGnyhcU4pceChDfouMcYSwswwmmvPAFKYDS5oRW3g0ow+szPb0IKk/yG3 xAog== X-Gm-Message-State: ALKqPwe6jozX7DLj2rQfX+TNzsuOVVzOvlCk4YtOv42Fft4yyeSo5xym 22aecRAvzJcAISxg5FnmrlkfnA== X-Received: by 2002:a17:902:52c8:: with SMTP id a66-v6mr1994081pli.131.1527244353350; Fri, 25 May 2018 03:32:33 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id n10-v6sm51881460pfk.145.2018.05.25.03.32.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:32 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland , Masahiro Yamada 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-kernel@vger.kernel.org Subject: [PATCH 05/15] arm: dts: uniphier: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:51 +0530 Message-Id: <51ac4a5f0466aeed3f223663d9c34d6345b2a1f2.1527244201.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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/uniphier-pxs2.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.15.0.194.g9af6a3dea062 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index debcbd15c24b..40ed15465095 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -36,6 +36,7 @@ enable-method = "psci"; next-level-cache = <&l2>; operating-points-v2 = <&cpu_opp>; + #cooling-cells = <2>; }; cpu2: cpu@2 { @@ -46,6 +47,7 @@ enable-method = "psci"; next-level-cache = <&l2>; operating-points-v2 = <&cpu_opp>; + #cooling-cells = <2>; }; cpu3: cpu@3 { @@ -56,6 +58,7 @@ enable-method = "psci"; next-level-cache = <&l2>; operating-points-v2 = <&cpu_opp>; + #cooling-cells = <2>; }; };