{"id":807668,"url":"http://patchwork.ozlabs.org/api/1.0/patches/807668/?format=json","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/1.0/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20170830144120.9312-5-dietmar.eggemann@arm.com>","date":"2017-08-30T14:41:20","name":"[4/4] arm: dts: r8a7790: add cpu capacity-dmips-mhz information","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"8de7d0306329fe4e5e7fa7972910512819e3ca8a","submitter":{"id":64545,"url":"http://patchwork.ozlabs.org/api/1.0/people/64545/?format=json","name":"Dietmar Eggemann","email":"dietmar.eggemann@arm.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-imx/patch/20170830144120.9312-5-dietmar.eggemann@arm.com/mbox/","series":[{"id":629,"url":"http://patchwork.ozlabs.org/api/1.0/series/629/?format=json","date":"2017-08-30T14:41:18","name":"arm: remove cpu_efficiency","version":1,"mbox":"http://patchwork.ozlabs.org/series/629/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807668/checks/","tags":{},"headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"k/5GJgn6\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=infradead.org header.i=@infradead.org\n\theader.b=\"WeClO8cN\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xj7sM2R07z9sN5\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 00:57:43 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dn4R1-0001kL-Qz; Wed, 30 Aug 2017 14:57:39 +0000","from casper.infradead.org ([2001:8b0:10b:1236::1])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dn4Qi-0001Nu-Of for linux-arm-kernel@bombadil.infradead.org;\n\tWed, 30 Aug 2017 14:57:20 +0000","from foss.arm.com ([217.140.101.70])\n\tby casper.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dn4C3-0004U5-Q4 for linux-arm-kernel@lists.infradead.org;\n\tWed, 30 Aug 2017 14:42:14 +0000","from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E1FAD164F;\n\tWed, 30 Aug 2017 07:41:52 -0700 (PDT)","from e107985-lin.cambridge.arm.com (e107985-lin.cambridge.arm.com\n\t[10.1.210.41])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\tCCEF83F483; Wed, 30 Aug 2017 07:41:50 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=WZyBFD3opBrotfaCT+dp1SGm5Y17DrDAGlOO4PbBV0k=;\n\tb=k/5GJgn6Hu54ma\n\tDW0yLVXdNGp7yFMYrQ+D461Pmnwxhizu0DcSHmPbjy/vOFeDGlY3PHdCD41OyOoDjpCtJvlEaVbyt\n\tIGlRPGalhaJOPw3WIWJcUpyn8dDLAzgQzWykDDYoBXYr84kNVanFf9OkfSRA6xNF2YYFCu9pXGv9q\n\tHNtqcC917HTuvjD2iF9T6GinHwRxejbfLKQuXY2QV17O/KDCf8c77UKhXQapInWPekJ0BhnKTYGaG\n\twz3VDK4vfsz40FPwV0WkHuW7UgggZbyHp3aZ6hxsAjpDzLLREcvaMvO4KqkLtbOxQ6DXAcSUiA2RO\n\tGxtgj49R37EwJUYMwWow==;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=infradead.org; s=casper.20170209;\n\th=Content-Transfer-Encoding:Content-Type:\n\tMIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender\n\t:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:\n\tList-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=myAEr7jOpOI3tZ+eLxQCGPGIeu2ZS1hukaK3M3pHkoM=;\n\tb=WeClO8cNhMEF74R9isDj5Vil76\n\t4vgN8dtIWEOZg4MFvK6g87SnNqAm9cTnSwV6NZa4VJRlUuEKo672rmDYjQjG+/v8R1XpAxyLbJmKi\n\tqVU4Ns37UtQ7QEZpGc866kGbCQIzQJkAkbjs8XRLi5Oke3nHj3kGXLwsjRdBtH0hdCWNDRWBtpf1w\n\tarAg1+CddiNvFmCNM5llAkrBcWwHUjqpn5OTFbMIT0nfWPuFetYBmgCYRr0fC7k0chTZKi+1qXQ+U\n\tFdcWAwHAWPiHC4Z6vGrMeo4hp0Ou3ttyXMagf9ddZgIa07zcVfrztAYiM6to+Q/EiFSSlWImqmlbB\n\tzvW9UF/A==;"],"From":"Dietmar Eggemann <dietmar.eggemann@arm.com>","To":"linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tdevicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org,\n\tlinux-renesas-soc@vger.kernel.org","Subject":"[PATCH 4/4] arm: dts: r8a7790: add cpu capacity-dmips-mhz\n\tinformation","Date":"Wed, 30 Aug 2017 15:41:20 +0100","Message-Id":"<20170830144120.9312-5-dietmar.eggemann@arm.com>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170830144120.9312-1-dietmar.eggemann@arm.com>","References":"<20170830144120.9312-1-dietmar.eggemann@arm.com>","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170830_154212_129249_59D67249 ","X-CRM114-Status":"UNSURE (   9.17  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-6.9 (------)","X-Spam-Report":"SpamAssassin version 3.4.1 on casper.infradead.org summary:\n\tContent analysis details:   (-6.9 points, 5.0 required)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [217.140.101.70 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"Mark Rutland <mark.rutland@arm.com>,\n\tVincent Guittot <vincent.guittot@linaro.org>,\n\tJuri Lelli <juri.lelli@arm.com>, \n\tRussell King <linux@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>,\n\tKukjin Kim <kgene@kernel.org>, Krzysztof Kozlowski <krzk@kernel.org>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"The following 'capacity-dmips-mhz' dt property values are used:\n\nCortex-A15: 1024, Cortex-A7: 539\n\nThey have been derived form the cpu_efficiency values:\n\nCortex-A15: 3891, Cortex-A7: 2048\n\nby scaling them so that the Cortex-A15s (big cores) use 1024.\n\nThe cpu_efficiency values were originally derived from the \"Big.LITTLE\nProcessing with ARM Cortex™-A15 & Cortex-A7\" white paper\n(http://www.cl.cam.ac.uk/~rdm34/big.LITTLE.pdf). Table 1 lists 1.9x\n(3891/2048) as the Cortex-A15 vs Cortex-A7 performance ratio for the\nDhrystone benchmark.\n\nThe following platform is affected once cpu-invariant accounting\nsupport is re-connected to the task scheduler:\n\nr8a7790-lager\n\nCc: Rob Herring <robh+dt@kernel.org>\nCc: Mark Rutland <mark.rutland@arm.com>\nCc: Russell King <linux@armlinux.org.uk>\nSigned-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>\n---\n arch/arm/boot/dts/r8a7790.dtsi | 8 ++++++++\n 1 file changed, 8 insertions(+)","diff":"diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi\nindex 2805a8608d4b..a57c0e170d8b 100644\n--- a/arch/arm/boot/dts/r8a7790.dtsi\n+++ b/arch/arm/boot/dts/r8a7790.dtsi\n@@ -56,6 +56,7 @@\n \t\t\tclock-latency = <300000>; /* 300 us */\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA15_CPU0>;\n \t\t\tnext-level-cache = <&L2_CA15>;\n+\t\t\tcapacity-dmips-mhz = <1024>;\n \n \t\t\t/* kHz - uV - OPPs unknown yet */\n \t\t\toperating-points = <1400000 1000000>,\n@@ -73,6 +74,7 @@\n \t\t\tclock-frequency = <1300000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA15_CPU1>;\n \t\t\tnext-level-cache = <&L2_CA15>;\n+\t\t\tcapacity-dmips-mhz = <1024>;\n \t\t};\n \n \t\tcpu2: cpu@2 {\n@@ -82,6 +84,7 @@\n \t\t\tclock-frequency = <1300000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA15_CPU2>;\n \t\t\tnext-level-cache = <&L2_CA15>;\n+\t\t\tcapacity-dmips-mhz = <1024>;\n \t\t};\n \n \t\tcpu3: cpu@3 {\n@@ -91,6 +94,7 @@\n \t\t\tclock-frequency = <1300000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA15_CPU3>;\n \t\t\tnext-level-cache = <&L2_CA15>;\n+\t\t\tcapacity-dmips-mhz = <1024>;\n \t\t};\n \n \t\tcpu4: cpu@100 {\n@@ -100,6 +104,7 @@\n \t\t\tclock-frequency = <780000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA7_CPU0>;\n \t\t\tnext-level-cache = <&L2_CA7>;\n+\t\t\tcapacity-dmips-mhz = <539>;\n \t\t};\n \n \t\tcpu5: cpu@101 {\n@@ -109,6 +114,7 @@\n \t\t\tclock-frequency = <780000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA7_CPU1>;\n \t\t\tnext-level-cache = <&L2_CA7>;\n+\t\t\tcapacity-dmips-mhz = <539>;\n \t\t};\n \n \t\tcpu6: cpu@102 {\n@@ -118,6 +124,7 @@\n \t\t\tclock-frequency = <780000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA7_CPU2>;\n \t\t\tnext-level-cache = <&L2_CA7>;\n+\t\t\tcapacity-dmips-mhz = <539>;\n \t\t};\n \n \t\tcpu7: cpu@103 {\n@@ -127,6 +134,7 @@\n \t\t\tclock-frequency = <780000000>;\n \t\t\tpower-domains = <&sysc R8A7790_PD_CA7_CPU3>;\n \t\t\tnext-level-cache = <&L2_CA7>;\n+\t\t\tcapacity-dmips-mhz = <539>;\n \t\t};\n \n \t\tL2_CA15: cache-controller-0 {\n","prefixes":["4/4"]}