Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3312224imm; Fri, 25 May 2018 03:36:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpG5rU3l+j251E9uPnvF2rB68svbNGe4MzoSPagzYnjAnLgszhYdSF40o1m59LILrZUBBkW X-Received: by 2002:a63:7f1b:: with SMTP id a27-v6mr670211pgd.410.1527244601261; Fri, 25 May 2018 03:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244601; cv=none; d=google.com; s=arc-20160816; b=IkCC5m3C19z0bHRPmPxcqnpWradtjKJKH2ghFeAKnuW3CZun0frzryaI3P79kzkfIS 4wtPV0l7XU6ric0x5sCtqd3FVHhXbS8WvM48OvsqWg4FD9vhTKb11hGIoUESh8mjQc/s foJ8nK0eduZFVgOhunz+gTeWejbAacxJo5gSwFt2VJuJBWTzhT/hn+ihUMqc9pcfFLNn mtaLiRvCvDLPJMyy9QIfXTK16njzUv9U/zvtJ3N4SXT745gh6+cLJZMD+64S3g1vuM1h UPt9c0fjWQLXw/IIAJ3tGLftesBOcgIqMn2GQ0O2wxaluu/TY1/FgvEGzmSLSp5EAU1E KRXQ== 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=V+CJBX3KvWHKeo7l89z3xy06DLgg/62TOHOYsyOLhig=; b=zSNfTeK8wWuMGO1mpSh3wvmwl2KTnVwYg5SFMBfKOhaXTlemdcyPM7o81XhNH49eI6 cXgvhqfzSPKNlnZk8Jfgi1N9oqcJH9nRpUJGU/mak+pCaerGA1dVvChdynj/RgsSXu4E lDeN31oJ3FQT5FsjH1dvw2NmYuGO8R3DH2tPJGylapyMWIk+PVesfAvCRyD3TGlf4EWZ +BgWlYNUAdX46WnisTSQNmnRxE1200gVVFNNwDcX27oHncDaWZBFt7tFcChPVt/kRHNY cgzby/5juoeH1rixTuYOORui1sRibtaP8e5sJXlyx2iNHZysULO57fE9EQIR6CE5NjEH VgYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LBWCsEkh; 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 d10-v6si19068663pgu.626.2018.05.25.03.36.26; Fri, 25 May 2018 03:36:41 -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=LBWCsEkh; 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 S966136AbeEYKcd (ORCPT + 99 others); Fri, 25 May 2018 06:32:33 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:41918 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966081AbeEYKcb (ORCPT ); Fri, 25 May 2018 06:32:31 -0400 Received: by mail-pg0-f65.google.com with SMTP id d14-v6so2128775pgv.8 for ; Fri, 25 May 2018 03:32:31 -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=V+CJBX3KvWHKeo7l89z3xy06DLgg/62TOHOYsyOLhig=; b=LBWCsEkhxbL761KunTXV8L+9aOXdSXQW/KJXjM1eHHahJJhxrVK/f4Vja8k6EnWmMA E/8lNwhg1NbxJN/Tr+mL4kPRtKAR2J8qC4+ZgGKKCnKseClQgwBvhsae5wcnhSAkpjXw neyjDknxvLP48K9P+Y6/6VmJP/hjJpU0y4rQ0= 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=V+CJBX3KvWHKeo7l89z3xy06DLgg/62TOHOYsyOLhig=; b=HQqKdbryDKp/w2WtmPBcEvRQd5hE29+lCzgTaolpXHFf/eCtZ06OZ4TOVl0tkMecjW +42ngJdb8m/8sEtfpepVlvkSdVzvDLd+BADFNN8ATMIGRx+u59LtoXgwy14T8xhpFhQJ GTlZMfSLSCwc4p1IG47LCgiemi8WgkFn5HUE5XNZbgTqStLWrjGaN9Vdlgo8pW1+esjb JkP8zOT0xQmpzz/z+YQbArpG3n2qgJslJxYZTD6KnNKGvgxkZUIhOClaP8YxFIxJmzQe oJ6UPauZvqiPkVNgYiIbRO964X4nz7m+sipDpnjlzSiP3i1fmi4Xo6YFDTy3hX5ts+ds hNHw== X-Gm-Message-State: ALKqPwcJOAd9uehKYvx83nOnnGH93AsJ0TsTjDHjhOojOqNTjAbJAZw6 bMflpipuhNjTjo6FuuxthGhRZQ== X-Received: by 2002:a65:5b4d:: with SMTP id y13-v6mr1559879pgr.152.1527244350682; Fri, 25 May 2018 03:32:30 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id y24-v6sm42160948pfn.23.2018.05.25.03.32.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:30 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Heiko Stuebner , Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/15] arm: dts: rk322x: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:50 +0530 Message-Id: <406021e33d541ca0318a6b15687084ca19fdd943.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/rk322x.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index be80e9a2c9af..ef414e39bf3a 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -80,6 +80,7 @@ reg = <0xf01>; resets = <&cru SRST_CORE1>; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; /* min followed by max */ enable-method = "psci"; }; @@ -89,6 +90,7 @@ reg = <0xf02>; resets = <&cru SRST_CORE2>; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; /* min followed by max */ enable-method = "psci"; }; @@ -98,6 +100,7 @@ reg = <0xf03>; resets = <&cru SRST_CORE3>; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; /* min followed by max */ enable-method = "psci"; }; }; -- 2.15.0.194.g9af6a3dea062