Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4571686rdh; Wed, 29 Nov 2023 05:23:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+83/XhF2oWBszpTG3rQUJMCQShrun1j5+mLQMTC2IxbV/pEJpfM1Ekcn6MU49k+2i22JL X-Received: by 2002:a05:6808:171c:b0:3b7:688:f654 with SMTP id bc28-20020a056808171c00b003b70688f654mr22171816oib.13.1701264181425; Wed, 29 Nov 2023 05:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701264181; cv=none; d=google.com; s=arc-20160816; b=n4zALdkKeItn2WMnZb8ilPtsNLWoIQfmR1qEPK9EPiwBsBMyuwURIC/HHdvDFkk/Fk 6VjD6jkfknqkrWShAao/bqAIuQ/OCPAeJqHG266XgLSzuD0lK3Csmaheng9C1+emtUrH CqSeSBuLapP9fvA21+9ftTWmHv31CVFymOBj+7YncpPLqj4syjU8/bf5PBYvongnqC+0 ld1loBYkTSeOac9JhDDEFfyYyRt3FPsrS0mp9KrQ0ibuW+FUS/i9AF1F/93Ny5zC9Isb n3A7kXQgC/Cy7FFrB6TPNZhO6qhD5Hy1cmf2/FIBfJwQj3dVyTwfU76shQTXqw2n6QcG cSiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4pjv5DvvHKgNv44RP3scipYFC30LsYX86inZMPm5h5k=; fh=2MI0WOduq6Wp7Mo88q+BCmm7DpIPkIhZk9jAUeyieJs=; b=pSmxxttKV2fxX5IZHOJBXRTpi1q1T0xWPE+FJ2+nZChWIMMoSKJ6c5P4ZWUkk9TKPi yijv1pi0hwvODTVMxEpeqYSZwffN2dtExnfAnxpycLufJrqX1qOaorprXJ7+J7WqwzIG wWjAce5S+B7tN4Py3UBZNwIbKIBnekmVExfPl3MzUkFwV13Sfx1lmJIzr8svwinvpY/g CcSzrdjS1KdLYmI0Jp/21sVjxsgK8AGDYKEiFqwpbWucKDFhC+gX30SMFDdANeJKe63c XU948irf1XiA8mZhFxx4Qh1J9y1ND5xrl23MLxDGmND3k+ZBPdKuyYr6FyaIL5nBhu6W uQOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X5iBr2Ya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e20-20020a63e014000000b005c16f26b1b4si13844563pgh.440.2023.11.29.05.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 05:23:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X5iBr2Ya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BD669804437C; Wed, 29 Nov 2023 05:22:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233958AbjK2NWn (ORCPT + 99 others); Wed, 29 Nov 2023 08:22:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233942AbjK2NWm (ORCPT ); Wed, 29 Nov 2023 08:22:42 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9050810D4; Wed, 29 Nov 2023 05:22:48 -0800 (PST) Received: from [100.107.97.3] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 081D36602F2A; Wed, 29 Nov 2023 13:22:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701264166; bh=2GwNXRIpt+9q9FvXsEbR7BizaftPW2Q0mUCzKHvVuxs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=X5iBr2YaGQBHXYx+uhtK/eSaiK4+k+UUTVp+Po5fljskLOnTwdBpT3Wt0tFm71D6l j7O3mutf2CTJ+XcySQlQyUQqoPdCRrKaV6sS03OGY5clikYvsITTxPItBcNj4M/ovv nIFLZz0qmwie614SrWyTscWHK/6yX3JkJDHKU6JyXt8mn8Pt7Ta5OyC8cLu2wac9Lp EwkUo/SY1e8mtfVVGe0Xxx2g5rIqymN/lKnLmJ2IsQ5cQSQrB6vbG4ye4AC7m9a/ii YsUQ1Uykyoq/JAzCSUl4oClYQTslJAF5Ub4635WJPkvVGaG2gqeNiGQNrPEq80VGkI tPvfBRbi+hsSA== Message-ID: Date: Wed, 29 Nov 2023 14:22:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/1] arm64: dts: mediatek: mt8186: Increase CCI frequency Content-Language: en-US To: Mark Tseng , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20230914121035.17320-1-chun-jen.tseng@mediatek.com> <20230914121035.17320-2-chun-jen.tseng@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230914121035.17320-2-chun-jen.tseng@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 05:22:58 -0800 (PST) Il 14/09/23 14:10, Mark Tseng ha scritto: > The original CCI OPP table's lowest frequency 500 MHz is too low and causes > system stalls. Increase the frequency range to 1.05 GHz ~ 1.4 GHz and adjust > the OPPs accordingly. > > Fixes: 32dfbc03fc26 ("arm64: dts: mediatek: mt8186: Add CCI node and CCI OPP table") > > Signed-off-by: Mark Tseng You ignored my comment [1] on the v1 of this patch. Besides, I think that you should at least keep the 500MHz frequency for a sleep-only/idle OPP to save power. It would also be helpful to understand why you chose this new frequency range, so if you can, please put some numbers in the commit description, showing the stall in terms of requested BW vs actual BW (as I'd imagine that a 2x increase in CCI frequency means that we need *twice* the bandwidth compared to what we have for the workloads that are stalling the system). [1]: https://lore.kernel.org/all/799325f5-29b5-f0c0-16ea-d47c06830ed3@collabora.com/ Regards, Angelo