Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp53925imu; Mon, 26 Nov 2018 07:53:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/VXc8SRVTV3yu/ldJSG+aYfwdaLzEYuJzHwRVmnBH18RanHr17kj9yM1SdI5Vm4fZQ0WAzw X-Received: by 2002:a17:902:e201:: with SMTP id ce1-v6mr28442619plb.138.1543247583885; Mon, 26 Nov 2018 07:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543247583; cv=none; d=google.com; s=arc-20160816; b=hnh+mRlfY4kELZK4asU6MKI8UliHh0PsoHMlrtmgH2Sn20BYepyHNToYFMsS2L+kgc hRIoj8xf/JXWCtWh24HNRp2Jw6VNppT29lAN/Gag2hAQdo0N5bTZzlu6NbIsJxK7b6r5 qplO+X2MT0RHVi/Vjw0bt9nJ5LxjNqWYm96gZTBRXpaYWFsfl7KgNcdnl5UTtFl29g9D p2hSv0AWRQXDo0pILSOCWdh5JyTIdJPVdoNuK4azBZV12G5PaIl9IbctCp+HgZvdYnd8 sxXDK7+qoUWdGdZsPLRYTaKHDrC36n/ejxm1iwOirrUY8t7YHoysO2VcR8iYd1Jlh9c4 k3SA== 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 :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=hL+L3u9Fm2Haz7qoi3wTzyMopfmO+fzPMqkMT2tsQ2U=; b=WCJ1ISu/Tm/8gPB4KmBZezA6ElmI85gb1BpHCk7pWrY/gMq8/nysX9AnJI6p7n+IGe qtyNy/DIdh7Mb1HbNt7T3kxH4LNiCDyW3cpTPKfLTg88fHkPx48lU7LT9q+CvA5e+Vpl 4wLZk/2WGksqmXCibvzEzEflxNkzbP2GOefYpKPeYdIJVMaA6ZKYHB1s+WuD6fe9lc6+ jc5FdX1gNFCdDbvSuOMjINBk6k60nVxkW8aqjWx/Isrl4FModr+zeqf0npMXaYfm9GCE 5OkP8nSSntZFK8O6JCKtj289Iy0v6ltUxo/+UBk9mubNg4VIoByNcN3jiIY7TPSizhSH iYBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="gp9r/IxJ"; 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 b34si640565pld.305.2018.11.26.07.52.29; Mon, 26 Nov 2018 07:53:03 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="gp9r/IxJ"; 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 S1727014AbeK0Cot (ORCPT + 99 others); Mon, 26 Nov 2018 21:44:49 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:63658 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbeK0Cot (ORCPT ); Mon, 26 Nov 2018 21:44:49 -0500 Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (authenticated) by conssluserg-01.nifty.com with ESMTP id wAQFo03N009191; Tue, 27 Nov 2018 00:50:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com wAQFo03N009191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1543247401; bh=hL+L3u9Fm2Haz7qoi3wTzyMopfmO+fzPMqkMT2tsQ2U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gp9r/IxJzkf3HeT1FoVi+Bnk5iQEqhEW8d07ziuKfZhVcf+pTue8aLl5V25ABeDsp 5Rm2FOYUCj+eGVl5DifhXuFB8NqAjhzfZj5KVVPvm9R7QtVHfvt9ItnW1UtXlVwRLb zXxu1ipXxkZOkeD++18AAJHt779Z9u/3kGxO9MYmCbQjODah0jIvUZ/GznUpmP46kw bphD1oVPhL12ewA7XtcwKS1uQsscPXJzwscBlsQKO/AXjlklci/kzDO8vq4YNSeOWS 8yGVrSmkeU7FIdCqlFgQV9jgvhycMkfuny6qOZqUuOJy/b1OT6MP12zNfqAJjBFpQd V7bxEq1xQahuw== X-Nifty-SrcIP: [209.85.222.46] Received: by mail-ua1-f46.google.com with SMTP id d19so6445943uaq.11; Mon, 26 Nov 2018 07:50:00 -0800 (PST) X-Gm-Message-State: AA+aEWZjjd9NP9gjVqNB7HUn/H6fOBeKYStSOYiiZS5UCRWt4/Gfqr/V eYxWZii3V6WBUylV6vOjzA3GfCbwnfv3lLiCCSA= X-Received: by 2002:a9f:3f41:: with SMTP id i1mr10874260uaj.42.1543247399696; Mon, 26 Nov 2018 07:49:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Tue, 27 Nov 2018 00:49:23 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/6] ARM: dts: uniphier: Add all CPUs in cooling maps To: Viresh Kumar Cc: Mark Rutland , Rob Herring , DTML , Vincent Guittot , Daniel Lezcano , linux-arm-kernel , Linux Kernel Mailing List 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, Nov 16, 2018 at 7:02 PM 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. > > 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. > > Update cooling maps to include all devices affected by individual trip > points. > > Signed-off-by: Viresh Kumar Applied to linux-uniphier. Thanks. > --- > arch/arm/boot/dts/uniphier-pxs2.dtsi | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi > index 8d20e9548e39..06a049f6edf8 100644 > --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi > +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi > @@ -141,8 +141,10 @@ > cooling-maps { > map { > trip = <&cpu_alert>; > - cooling-device = <&cpu0 > - THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, > + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; > }; > }; > }; > -- > 2.19.1.568.g152ad8e3369a > -- Best Regards Masahiro Yamada