Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1655088imu; Sun, 18 Nov 2018 06:17:11 -0800 (PST) X-Google-Smtp-Source: AJdET5dHE/iipxxZsPO73+X1vfcs5APR1kE2Gudr23IPGfU40gPqJaP+ubIo+RGgy75DCXwbxnJq X-Received: by 2002:a63:e749:: with SMTP id j9-v6mr16421365pgk.246.1542550631483; Sun, 18 Nov 2018 06:17:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542550631; cv=none; d=google.com; s=arc-20160816; b=P7pd3hczRgrx1lMlvfKkV/Jx033LucOhYJlSXljNnAJ5mME5A4fi28NIU4i4VB41e6 CYJEklQCXp/Af3E2qI/xK+0e4Ama+PpNYJl6S2A4XXLHD4CzitkuBFBZjYcSgaLhln+Y +ardUEaF/Go96FfnuAax5bjGBdzmmdvP/Wx5PR07tgk0NmKPMSsW2ExQ/bboNlulAEjF cMqeFcbU2mn4qCZnpjAYL8TfNXB3T6dE3HDRTb0nBBMDlfQKuWv9uSBMZVeyQ7hDr80d x87Y+WJx1Ty5x4NSH9abSfA8n6E8fIp4o67ZfrtcXjl1vyPmuDCdiQNRD6R9nunETtJn 52pA== 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=5bRVe+1GEIGf7nDBCtz6axaOwURXCLzOsmmDEdvyxCU=; b=bRDNVJIqZ4mh2aoadlmSc75bZTapmr7dJwSxaQM66HOY8AIBbfSNs/4NzgiJDFMfnu b+kXwzLyTr97jATF9QvhDiTAys+jRYfqreRBDbwHWB1fFXu2KJsRb5S/tWFwzXNt6F/g +ouT8RPjiQK6TQOdZtTkgIRyoruD42RauhwApwSNBsbSegtNb6/ZI7XVXjoXu1L+8gEH JNoK5mggZZIiN0G+21p+AVokKmtwSkYUBTjOU3GzbjNuZUquPmZ2D2jrI2bjogeRkOIM wmK7t7/QeqSwLfRcpeRgTvf+di/DgNDqv2JWh40v0/1xvjiOonds/2l8D3669SQ4vTDM 30RA== 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; dmarc=fail (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 j188-v6si9922979pfb.149.2018.11.18.06.16.56; Sun, 18 Nov 2018 06:17:11 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727487AbeKSAf0 (ORCPT + 99 others); Sun, 18 Nov 2018 19:35:26 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51921 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbeKSAf0 (ORCPT ); Sun, 18 Nov 2018 19:35:26 -0500 Received: by mail-wm1-f65.google.com with SMTP id w7-v6so2809475wmc.1; Sun, 18 Nov 2018 06:14:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5bRVe+1GEIGf7nDBCtz6axaOwURXCLzOsmmDEdvyxCU=; b=IftUGWEdPpRwBMmOvFR+Zh6S8sa44HpsH3IBU2IIE/fWbKrZRE+sSTMUeYneA/DXcl PsKADmwUyKYZK08qtYF/pBIqxBcCR59JDc4rphaaM/j7DGAd6A4zMGi/m1TA2Nofx4Ea ydJTfD5ALs0apF+KuBE/LRm8xQdhlg3t7MRSmtt0LU8PyaZvPSLarUOKTA6Ehp4AJK9O W6LTaPtViDGV4TyGZ5Zys8V/aMBwfboVY52ejZezVUPkQrTUHW4pgVAn+pfJyIrZ1Ysq JWOvoO8renBthq9QtHcxvrK86jQophayAwYH6chLHDP52NoK0/fL0vRVhSR2gip5IgJh RuuA== X-Gm-Message-State: AGRZ1gIpjWdNp+x2MnBP1viGpzLMJEygnt+kjUcehHR/9s6+5l8VAkao 1NK8hTerjXDFEyz0BifAWck= X-Received: by 2002:a1c:3e84:: with SMTP id l126-v6mr4147459wma.57.1542550498572; Sun, 18 Nov 2018 06:14:58 -0800 (PST) Received: from kozik-lap ([178.38.103.27]) by smtp.googlemail.com with ESMTPSA id m65sm4566376wmb.4.2018.11.18.06.14.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Nov 2018 06:14:57 -0800 (PST) Date: Sun, 18 Nov 2018 15:14:55 +0100 From: Krzysztof Kozlowski To: Viresh Kumar Cc: Mark Rutland , Rob Herring , Kukjin Kim , devicetree@vger.kernel.org, Vincent Guittot , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] ARM: dts: exynos: Add all CPUs in cooling maps Message-ID: <20181118141455.GA11419@kozik-lap> References: <24d8433f544046eda4d21e8c7133e3bab770b615.1542362000.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <24d8433f544046eda4d21e8c7133e3bab770b615.1542362000.git.viresh.kumar@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) 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 03:31:10PM +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. > > 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 > --- > arch/arm/boot/dts/exynos3250-artik5.dtsi | 6 +- > arch/arm/boot/dts/exynos3250-monk.dts | 6 +- > arch/arm/boot/dts/exynos3250-rinato.dts | 6 +- > arch/arm/boot/dts/exynos4210-trats.dts | 4 +- > arch/arm/boot/dts/exynos4210.dtsi | 2 +- > .../boot/dts/exynos4412-itop-scp-core.dtsi | 8 +- > arch/arm/boot/dts/exynos4412-midas.dtsi | 8 +- > .../boot/dts/exynos4412-odroid-common.dtsi | 8 +- > arch/arm/boot/dts/exynos4412-odroidu3.dts | 17 ++- > arch/arm/boot/dts/exynos4412.dtsi | 6 +- > arch/arm/boot/dts/exynos5250.dtsi | 7 +- > arch/arm/boot/dts/exynos5422-odroidhc1.dts | 106 +++++++++++------- > .../boot/dts/exynos5422-odroidxu3-common.dtsi | 106 +++++++++++------- Thanks, applied. Best regards, Krzysztof