Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3080054imm; Thu, 24 May 2018 22:41:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpZbeTZwFt9BLG4CQeBi5o8UUeeLtyuj6+9lDTIUs4rqeXN+cN4sHyIjhla71XhhicDxXVL X-Received: by 2002:a62:190f:: with SMTP id 15-v6mr1123705pfz.42.1527226885493; Thu, 24 May 2018 22:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527226885; cv=none; d=google.com; s=arc-20160816; b=w0r7z1Qk27VM1e46eZ42UIVN7rkzROKpwx+nf+tCIz6aKT3idjo89FZgMbBhlQvnJb wAPlQsxomKVncNxSncpQpapVnzf4jplI2Hx2vs8QELLMSjxO97iRZyJOSzqwDuySs4NM Uo8U8g2PZfrJ+PjbGff6hR7daT0Hjn3UxhSDFTYtvuif7KV0K10G6gFDUNzHJjF0f0/v 0YGlhMh0FHfSfjvOdQWUndATs4G9xm1FEnt/dR7pBofjQ+kuJ9syWtCZS1fu63qpyq8c /+hx3I9fqIGbMoOdxrzJ0rEOy0XQTp1R004c77G8eNIQSPWW+eicFvX0TJnprgTo71+9 fcOg== 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 j193-v6si2895577pge.371.2018.05.24.22.41.11; Thu, 24 May 2018 22:41:25 -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 S964979AbeEYFkw (ORCPT + 99 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(+) 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>; }; }; -- 2.15.0.194.g9af6a3dea062