Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1346216imm; Tue, 2 Oct 2018 06:53:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV62crPcC1iCUyO5lni5FyqmVvsPnc/TN6BY0/dywqA/ku9mWqCI0HuX3cZLRjtoOa8KC365L X-Received: by 2002:a17:902:a03:: with SMTP id 3-v6mr16945042plo.323.1538488394778; Tue, 02 Oct 2018 06:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538488394; cv=none; d=google.com; s=arc-20160816; b=ds/UfTv68J37xp1vM9xVBH1WNqQtACfTcVUdfrNane90+5iHkMNlX8tGBsi34aBooW 9SE4K2Ci5LMj9NOkD4QYucQWJ5xODKjKD3Fqk+ByLZ6vB2apZSnC4gPnTTKqtaxNqdMx 1nC0K2HfAafN9XRuKIJ6Le7nu+4p5EkEBBmFUneVu6fdHXlN2L76T+M15SVPtQCxjXH8 2auGj9rugeoNntueeh8lbWU2OBBfFEURM8kuEODyzq7By/27qYiyUop8/cWUAWrD2gAk OUGcXL4QGt2jd1OGVcsi6FjMRltWO8X/oGwjV51T44cc8mPjwEbUVbIBpDHvcclUvPVb 3dUA== 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=93r3PPWBys93JdZJYh2ZSQJUYvvmhFOjUZtqhU56yig=; b=SEZ8ZJNxkpyHhJ6e//S1NflH320p4DFDCrEC1vdip9JHTJCcwgPEeVsRabOvFSUOme fHSkfbOYcge77hufZD9+35ikA8CXecTey+KPyAzYUTkC9m1C9P/N3L/oQA8ryKbOzEfo k61Hj2dhHbArI8gtBAoVYZziKvgncZpsMmYzI04luqn7d1MWc5hOgj3NeJvo3BVsJpAl vYTjEgMfnPBUd9V1mNdVvjZ8xdo6lf56K6JUfJu9Rh0N6Xydh6D00PuZtwy8118Ze/AB 2Jds+ovsydCp74XVc5XU3UrYjwEcXZWFGGHXTZxtGeLOqdXB6TCpHsjNXAASgs3wWa0Z 1BQw== 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 x17-v6si15235850pgl.414.2018.10.02.06.53.00; Tue, 02 Oct 2018 06:53:14 -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 S1731749AbeJBUQq (ORCPT + 99 others); Tue, 2 Oct 2018 16:16:46 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34832 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730263AbeJBUQp (ORCPT ); Tue, 2 Oct 2018 16:16:45 -0400 Received: from localhost (24-104-73-23-ip-static.hfc.comcastbusiness.net [24.104.73.23]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8FEB05AA; Tue, 2 Oct 2018 13:33:21 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Viresh Kumar , Matthias Brugger , Sasha Levin Subject: [PATCH 4.14 066/137] arm: dts: mediatek: Add missing cooling device properties for CPUs Date: Tue, 2 Oct 2018 06:24:27 -0700 Message-Id: <20181002132503.212940951@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181002132458.446916963@linuxfoundation.org> References: <20181002132458.446916963@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 0c7f7a5150023f3c6f0b27c4d4940ce3dfaf62cc ] 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: Matthias Brugger Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/mt7623.dtsi | 3 +++ 1 file changed, 3 insertions(+) --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -98,6 +98,7 @@ compatible = "arm,cortex-a7"; reg = <0x1>; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; clock-frequency = <1300000000>; }; @@ -106,6 +107,7 @@ compatible = "arm,cortex-a7"; reg = <0x2>; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; clock-frequency = <1300000000>; }; @@ -114,6 +116,7 @@ compatible = "arm,cortex-a7"; reg = <0x3>; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; clock-frequency = <1300000000>; }; };