Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7099540rwd; Tue, 6 Jun 2023 06:26:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ589o/1d/zvvqW9UX7bM3Qe8LgzfiiZzmnQWk5Bs/leEif/vopzu6RvIc9o2/6pQ15YynNs X-Received: by 2002:a05:620a:4509:b0:75e:cbb5:a8fa with SMTP id t9-20020a05620a450900b0075ecbb5a8famr2378704qkp.18.1686057960042; Tue, 06 Jun 2023 06:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686057960; cv=none; d=google.com; s=arc-20160816; b=XxxdxWDu0CDftI1t2xKK0O4SYw/YUVthjAHlG5k4lKxOziRZ/bwauVwsPT+Bv/4JbM e58LEloJgajxXZRQCZdzTvwHK/zT9cGpLcvF6JKgxrdXSCHgywqaPh35gBHNnEWpdGS6 OK2mN3cVt7bQawHen0wFr+8+Avn6CLnyC8E6jf1o0t9Hy14YrKDdPA/SpH34eoj1/Vgf d4QW3UEqx11goYDS3utgChC+BSAkJi/D7oRCx5E2VBSezh1YLI94C4UWYqiM2OPpBVjH gnYSwNtGUrM6kBc67VOcJDCRd140oCq7Z2DFq/UXMrn+2iQC8el0hDt05z+4D/Xfi3YH 284w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yX4ptdgi7WcIwg7E7dKEJI5FRwfdwSqHkWPJDXodDMc=; b=Y/iXe6dGJC5qfdgO8b2xhAP7vNlJBX+QDSIyVZQSiLYecpixRC/WfMsojgLX4c4Q40 7lm2NtOO8uzyEHwVnZ72FjpUk9yjmF1IEJNEdSpovvTr8CxC5EI4jKr8DgC0GL9DLvUU t/PiBoOW0x26nbwOYWx8+E8QQpJfVk75lK7eOcZ1XsW7yjvWhyt3W7bOhR1Ajb9K1RdA JsDxTfA+P1JJ7CKfM0QM3Z+rn+mhHPXXj+uIUoQNUtxszmMUyyBIZq3aAG5tM2SqtUwm mv7GgzKKG9PDZAv2bgusfml9pUMAn+62eDpcvWNXZ9xChNZDNRIMjavdMiVeMv3A25vi nWvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Bfbe3+nA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p15-20020ae9f30f000000b007577a865012si6023075qkg.330.2023.06.06.06.25.44; Tue, 06 Jun 2023 06:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Bfbe3+nA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237732AbjFFNBN (ORCPT + 99 others); Tue, 6 Jun 2023 09:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237873AbjFFNBL (ORCPT ); Tue, 6 Jun 2023 09:01:11 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB354F4; Tue, 6 Jun 2023 06:01:01 -0700 (PDT) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 836906606EBB; Tue, 6 Jun 2023 14:00:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686056460; bh=5X1vYezIwDbqeMCS78Q98whyEA5uh7OHIVeHGqM+EtI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bfbe3+nAwOOs1sT8xUYl78AUiOqTLNLqOgHUc/MMsJpbI2TDRkVIX6ZshuNRESg9i CdTefngagGRRzKM4hy1+okSH2ATYC5alLYo+nqBMbCr8XQZc/FeMDRo77evveNN2f4 BnDSjSwiV0mwF3IkIGbs6zsl/GjEX0rb/SG6NDtMJwajllD3EQWPXu3P9CNUY6WYb5 +tJAmdnnTF1NlgPxo4erKN7XTd90KoNPywzu47sO77C/9mlBtrAD+e7XMK71xaQtHl Vs1bC8qAw/u7GPyFqqkgOHqkpWqAtBQ7NDwl8W9btme5JJ+7PWhae+nF4+OHx+w1sQ e9LrCwjcVgdJg== Date: Tue, 6 Jun 2023 09:00:54 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Matthias Brugger Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Conor Dooley , Krzysztof Kozlowski , Rob Herring , Seiya Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz Message-ID: <0e9667dc-8f91-49a0-903e-6725204e11ad@notapiano> References: <20230602183515.3778780-1-nfraprado@collabora.com> <01c88a42-274c-f8cf-73a6-29741579d9db@collabora.com> <4b2fdd36-0871-ecc7-5d64-e088d7f51987@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4b2fdd36-0871-ecc7-5d64-e088d7f51987@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 06, 2023 at 08:38:42AM +0200, Matthias Brugger wrote: > > > On 05/06/2023 10:21, AngeloGioacchino Del Regno wrote: > > Il 02/06/23 20:35, N?colas F. R. A. Prado ha scritto: > > > The capacity-dmips-mhz parameter was miscalculated: this SoC runs > > > the first (Cortex-A55) cluster at a maximum of 2000MHz and the > > > second (Cortex-A76) cluster at a maximum of 2200MHz. > > > > > > In order to calculate the right capacity-dmips-mhz, the following > > > test was performed: > > > 1. CPUFREQ governor was set to 'performance' on both clusters > > > 2. Ran dhrystone with 500000000 iterations for 10 times on each cluster > > > 3. Calculated the mean result for each cluster > > > 4. Calculated DMIPS/MHz: dmips_mhz = dmips_per_second / cpu_mhz > > > 5. Scaled results to 1024: > > > ??? result_c0 = dmips_mhz_c0 / dmips_mhz_c1 * 1024 > > > > > > The mean results for this SoC are: > > > Cluster 0 (LITTLE): 12016411 Dhry/s > > > Cluster 1 (BIG): 31702034 Dhry/s > > > > > > The calculated scaled results are: > > > Cluster 0: 426.953226899238 (rounded to 427) > > > Cluster 1: 1024 > > > > > > Fixes: 48489980e27e ("arm64: dts: Add Mediatek SoC MT8192 and > > > evaluation board dts and Makefile") > > > Signed-off-by: N?colas F. R. A. Prado > > > > > > > Applied, thanks Hi Matthias, this patch doesn't show in your v6.4-next/dts64 branch, while the other patch you just applied does, so I just wanted to double check it was really applied. Thanks, N?colas