Message ID | 20190927121601.23661-1-david.hunt@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org 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 <dev@dpdk.org>; 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 <david.hunt@intel.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series | frequency list query from guest | |
Message
Hunt, David
Sept. 27, 2019, 12:15 p.m. UTC
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
Comments
27/09/2019 14:15, David Hunt: > 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 This first patch needs a fix to be able to compile (missing size parameter). Such fix is done only in the patch 4. I adjust it while merging. Applied, thanks