From patchwork Fri May 25 10:31:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 10427057 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 1AEB26025B for ; Fri, 25 May 2018 10:37:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7556291AB for ; Fri, 25 May 2018 10:37:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB96329599; Fri, 25 May 2018 10:37:41 +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 59431291AB for ; Fri, 25 May 2018 10:37:41 +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=YuGYhMCa6GIkQ3LsWAjqGifZczqHZo2SIGizTLcACZw=; b=PB0IQMuttWxJbppfgRCEjN906q PC5dfExHOW7nbvZ9oFyY57BCPIiVfcbOm29aXDmdLCuazMdV5JZ6JiGExXc+sRTBnGJdKpkbXxdcD kyQN8pl9hTKfspbcrEsK67P8r4kOPoIu2Sq0Yw82TLGKpPERnU2km7LrQuSm5ev5zFZTFrlTjnlFC qwqzftFAb+9Tqw17vrvHDpnLNz/kR5YiB4ftBzGXnRpV3nbMIewlbGqh8sOh4bbI+MITcxLSOdy3b prb8ti0vxLlQ9Htsd0uPiVBBOJK1b1mgDAbxF1mpw6+TAoZoTPloj58lGGgvpveRW5s6cVpGo4P0w t34PE5SA==; 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 1fMA6F-0006IY-HT; Fri, 25 May 2018 10:37:31 +0000 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMA1b-0002VN-VE for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 10:33:00 +0000 Received: by mail-pl0-x242.google.com with SMTP id u6-v6so2919980pls.9 for ; Fri, 25 May 2018 03:32:33 -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=GfNvIOQ3ENb5MwJeAgOrPVPiZNlrnbH8fOGyllgETxg=; b=GUbOhct5kIQ+R0I4l0Hrn6nmKnNuIqpXSMQoGQiyiAx5mmO0+p0/0VD6Kyy2xH4ctb hDdGYKhjx3eZgWS2dqgpM1RqfcWAcjbWBdPCVTPv35iEQNWUR5kiKb7fXrT+R3DCH3CY 8tfSzJNAB/IWkwn5SVpQY6Q2RLMD9KaAXRNHU= 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=GfNvIOQ3ENb5MwJeAgOrPVPiZNlrnbH8fOGyllgETxg=; b=YzbyOFp5AdW1y8Ngj5tOurIjOyeZaARwjz4KKCFpcqQS57XmzCGzu1pJS4urJjb89l SYnTe5aeZb5SaOtwT3SQ4ppJrwGVdLIB+bl7DNnsWglDF3RK1yFbrSTs9j37mh4N8Vym fGQ5/KVeqzqsf9cNBCPoD4p8FakF4bkvqYATuWV20GD0KYsE1FNnj8wRw5m0KOSkUUyw qBlUNLjDK0KHyn91wx9lvLLbT5hKosPrQRNByUqSt98//62OWmcyORv4ouMaWSL98jun y4e84IteZBpcWohEP7oDO61qCg3Aikj/v+gd1yzF7vfie92+RPnzaYxOSnzOd/exK75s 8F1A== X-Gm-Message-State: ALKqPwdRuKqgUW3JdgBV3TSsy7whf25nZXesVfRy1oRlX3Dz6L5TqYWU GtVRPG4qOk4PFEeNzSeuGamxsA== X-Google-Smtp-Source: AB8JxZqdumhz0j9ld4lKHnGMYAS2tszvv3kIe/vdc0tkURiIwSdPNHgtHFl9W5N/TyYg+DBM8SU9Fw== X-Received: by 2002:a17:902:52c8:: with SMTP id a66-v6mr1994081pli.131.1527244353350; Fri, 25 May 2018 03:32:33 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id n10-v6sm51881460pfk.145.2018.05.25.03.32.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:32 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland , Masahiro Yamada Subject: [PATCH 05/15] arm: dts: uniphier: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:51 +0530 Message-Id: <51ac4a5f0466aeed3f223663d9c34d6345b2a1f2.1527244201.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-20180525_033244_033231_FB876EF6 X-CRM114-Status: GOOD ( 13.58 ) 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/arm/boot/dts/uniphier-pxs2.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index debcbd15c24b..40ed15465095 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -36,6 +36,7 @@ enable-method = "psci"; next-level-cache = <&l2>; operating-points-v2 = <&cpu_opp>; + #cooling-cells = <2>; }; cpu2: cpu@2 { @@ -46,6 +47,7 @@ enable-method = "psci"; next-level-cache = <&l2>; operating-points-v2 = <&cpu_opp>; + #cooling-cells = <2>; }; cpu3: cpu@3 { @@ -56,6 +58,7 @@ enable-method = "psci"; next-level-cache = <&l2>; operating-points-v2 = <&cpu_opp>; + #cooling-cells = <2>; }; };