From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 73051A0C3F; Wed, 12 May 2021 05:50:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC5EC4003F; Wed, 12 May 2021 05:50:03 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 14C0F4003E for ; Wed, 12 May 2021 05:50:03 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7BF4331B; Tue, 11 May 2021 20:50:02 -0700 (PDT) Received: from wls-arm-cavium06.shanghai.arm.com (wls-arm-cavium06.shanghai.arm.com [10.169.206.120]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6F3C83F73B; Tue, 11 May 2021 20:50:01 -0700 (PDT) From: Richael Zhuang To: dev@dpdk.org Cc: anatoly.burakov@intel.com Date: Wed, 12 May 2021 11:49:44 +0800 Message-Id: <20210512034946.37550-1-richael.zhuang@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422061540.23304-2-richael.zhuang@arm.com> References: <20210422061540.23304-2-richael.zhuang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] power: add support for cppc cpufreq driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v2: rebase on Anatoly's patch: http://dpdk.org/patch/92077; fix check_cur_freq bug: round cur freq only when using CPPC driver Richael Zhuang (2): power: add support for cppc cpufreq test/power: round cpuinfo cur freq only when using CPPC cpufreq app/test/test_power.c | 3 +- app/test/test_power_cpufreq.c | 26 +- lib/power/meson.build | 1 + lib/power/power_cppc_cpufreq.c | 632 +++++++++++++++++++++++++++++++++ lib/power/power_cppc_cpufreq.h | 229 ++++++++++++ lib/power/rte_power.c | 26 ++ lib/power/rte_power.h | 2 +- 7 files changed, 907 insertions(+), 12 deletions(-) create mode 100644 lib/power/power_cppc_cpufreq.c create mode 100644 lib/power/power_cppc_cpufreq.h -- 2.20.1