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 AA088A0C49; Thu, 8 Jul 2021 04:35:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32E204069C; Thu, 8 Jul 2021 04:35:02 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 118A140687 for ; Thu, 8 Jul 2021 04:35:01 +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 6480131B; Wed, 7 Jul 2021 19:35:00 -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 52DA23F694; Wed, 7 Jul 2021 19:34:59 -0700 (PDT) From: Richael Zhuang To: dev@dpdk.org Cc: yux.jiang@intel.com Date: Thu, 8 Jul 2021 10:34:44 +0800 Message-Id: <20210708023447.20495-1-richael.zhuang@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210625020206.42284-2-richael.zhuang@arm.com> References: <20210625020206.42284-2-richael.zhuang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v6 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" v6: fix some checkpatch errors and warnings rebase on Anatoly's patch: http://dpdk.org/patch/94763 Richael Zhuang (2): power: add support for cppc cpufreq test/power: round cpuinfo cur freq only in 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 | 681 +++++++++++++++++++++++++++++++++ lib/power/power_cppc_cpufreq.h | 230 +++++++++++ lib/power/rte_power.c | 26 ++ lib/power/rte_power.h | 2 +- 7 files changed, 957 insertions(+), 12 deletions(-) create mode 100644 lib/power/power_cppc_cpufreq.c create mode 100644 lib/power/power_cppc_cpufreq.h -- 2.20.1