Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3380417imm; Tue, 29 May 2018 06:21:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqcLOLQhNB1ey2RCRTGlSkLrKz89E+UA0866buuFEg+yLUNizW/lqYLCEb7vkSPjoqNuH48 X-Received: by 2002:a63:7905:: with SMTP id u5-v6mr13769648pgc.411.1527600083328; Tue, 29 May 2018 06:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527600083; cv=none; d=google.com; s=arc-20160816; b=NbVpsImSk3QFVbajSzrR3lfTSSsb4uukK/DumqwjjAt7jPCaCMhO7P/IYI86C0I+6Q ZtVOU8kCp8YUEQALN/pr1gvWtfN61FXMl2a2uEqmWvqzCGmLtusGu3wQI47HBiT5RlWu 2OweszQVHLSwvOt1+oWhV/4nnWyjjYeF9NGLIQbBUQV2V1R0Z01iy2qcSC4xZk7FEJwk ADMEb5QhVWMQf4hJCI9c6AUI2GVRO/Ap9SW+3OGguejn2yOW4Q4CVWH4Byw3f4sAxLym yWZS6dHa4PfYyPnpiej6IcDUXX/g9yD7YBTqTuOxoKT5NoXyH3m0tjh2twwrDqlgCT5I P9vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=G0E3JbNXBhh9Tzi2I+AQzA17LwOmrfaMLDBok4mmRWI=; b=fhwrv+GiX0ApjqXhjJI26UDXknK9YNZn24YwwH8iIt7uF4n2/2HtKU4rz59qHXkDBN PIeeWC762zQoN7e+tJwmtV2hyvIGFJEEyWH9B3NVje5evemDNRrl5cGJtU/uY832SZ6H VNCaYXQ4xesVrQQv1efCgEU09lhSZYGCJ/JXCKgzlq9VXuHQo4jwBVPF6yo6b3Vj+1sD Gd5CjxexTZPicBwBOKhTUT9JtuZ0xt2U4xwQ1+b3q0SYKT5y9GEaDeGFdc7abANoAtSx cJmdJdHT57+gBs3pANyJXj+rYQBPGCGSNqP34K/Tj8lq4GaDJE10RnGkHlyFWNp5DsR+ CLRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1z38UAHi; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t195-v6si25393260pgc.481.2018.05.29.06.20.38; Tue, 29 May 2018 06:21:23 -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=@kernel.org header.s=default header.b=1z38UAHi; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934790AbeE2NS4 (ORCPT + 99 others); Tue, 29 May 2018 09:18:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:48994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933982AbeE2NSs (ORCPT ); Tue, 29 May 2018 09:18:48 -0400 Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F116020880; Tue, 29 May 2018 13:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527599928; bh=PSfBWBhs7PVCJMowrdUrqwnL97kyVKyZnhcxuG0RSU4=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=1z38UAHii621rX2WLfQSa1O5AFnvVp31rvBKxv1ZHAgpSIKluEm4rwNV8Q/7YhEdZ Qv0IFThXj99909hEzoqlvagrtMp/DSYNyYFMzXbT7QeX+/9mNo47yb5iuCeBNvEmeq wrUsHdyvC86GvnnhyQ8pi0rnaoJFys1Qnly9GSfg= Received: by mail-wm0-f49.google.com with SMTP id o78-v6so40632441wmg.0; Tue, 29 May 2018 06:18:47 -0700 (PDT) X-Gm-Message-State: ALKqPwcmLV7Kgw5Bjsuy9SAqp2rW35QngsdQl0ejfVJVhq4knyFYIqS6 NFd5m2Dak1kg6UrriBRuJ8Ra7lmX81TzhUWCl7Y= X-Received: by 2002:a1c:ce:: with SMTP id 197-v6mr10408030wma.118.1527599926504; Tue, 29 May 2018 06:18:46 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9166:0:0:0:0:0 with HTTP; Tue, 29 May 2018 06:18:45 -0700 (PDT) In-Reply-To: References: From: Krzysztof Kozlowski Date: Tue, 29 May 2018 15:18:45 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 07/15] arm: dts: exynos: Add missing cooling device properties for CPUs To: Viresh Kumar Cc: arm@kernel.org, Rob Herring , Mark Rutland , Kukjin Kim , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 25, 2018 at 12:31 PM, Viresh Kumar wrote: > 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. Thanks for the patch. In case of Exynos, the booting CPU always has these information in DT and the booting CPU cannot be changed (chosen by firmware/hardware configuration). Therefore there is no real risk of falling although for correctness of DT your change makes sense. It is too late for this cycle for me so I'll pick it up after merge window. Alternatively, arm-soc guys can pick it up directly with my tag: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof > 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. > > Fix other missing properties (clocks, OPP, clock latency) as well to > make it all work. > > Signed-off-by: Viresh Kumar > --- > arch/arm/boot/dts/exynos3250.dtsi | 16 ++++++++++++++++ > arch/arm/boot/dts/exynos4210.dtsi | 13 +++++++++++++ > arch/arm/boot/dts/exynos4412.dtsi | 9 +++++++++ > arch/arm/boot/dts/exynos5250.dtsi | 23 +++++++++++++++++++++++ > 4 files changed, 61 insertions(+) >