From patchwork Fri May 25 05:40:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 10426379 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 577706025B for ; Fri, 25 May 2018 05:49:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 476EB294DB for ; Fri, 25 May 2018 05:49:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C13E294E7; Fri, 25 May 2018 05:49:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7F48294DB for ; Fri, 25 May 2018 05:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=8N7iUFxth11UlaGHwXq2NHgCP+Sn/gsKz8pq4puqJyA=; b=giGHgHEyHc4ZnyEqdYZnx9TNSG 5PXuvw0f2o7grQaji1Am4vOH7UVzSJmNe6G0zbBzRSTblBn2R26+5ERgX5xUpgoFyZMv6wYKisRiW ZntXnVcRWIP1V6sQd30oLq7diAt/v8x1RQUQ9UYELf22tYwn77D6TntLmDkB87fc8+Y/e/VcU0W39 w3H4yJIo2TeuUx8/LIHWT9l/Dd8I6ZshGS62E1W46jWr4R46Kpd87PGRj3XsXUtgfG3U6XT0uMVvo Xou/RCziON1DjZU2Tqy0eB/zHU3mc/zSjLhek9FFDLlEjES0c2BjE71ar+tHwyyIKxa/Hjzhf/OUi vnhknOPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM5bR-0003Tn-IR; Fri, 25 May 2018 05:49:25 +0000 Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM5TA-0007KP-6v for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 05:41:10 +0000 Received: by mail-pl0-x244.google.com with SMTP id 30-v6so2452233pld.13 for ; Thu, 24 May 2018 22:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=EY5ErDzTc6jujkgqTPyqlWRwSTcheDMa2bHxN0W1Vbo=; b=EwFiUJ4rLKrPm0vIyqaGpVP2lBVgzhBpQw0OPfVp1yOkBMb+QIzGcjeyqMH+9EiWEH tK6UxYqPbxbVt5PEvvnuLOzVoCD/XGsO/C+pzJAWVFbpR5nEmrKsSNH3oHwwuyFXs9RY zXqqIxL45pEfLaPJuBRi9AVbvgX/S4VzhZXJA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=EY5ErDzTc6jujkgqTPyqlWRwSTcheDMa2bHxN0W1Vbo=; b=FQc/w6ETeBipY69eOH9sGLxNCVl7/AAPDohZVLPQg9pjAvwUvSXv/eGBO39paoSNNE Qq70FUaPwLOyqLK/UkyKt4Jzx8YCGZzEX11MXfxfgqiVTluEt1SBm2UXgvs2Qd0u2HiF 3/NAcuubcaNIdi4lw9ZKkZVUY8dQjejXzCmT8YqFI/L/f8W70paJB7tZzlkdTEdM9fMe NSDJMzdwGbSsTD8/qgiNBLGZo4mL4ZXp8IgMgNBGRySgf7mUjBPoOVNZgcmQJVIitibz qkehwyS6dLb60xts22fZFE+R1Zan8ZzaPmlMwu4lzAE3CB7d6eV1bIR2pWnddDDbh65y ny/w== X-Gm-Message-State: ALKqPwf1dFz5g7ObrM7pSP1ZUyWm995Sa15XugpLOD9rtqeOkAKJHDat 3+pvUh+EzBcA7aE9yh3qs+jTwQ== X-Google-Smtp-Source: AB8JxZrtun2kPVvkEeoArN4Bom/wykGPJ7wap63ZV7ekZCmNrN9OiEyAcJoGG5v5qmfMi6IYVBFlvg== X-Received: by 2002:a17:902:6b44:: with SMTP id g4-v6mr1108688plt.390.1527226848492; Thu, 24 May 2018 22:40:48 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id w19-v6sm28253054pgv.59.2018.05.24.22.40.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 22:40:47 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Masahiro Yamada Subject: [PATCH 6/6] arm64: dts: socionext: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 11:10:06 +0530 Message-Id: <744f4c0a9a6f0d3acfc36e49ef62f17f53831b3b.1527225682.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180524_224052_314438_077D5A24 X-CRM114-Status: GOOD ( 15.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Vincent Guittot , Viresh Kumar , Daniel Lezcano , linux-kernel@vger.kernel.org, chris.redpath@arm.com, ionela.voinescu@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 3a5ed789c056..10ffb5019013 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -58,6 +58,7 @@ clocks = <&sys_clk 32>; enable-method = "psci"; operating-points-v2 = <&cluster0_opp>; + #cooling-cells = <2>; }; cpu2: cpu@100 { @@ -77,6 +78,7 @@ clocks = <&sys_clk 33>; enable-method = "psci"; operating-points-v2 = <&cluster1_opp>; + #cooling-cells = <2>; }; };