Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3311952imm; Fri, 25 May 2018 03:36:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr8BtbGrRdjlW/3sKhgm7NQsa9hNlTKvX0T0R297V1zVnyQFCsbAhEib+erihxZMopaFHbu X-Received: by 2002:a17:902:6bc7:: with SMTP id m7-v6mr1999432plt.162.1527244581789; Fri, 25 May 2018 03:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244581; cv=none; d=google.com; s=arc-20160816; b=FK4m5JpdzXutkcMvxdDLtseUGop3JxoqEJkLit7PDY4o8EzdIcjDaq9qfvmVHOLfRr IklBWn3vllQlctr9CgnsOshECNt60mtHrqE8xSRdkoO/d+QNIBQ1TKrXMAaQLyUn03OS tEbY07IIxOwFxTqCalSyVC2H3L2sMpxT+ZJ5Rb01mrrA2gelr6PTjG0m81Q2WSBqgLcW KQ8b4vNQCJVImvIV0A8Cua9O/gh/mNDfusXU9gsGIaJPephhGYaDldud497fabhn3edZ qxC255IB9Nvdna+TY5fDQwRcNxPGnFV1kLbD8xp1h8WBXxBGKtz92QddCBY8jFpOFAdt AjYw== 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=GfNvIOQ3ENb5MwJeAgOrPVPiZNlrnbH8fOGyllgETxg=; b=d+SV7ZT2JeIkIMTPESLb+LQDCPdTNoQrgaNJouJRME2ud02tux5ilQy/US/2MIzN5m /aYi2gDgyVkQsOwtXtYvau0Pxrehvz4XDefjWn0L0SfXVtisCIyL8M/1AA4YunPAIZvo SN+M/onYA3bJCMgweuDWUf6DI4UrWNY8MgD4HxBuk8Vst5dnjoJt78lVo0syAGkivPU9 YSGOl3NtDttsbf3/JPGJcCoFmwzZhjy+kJzuRT+VHmwfoNdoMUl5V1DaIqlH4t9DGukz YDBY4rD78FmjzfQllcP9Ycplj9xq2pPL576iIvpYr5gb8Oaqku717zvgYN6RhJrrObrk C/8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GUbOhct5; 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 o1-v6si23047513pld.424.2018.05.25.03.36.07; Fri, 25 May 2018 03:36:21 -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=GUbOhct5; 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 S966199AbeEYKci (ORCPT + 99 others); Fri, 25 May 2018 06:32:38 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:33976 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966151AbeEYKcd (ORCPT ); Fri, 25 May 2018 06:32:33 -0400 Received: by mail-pl0-f68.google.com with SMTP id ay10-v6so2932368plb.1 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=HgN+K5lhhHZ5txoprF+Ba5NnbEGNsiIQbgaX1qEEC3O667v3nDjzJPMy+uX/mNagUM i0WLMPS04zbhPHHUloU8+MrjkM2Ei0iIzpWfKZrfCVeiVm9y2VgunOOXBH/V1BMpJEdd PMr4MdnO/P1nr4tCb4mYb5pNRQUewTNs+obtxTxbBf3dQ2G7qGKlTNRrPkDK/vgNL5Bl pxvyaV7TJBqkTnjRfVFCJy09pu/BOxqsBPGg0o8fE79gNoQqMIV49AhLZmDJHs7M134C wr2q1NLJHbsOSn3ksjYqY4dxg6Uo1kyPeupt2oXYy5/MLHAtOErZVmSCUJgpY76lrZ4i S86A== X-Gm-Message-State: ALKqPwfX93dQnlSId468L5CgMUHZaQB817Iucf02EvRkfpUZiqptgB5s rPuLP4ZvRBUjzNpHS2CE20kwjQ== 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: 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/uniphier-pxs2.dtsi | 3 +++ 1 file changed, 3 insertions(+) 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>; }; }; -- 2.15.0.194.g9af6a3dea062