From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03887A0613 for ; Fri, 27 Sep 2019 14:16:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B37C1BF14; Fri, 27 Sep 2019 14:16:12 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C2B8F2C58 for ; Fri, 27 Sep 2019 14:16:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 05:16:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,555,1559545200"; d="scan'208";a="219753961" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.222.38]) by fmsmga002.fm.intel.com with ESMTP; 27 Sep 2019 05:16:08 -0700 From: David Hunt To: david.hunt@intel.com Cc: dev@dpdk.org Date: Fri, 27 Sep 2019 13:15:57 +0100 Message-Id: <20190927121601.23661-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190403171601.9788-2-marcinx.hajkowski@intel.com> References: <20190403171601.9788-2-marcinx.hajkowski@intel.com> Subject: [dpdk-dev] [PATCH v2 0/4] frequency list query from guest X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Extend guest channel and sample apps to query CPU frequencies. Please note that these changes depends on (http://patches.dpdk.org/project/dpdk/list/?series=6568) which should be applied first. This feature is disabled by default, and must be explicitly enabled so that queries from guests are allowed: vmpower> set_query ubuntu3 enable Then the guest can query the set frequency for one or all cores: vmpower(guest)> query_cpu_freq all Frequency of [0] vcore is 2300000. Frequency of [1] vcore is 2300000. Frequency of [2] vcore is 2300000. Frequency of [3] vcore is 2300000. Frequency of [4] vcore is 2300000. Frequency of [5] vcore is 2300000. Frequency of [6] vcore is 2300000. Frequency of [7] vcore is 2300000. --- v2: * replaced strcpy() with strlcpy() Marcin Hajkowski (4): 1/4 power: extend guest channel for query freq 2/4 power: process cpu freq query 3/4 power: add mechanism to disable queries 4/4 power: add cmd to query CPU freq