From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24D8EC43219 for ; Fri, 3 May 2019 07:16:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB31F2087F for ; Fri, 3 May 2019 07:16:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="hEJ22Rh6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726670AbfECHQl (ORCPT ); Fri, 3 May 2019 03:16:41 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:39766 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbfECHQl (ORCPT ); Fri, 3 May 2019 03:16:41 -0400 Received: by mail-qt1-f193.google.com with SMTP id y42so5619087qtk.6 for ; Fri, 03 May 2019 00:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KlnuPNTSqAOsReFStbtqUTb18X37z9g45qyDj7kddRA=; b=hEJ22Rh6lnEcmSMaMMuUlZdfXJ7KCYTX3AM2srreiE8Sf6OAnRXfVnZRnjcSn4jHPY 3p24HRD5HVSh44RxdFmCpqu/1sYnULlRTl0XRo2uF6K5RVegrPF0550505OwkW0+qT+m 5FmONnZuEwLBqfg9dGyH0yJSkdmST31cbhVaE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KlnuPNTSqAOsReFStbtqUTb18X37z9g45qyDj7kddRA=; b=lYMuJb21adn0+EP6ETzzO1ccsyCGLpczq0HGWJ1nUcBK4Cwh1dDFTYXhMWqLjrBDke ZmawzFf/Mh9LBXr8j1SGUE6AguzAoGrmGYRi9SvaJ1/+8vfJRzgDoW0WnLDX9OOrDiU4 hw/pqTvjzcXt44iqsVr03M3B4Mur9r9rXG9Xh+s2qR6L+zMv4mwTSUvcnnDEj/k1B0U0 V7jxI8hBsq3bG1fR9NascW7bNhqVxw56p+ZbKC0IAMY3U4FkDJB5pz7yyxS/Z3hEA6o6 kdkKF2N6nhgLKt78Fpbt0Rga4oJXI2F+5b6ZvHxyJQP3b8xzvuF+J3BUWFnBgJWo22oX juVQ== X-Gm-Message-State: APjAAAXsyALSGz0ccuFu7OypNKkeKC4RyZKco4uf8hbxElZYE9IfO3Gf GgEDh50SyLTdC2LtzujHd9lULXEIj6a98QkSrth6mQ== X-Google-Smtp-Source: APXvYqwhRV3TvOuByNuwZ+DDBwx1hJ5Ye6qvgO/XvXATKgGv9cIvbe0igodjrM3jyeRk2df7QWBovKlHBg7m9FObZ4Q= X-Received: by 2002:ad4:534b:: with SMTP id v11mr6824906qvs.31.1556867800383; Fri, 03 May 2019 00:16:40 -0700 (PDT) MIME-Version: 1.0 References: <1556793795-25204-1-git-send-email-michael.kao@mediatek.com> <1556793795-25204-3-git-send-email-michael.kao@mediatek.com> In-Reply-To: <1556793795-25204-3-git-send-email-michael.kao@mediatek.com> From: Hsin-Yi Wang Date: Fri, 3 May 2019 15:16:29 +0800 Message-ID: Subject: Re: [PATCH 2/8] arm64: dts: mt8183: add/update dynamic power coefficients To: "michael.kao" Cc: fan.chen@mediatek.com, jamesjj.liao@mediatek.com, dawei.chien@mediatek.com, louis.yu@mediatek.com, roger.lu@mediatek.com, Zhang Rui , Eduardo Valentin , Daniel Lezcano , Rob Herring , Mark Rutland , Matthias Brugger , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@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 Thu, May 2, 2019 at 10:43 AM michael.kao wrote: > > Add dynamic power coefficients for all cores and update those of > CPU0 and CPU4. > > Signed-off-by: Michael.Kao > --- > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > index b92116f..5668fb8 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > @@ -58,6 +58,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x000>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; Should this line be in [3/8] arm64: dts: mt8183: Add #cooling-cells to CPU nodes? > }; > > cpu1: cpu@1 { > @@ -65,6 +67,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x001>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; > }; > > cpu2: cpu@2 { > @@ -72,6 +76,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x002>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; > }; > > cpu3: cpu@3 { > @@ -79,6 +85,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x003>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; > }; > > cpu4: cpu@100 { > @@ -86,6 +94,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x100>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > > cpu5: cpu@101 { > @@ -93,6 +103,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x101>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > > cpu6: cpu@102 { > @@ -100,6 +112,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x102>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > > cpu7: cpu@103 { > @@ -107,6 +121,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x103>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > }; > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FC6BC43219 for ; Fri, 3 May 2019 07:16:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 060772075C for ; Fri, 3 May 2019 07:16:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JOGbm9MH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="hEJ22Rh6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 060772075C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mU6d+2w6mXMOfVGCWsTjmjEljVtBbR1TGftd6U64JpU=; b=JOGbm9MHq/ZFxG AfwQMYuQiprWxn5b1su2QD8orHBqL47k7ZTACiLVQqLZ5BFQ29RfpcRn7+1pkdQEplEH/mYGmwuJZ NADPkJDqQ+sZyo2gltZcenYJtytzBfLIBktgj3R0p2KUuQ84B+buAKOi/x3rLYmD5l2Pgm+rAdnPG 0tKU038CmfCbkRrVZmMCw6QE9gUvkm/S918KhRMw0rT5xuzoEBdFrwAg5HEs+C2TO8lMVYq0759RG nKxdBKRuQ0B2nOE5vAJhnzruWSEb+NzW/nbogs0E0fwEgRHOo4I+zU7UEtqdqF9h5kKsoFtB9Ymbp 5H8DXRGYTLdiDyBVARJg==; 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 1hMSR2-0002P8-EE; Fri, 03 May 2019 07:16:44 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hMSR0-0002OR-2u for linux-arm-kernel@lists.infradead.org; Fri, 03 May 2019 07:16:43 +0000 Received: by mail-qt1-x844.google.com with SMTP id e2so3987755qtb.4 for ; Fri, 03 May 2019 00:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KlnuPNTSqAOsReFStbtqUTb18X37z9g45qyDj7kddRA=; b=hEJ22Rh6lnEcmSMaMMuUlZdfXJ7KCYTX3AM2srreiE8Sf6OAnRXfVnZRnjcSn4jHPY 3p24HRD5HVSh44RxdFmCpqu/1sYnULlRTl0XRo2uF6K5RVegrPF0550505OwkW0+qT+m 5FmONnZuEwLBqfg9dGyH0yJSkdmST31cbhVaE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KlnuPNTSqAOsReFStbtqUTb18X37z9g45qyDj7kddRA=; b=HIecjhu5SghRZ5wZ6M5IP2PfIW22v6KkiGk+vt7ujgNXm8Tm1tSeP4hwANrlA3xnTT CS+j7Cv4rZN+aaMfIw6q73al4jpJqgM9cxE0gJ1RzjLzvmfoLi0aES1Fr9bfn8Dw0kit slorPCI5wQ54LIrq62Apo78hGR1Z2Y6QDIoxPaChouLs5AXZktuT+PGSA+nK3z8xSP5s ackLoZVoFzMFsyoXQlS7Fn48diA748/+JbFd+t5lTEJEg3LkKq3ynSBeQVTp/Q+HNJFB xGcb84pInXTKLdfpY/Cl6GpoEUxWNJHqOC0XCnL1Np3mMNVxu0N4R/t8QMc9Cnbp7wD0 baGg== X-Gm-Message-State: APjAAAVNjKNiZOC4hj6FFQmtoSEDhqNehNBzsDLvE+Eav9PeLXE79TKs 2IF/7mt2N1CA21/zMRjSt0opiWddmyO5R+wbf3+VOQ== X-Google-Smtp-Source: APXvYqwhRV3TvOuByNuwZ+DDBwx1hJ5Ye6qvgO/XvXATKgGv9cIvbe0igodjrM3jyeRk2df7QWBovKlHBg7m9FObZ4Q= X-Received: by 2002:ad4:534b:: with SMTP id v11mr6824906qvs.31.1556867800383; Fri, 03 May 2019 00:16:40 -0700 (PDT) MIME-Version: 1.0 References: <1556793795-25204-1-git-send-email-michael.kao@mediatek.com> <1556793795-25204-3-git-send-email-michael.kao@mediatek.com> In-Reply-To: <1556793795-25204-3-git-send-email-michael.kao@mediatek.com> From: Hsin-Yi Wang Date: Fri, 3 May 2019 15:16:29 +0800 Message-ID: Subject: Re: [PATCH 2/8] arm64: dts: mt8183: add/update dynamic power coefficients To: "michael.kao" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190503_001642_149411_5BF9F9DF X-CRM114-Status: GOOD ( 12.25 ) 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: Mark Rutland , jamesjj.liao@mediatek.com, devicetree@vger.kernel.org, louis.yu@mediatek.com, dawei.chien@mediatek.com, linux-pm@vger.kernel.org, Daniel Lezcano , roger.lu@mediatek.com, linux-kernel@vger.kernel.org, Eduardo Valentin , fan.chen@mediatek.com, Rob Herring , linux-mediatek@lists.infradead.org, Matthias Brugger , Zhang Rui , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 2, 2019 at 10:43 AM michael.kao wrote: > > Add dynamic power coefficients for all cores and update those of > CPU0 and CPU4. > > Signed-off-by: Michael.Kao > --- > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > index b92116f..5668fb8 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > @@ -58,6 +58,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x000>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; Should this line be in [3/8] arm64: dts: mt8183: Add #cooling-cells to CPU nodes? > }; > > cpu1: cpu@1 { > @@ -65,6 +67,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x001>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; > }; > > cpu2: cpu@2 { > @@ -72,6 +76,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x002>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; > }; > > cpu3: cpu@3 { > @@ -79,6 +85,8 @@ > compatible = "arm,cortex-a53"; > reg = <0x003>; > enable-method = "psci"; > + dynamic-power-coefficient = <84>; > + #cooling-cells = <2>; > }; > > cpu4: cpu@100 { > @@ -86,6 +94,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x100>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > > cpu5: cpu@101 { > @@ -93,6 +103,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x101>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > > cpu6: cpu@102 { > @@ -100,6 +112,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x102>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > > cpu7: cpu@103 { > @@ -107,6 +121,8 @@ > compatible = "arm,cortex-a73"; > reg = <0x103>; > enable-method = "psci"; > + dynamic-power-coefficient = <211>; > + #cooling-cells = <2>; > }; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel