Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2492946imm; Mon, 24 Sep 2018 05:25:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV6164kxQgGYuRUkaruIV3qjoO0qQT8UqAwseRcDQAAQ20hr5nvzHs5z7Z+n1e9eclwlHEOsM X-Received: by 2002:a17:902:7009:: with SMTP id y9-v6mr6742623plk.328.1537791943989; Mon, 24 Sep 2018 05:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537791943; cv=none; d=google.com; s=arc-20160816; b=WnIQW/aTFsN961Yv7vt30o6dWCpWsJNs8kPe4IovDRrOJHWQl+0Shk4XK03VJuwbGX tDl/iTsdTepYZWM6hxMny2Odl06hR22mwOMc2nlBErNgKCnFF+/DO6znQoTJuR5LwYDQ ccfftsUSLNiYpczt79c7YzvxsyGZsz9KVuhrdEobpAOEvWi5MGVcwlS7rrzwd95+nBQT LdI/Iy7HVPDCd8LHejE1vuxxM0HT7ej2Vl/KdjMDkWDbS+mPMcPWQEiarkmCOSATREHD gSOizRYSqkDl+cKDPbODPoR4gzG0ReW7Yedp19lFjVTEJSV6D0SZDj5B4BbXcVqVxdHR y5CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=shhw6SmwfskEV9FS0kjoYqoRX/Wq4owDO86VYFcrDAY=; b=N8szGzOTzwRAougBAQj/cEKcL9KWD/M/6R6scKZ7SdYEJgiFDV3Q+uu6UpsQRGMxw6 sGWUPmf9peUDqZaYstKMJRmX6+A699dzVGeWXlnl2n0KPz007iFneyDtdrVuErM7BIDQ YbiuWpk6d7aoL2dpqGYD93VWI9glyTsT1G1LF/miNlrkH+E9RlDdcMFWYRd7lWSdnYAJ 3RKdylm/aq/DYm4G/bDdBAp7I5ybTVb9jBtdWczZ6x/CbDNX97E1NEoDM+kCwr3nMDmK E0o29+Xokhy/gYrzpGm5Mu/lLtVqHp0Zn1ukjSR9neLmfQ/Rwph4NscvRsqvrniXkFZE 9aOQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z61-v6si11853320plb.227.2018.09.24.05.25.28; Mon, 24 Sep 2018 05:25:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732799AbeIXS0V (ORCPT + 99 others); Mon, 24 Sep 2018 14:26:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56798 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732146AbeIXS0U (ORCPT ); Mon, 24 Sep 2018 14:26:20 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9B0231094; Mon, 24 Sep 2018 12:24:27 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Viresh Kumar , Masahiro Yamada , Sasha Levin Subject: [PATCH 4.14 109/173] arm64: dts: uniphier: Add missing cooling device properties for CPUs Date: Mon, 24 Sep 2018 13:52:23 +0200 Message-Id: <20180924113124.071226616@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113114.334025954@linuxfoundation.org> References: <20180924113114.334025954@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Viresh Kumar [ Upstream commit af0e09d0c6762e486b0eb5cc4737396964c34fad ] 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 Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -55,6 +55,7 @@ clocks = <&sys_clk 32>; enable-method = "psci"; operating-points-v2 = <&cluster0_opp>; + #cooling-cells = <2>; }; cpu2: cpu@100 { @@ -73,6 +74,7 @@ clocks = <&sys_clk 33>; enable-method = "psci"; operating-points-v2 = <&cluster1_opp>; + #cooling-cells = <2>; }; };