Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2825087imu; Mon, 19 Nov 2018 06:42:42 -0800 (PST) X-Google-Smtp-Source: AJdET5fNHd9ePGkmU0DB1XmXLS2mLR+iVr4mI6VUFXWexUHw2hX/EWjJiUK3ZBp6RBJDRu4VJavc X-Received: by 2002:a17:902:680f:: with SMTP id h15mr22315383plk.40.1542638562153; Mon, 19 Nov 2018 06:42:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542638562; cv=none; d=google.com; s=arc-20160816; b=RTJLxYzbLiBtosutcgG3HaJxbUDOujXaqv+EEbbO3vfLq/Z6yvUZhC4USQEYDI5tfW P+iQn5onz0276qFiDzxldIO7uHkA1Qa+0cgBypF1aTraAJmy9HZVhkSSIoSro+0cNe96 oVnzKf1a1TMW73TW0/jqZ5b9GKCziYqKLokwln77fRWH4Ca+WWD8Ao86zXVZoBsiXlcz csWmppU4R/wxL3L5J3CvhEIypf9AtQpJilw+9b80wLqZT+z4y2ilWRZVD6cVt/boNOoD 1BU9vAUcbU7PRcmEjtF8gYBOoeXXwhZvRmJGfjEZH7HdJiFsHR8WIBE1U9oxYNsEt9Od hT7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=085xxxF8esdIJgo41LWOfSHC2yX8oy/g2yAsZRquUW8=; b=aa4iQXdPL0kAa65moNU/TPQAMpdTwq8lOmU1Zar0NqvTI6ch8Am2ylTFlEs8RTr8vg GItH2MogIi3RpfjwzYk4hd+cpEM79r/2rt83LRb4mmqVn4Ft3SKf+ZdaWNBxz1SwYuLG vGsRsLTz25IonXn+y63ldrgpeDrvF2byIQ0BeIBmyitSQ/9xUYbOBGt2HxUFQwQCxyiW uT8HOTYZB/P5BT5mPh5qwXwCes1H3oyIlf19/9fhSMJaIl+sIn9EIzI2QjWOZZb/sVf9 22htiiZ6UobD+F2vARjMcL3aru7HZ89jDXD4ewQg+1Fk5r+gCphOko+NSdVGAbfTgjN/ zCMw== 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 a35si1002004pla.226.2018.11.19.06.42.26; Mon, 19 Nov 2018 06:42:42 -0800 (PST) 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 S1729524AbeKTBDr (ORCPT + 99 others); Mon, 19 Nov 2018 20:03:47 -0500 Received: from mail.bootlin.com ([62.4.15.54]:48855 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727419AbeKTBDr (ORCPT ); Mon, 19 Nov 2018 20:03:47 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 9E7E22074F; Mon, 19 Nov 2018 15:39:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (unknown [185.94.189.187]) by mail.bootlin.com (Postfix) with ESMTPSA id 61DF5207B0; Mon, 19 Nov 2018 15:39:47 +0100 (CET) Date: Mon, 19 Nov 2018 15:39:46 +0100 From: Maxime Ripard To: Viresh Kumar Cc: Mark Rutland , Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, Vincent Guittot , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] ARM: dts: sunxi: Add all CPUs in cooling maps Message-ID: <20181119143946.qqipcb2c34imc2td@flea> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e65cvqpkt4byjzbm" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --e65cvqpkt4byjzbm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 16, 2018 at 03:31:14PM +0530, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of each cluster which is used by the operating systems to > probe the cooling devices. But as soon as this CPU ordering changes and > any other CPU is used to bring up the cooling device, we will start > seeing failures. >=20 > Also the DT is rather incomplete when we list only one CPU in the > cooling maps, as the hardware doesn't have any such limitations. >=20 > Update cooling maps to include all devices affected by individual trip > points. >=20 > Signed-off-by: Viresh Kumar Applied, thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --e65cvqpkt4byjzbm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/LLMgAKCRDj7w1vZxhR xRtJAQDOkaLC6alOxQ7wIVemizO2wVY5u3Qkz+GeMF/6ZrXtRgEA27cm5xkG74Oy 3/4ibMTbAN4sUM/j6HQjOraKu7e+ogE= =p7xv -----END PGP SIGNATURE----- --e65cvqpkt4byjzbm--