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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D6CDC433EF for ; Mon, 4 Jul 2022 15:20:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234346AbiGDPUh (ORCPT ); Mon, 4 Jul 2022 11:20:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234177AbiGDPUe (ORCPT ); Mon, 4 Jul 2022 11:20:34 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D7D910FE6; Mon, 4 Jul 2022 08:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=GcBIE8F1Amhld86dWfigGM4Z1aJl6HhmPq0gymmt37g=; b=Y9uYw+EXJiWS8zl4Zcb6tlYkGl d2PjqZGF64zWe7kTqQHg9Fzh1vuRY+Qsu6wLI21ezbQWf91+UTqUnV1E1/ZN9gz56acNlj0uMM++3 Az9GydpPSOv0hidBJnLbxULDj4ahiWUY+W8GXWYIINP67ue9B0uPRJwEf7L+II+9m1q2uc5QfdAsT sB9vASPDwp6uX8bDAF5IK/AE6uhwyeTW6C2ReucCt5gCvMoeFwb02r6WeYbxAY2/ofQuzlWVh/elj o8S9TIs9SbR8puNdkmYMNhmAO7tHw9iHduTFKxPEFVdvodJ10/lQS3Z2ucIYE1p3MYGTZZEXKwiZh YzX+T9Sw==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8NsB-009fdZ-CO; Mon, 04 Jul 2022 15:20:27 +0000 Message-ID: <3770bc6d-b3cc-9e49-a832-4c15af0b5f1a@infradead.org> Date: Mon, 4 Jul 2022 08:20:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 2/4] soc: qcom: icc-bwmon: Add bandwidth monitoring driver Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Rajendra Nayak , Thara Gopinath References: <20220704121730.127925-1-krzysztof.kozlowski@linaro.org> <20220704121730.127925-3-krzysztof.kozlowski@linaro.org> From: Randy Dunlap In-Reply-To: <20220704121730.127925-3-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi, On 7/4/22 05:17, Krzysztof Kozlowski wrote: > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > index e718b8735444..2c8091535bf7 100644 > --- a/drivers/soc/qcom/Kconfig > +++ b/drivers/soc/qcom/Kconfig > @@ -228,4 +228,19 @@ config QCOM_APR > application processor and QDSP6. APR is > used by audio driver to configure QDSP6 > ASM, ADM and AFE modules. > + > +config QCOM_ICC_BWMON > + tristate "QCOM Interconnect Bandwidth Monitor driver" > + depends on ARCH_QCOM || COMPILE_TEST > + select PM_OPP > + help > + Sets up driver monitoring bandwidth on various interconnects and Sets up driver bandwidth monitoring would be better, I think. > + based on that voting for interconnect bandwidth, adjusting their > + speed to current demand. > + Current implementation brings support for BWMON v4, used for example > + on SDM845 to measure bandwidth between CPU (gladiator_noc) and Last > + Level Cache (memnoc). Usage of this BWMON allows to remove some of > + the fixed bandwidth votes from cpufreq (CPU nodes) thus achieve high > + memory throughput even with lower CPU frequencies. -- ~Randy 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5A73AC43334 for ; Mon, 4 Jul 2022 15:21:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PuPUBDoO6fBPW4RI9Zsy71rjMdHibTnY+naEHtcqPtA=; b=FzTskXO8i8MXzR hJ5W9UBQU8WBxVihwZ6m4u4LEp+PQko1twN2J2FAf55kSBte4ZQjDkjpN3Dn/zCWXUtp7wJqkch/E Ta6vyjzNGF/aAqsu1mk6L//Fexp+TCfg0ddZy38oNjPq3utyI1iQvYqx5ig/oIOuTnoX1PvvwkrE2 PkCZBw5IK9WO7VV/VjgfdajeBKd2iAoEAmbwZ8xxumovYofWEMzqj0dSANfsTV2UxElfKxbeC9esc O/RAJrrtML+23xUvwn6yLb2bRvfsu1OBb6ki1ifs2AW5+sYtHSZJ2JbwrSQjRaUnAH/SBgAoihPR9 bTHBpnFf60WHk3xjfcgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8NsD-009fe3-F6; Mon, 04 Jul 2022 15:20:29 +0000 Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8NsB-009fdZ-CO; Mon, 04 Jul 2022 15:20:27 +0000 Message-ID: <3770bc6d-b3cc-9e49-a832-4c15af0b5f1a@infradead.org> Date: Mon, 4 Jul 2022 08:20:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 2/4] soc: qcom: icc-bwmon: Add bandwidth monitoring driver Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Rajendra Nayak , Thara Gopinath References: <20220704121730.127925-1-krzysztof.kozlowski@linaro.org> <20220704121730.127925-3-krzysztof.kozlowski@linaro.org> From: Randy Dunlap In-Reply-To: <20220704121730.127925-3-krzysztof.kozlowski@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On 7/4/22 05:17, Krzysztof Kozlowski wrote: > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > index e718b8735444..2c8091535bf7 100644 > --- a/drivers/soc/qcom/Kconfig > +++ b/drivers/soc/qcom/Kconfig > @@ -228,4 +228,19 @@ config QCOM_APR > application processor and QDSP6. APR is > used by audio driver to configure QDSP6 > ASM, ADM and AFE modules. > + > +config QCOM_ICC_BWMON > + tristate "QCOM Interconnect Bandwidth Monitor driver" > + depends on ARCH_QCOM || COMPILE_TEST > + select PM_OPP > + help > + Sets up driver monitoring bandwidth on various interconnects and Sets up driver bandwidth monitoring would be better, I think. > + based on that voting for interconnect bandwidth, adjusting their > + speed to current demand. > + Current implementation brings support for BWMON v4, used for example > + on SDM845 to measure bandwidth between CPU (gladiator_noc) and Last > + Level Cache (memnoc). Usage of this BWMON allows to remove some of > + the fixed bandwidth votes from cpufreq (CPU nodes) thus achieve high > + memory throughput even with lower CPU frequencies. -- ~Randy _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel