From patchwork Fri May 25 05:40:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136777 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3129762lji; Thu, 24 May 2018 22:40:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoRFfWelH++/GpTBmfnB1B1ourmyqpOuuKMzyFMLq0BzNMH0HASN3JqQXjSRxDgvj7m4fJF X-Received: by 2002:a63:ba56:: with SMTP id l22-v6mr579612pgu.161.1527226854814; Thu, 24 May 2018 22:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527226854; cv=none; d=google.com; s=arc-20160816; b=vGT4nJHZg44sU4OY9mG0HfdbtlJkaewrRsHCe+6Ke4lLeMirHn2+xPqnTY7acf39mL 0k7gCGmjBq60AD1BtFX3me30LTRUJVJ0zU3XTWdL2uXbQX/8lNW2F1WcksdkDeasB2o5 t0cOOAPFmTZjUV2Qa+uNIyRR62hRqTMtC+FBJ0m8t0ebhqsQqAU0e9R4jQhfrDCm+NPm jExHTfvRr0kfV4mJVNBPtvq+bdoiL3JPzvhKzrQYfYKd9qClSnrVyCwIKxWkNjMB0y0h e6orIT4Vl5sff4GNuf7CyAbC4GerzTNhJAb5jQ/jsHkYsgs+ubMOkPSWhgM9lbQgkIAl /HdQ== 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=EY5ErDzTc6jujkgqTPyqlWRwSTcheDMa2bHxN0W1Vbo=; b=IitrkzoKwCZQ7E8dY9/XgGRP+9twstQcYedVU3g8Kfdrez77tX+QQqC733amYtfw3x aT0MyO/d8e9ohT6Fm9le3suBhy8soxIvjdBrdNf4kJus1xexGWTQUbPGXu31KCBJruQM 3O+wuADtIPhGgTEfT6aPcI/8slYqZqupX/CQ9YtnrXfH78W7YHzohbcMNpRdHOLNc425 8DIu7DuS9ZTwx3d5lGPCsh/90ZgBBR0N7G31j3GvpiSA6lRyXwnQWS3AsWxVF1mkVsNe v7UpYhe7xk7yFNnBhiJ63ThRwY3ATQ7VxmQIhon/un5IIMKqpQlGTOT/1j+w22yP43Hk LblQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EwFiUJ4r; 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 y9-v6si23400629pfk.34.2018.05.24.22.40.54; Thu, 24 May 2018 22:40:54 -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=EwFiUJ4r; 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 S964986AbeEYFkw (ORCPT + 30 others); Fri, 25 May 2018 01:40:52 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:39435 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935837AbeEYFkt (ORCPT ); Fri, 25 May 2018 01:40:49 -0400 Received: by mail-pl0-f67.google.com with SMTP id f1-v6so2015694plt.6 for ; Thu, 24 May 2018 22:40:48 -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=EY5ErDzTc6jujkgqTPyqlWRwSTcheDMa2bHxN0W1Vbo=; b=EwFiUJ4rLKrPm0vIyqaGpVP2lBVgzhBpQw0OPfVp1yOkBMb+QIzGcjeyqMH+9EiWEH tK6UxYqPbxbVt5PEvvnuLOzVoCD/XGsO/C+pzJAWVFbpR5nEmrKsSNH3oHwwuyFXs9RY zXqqIxL45pEfLaPJuBRi9AVbvgX/S4VzhZXJA= 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=EY5ErDzTc6jujkgqTPyqlWRwSTcheDMa2bHxN0W1Vbo=; b=qKXiLyWmYJ/f13yOvWQr4ic46IlZRphmOn0yuJgUKrSOAd5MsaDKc14sKzs30NfyI2 ZjQ2SKANs+sJ0VFJezTsiFTAqYghRx35wqeUX9fgwNbE5BnAt2a0FR+vcP8b9ylKEvk9 +WPU6L7I2qexqNvDhGFIUXC2c/rVmYI5G9/nhF3ElrF8tiwMbcxq5M54nfFiOSZZ/9PQ INSENpAMbq9VYWUP1RWl8sPCnmMp87wzsE92ACVkf15eUSaw9rhFPgCbI6XvpTigjOVP diZH7h1Bjgrx0r4XvLX2hRNCeyycUzjJlXRFR4+H5VZtk0VlVCy+1L6Llzr56sksbe6D Ssdg== X-Gm-Message-State: ALKqPwdvxtzhs2E2RUnYHsYJAEb/e8A1bb0P9fvcyxfjrAZgqsVYlKQH QVktMPdez1i7FJPkEEnQM1UY2Q== X-Received: by 2002:a17:902:6b44:: with SMTP id g4-v6mr1108688plt.390.1527226848492; Thu, 24 May 2018 22:40:48 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id w19-v6sm28253054pgv.59.2018.05.24.22.40.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 22:40:47 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , 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 6/6] arm64: dts: socionext: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 11:10:06 +0530 Message-Id: <744f4c0a9a6f0d3acfc36e49ef62f17f53831b3b.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 --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.15.0.194.g9af6a3dea062 diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 3a5ed789c056..10ffb5019013 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -58,6 +58,7 @@ clocks = <&sys_clk 32>; enable-method = "psci"; operating-points-v2 = <&cluster0_opp>; + #cooling-cells = <2>; }; cpu2: cpu@100 { @@ -77,6 +78,7 @@ clocks = <&sys_clk 33>; enable-method = "psci"; operating-points-v2 = <&cluster1_opp>; + #cooling-cells = <2>; }; };