Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1367898imm; Tue, 2 Oct 2018 07:11:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV603r4zKITqD0at008ORHhsQR2VAyKt2wzPfh3jFR5dXD9/JYKyArJmfDPW77msCmssIalwj X-Received: by 2002:a62:594f:: with SMTP id n76-v6mr5662926pfb.42.1538489467440; Tue, 02 Oct 2018 07:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538489467; cv=none; d=google.com; s=arc-20160816; b=R7bkO6H418q2ggvw+eyOFZEGTUf/FECCubsXStAOEckn5pExtUK8dTvACeAcWgOPCO iB50RsqKRExSTLpIuvrk66IFN9sItNIM+kb7Bj94+6UuMaxaWKMcnVLfhsrLSnlpRG9e 617x8+pHpvOkI4lz85fXLHVsif+vc0hsOnZmBVdwHc4LUuO/TA+99tV8BYDm/jjO54mG 9VeNj+xvIMgSqByibPHvAYJozrxjvFNu3K/50fT/FueIVO0zarIXJ4poQJwtm/guYSVH g8OiIgZgrWz9Ysp/eh4baokTVmmZ/oxWmbxEZYClKl09J/9oF5pI44rZDNRi3AkkEvyN 8mlA== 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=GYErNIW+Kzwl7OFNXQoXL8jrKK+pHA5GAgHfTkk0URE=; b=uwiy+qabCs6YSQO/DAMopXzDXZO5+kM5n1Xnq3epg2inm81Pv6aDvPrV5YMxaFU9Si arYlaSdTeqFiwgL8JVYYCd9AQUl18V0mZieNiHoGq2iFTGgCiwy4PR4EaPmNaL6lg5jB C5hJMny0uzdk0oo0VXcY1hQUE3ugdCBqsUJtvX0rJ6clkb2SFKKuXULOwAm5xhhCTM3y e5q01S8Loo98aCk3Fs5Q5o2LJtCAjjJeGc0JMNzzYyRHf0Jwz5M09lGesrxGX0avRTBR vtvqn7W2DS084nFVulhjy+9ue/qjcJ3PA75b37P91qEs7aYnQiQDWSU59eh8UfsrJanJ sfNg== 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 f9-v6si15025349pgk.594.2018.10.02.07.10.53; Tue, 02 Oct 2018 07:11:07 -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 S1729559AbeJBUxd (ORCPT + 99 others); Tue, 2 Oct 2018 16:53:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60616 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728901AbeJBULS (ORCPT ); Tue, 2 Oct 2018 16:11:18 -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 9DBF3266; Tue, 2 Oct 2018 13:27:56 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Viresh Kumar , Shawn Guo , Sasha Levin Subject: [PATCH 4.18 044/228] ARM: dts: ls1021a: Add missing cooling device properties for CPUs Date: Tue, 2 Oct 2018 06:22:21 -0700 Message-Id: <20181002132502.147179769@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181002132459.032960735@linuxfoundation.org> References: <20181002132459.032960735@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.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Viresh Kumar [ Upstream commit 47768f372eae030db6fab5225f9504a820d2c07f ] 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: Shawn Guo Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/ls1021a.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -84,6 +84,7 @@ device_type = "cpu"; reg = <0xf01>; clocks = <&clockgen 1 0>; + #cooling-cells = <2>; }; };