From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id EF9F21BD74 for ; Fri, 21 Dec 2018 01:34:49 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9B0C8220E4; Thu, 20 Dec 2018 19:34:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 20 Dec 2018 19:34:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=KObkPxHkJWg+Pjyy2AuH1S8kqVWtt79L4QFIrkyTZwo=; b=QwFtDuuFF+x3 b1EW0VYFDLdYsmEFNy/LKIu3m/MYb0ofcKNFyKz6U+fcY0r2Oqa9xiCXdmY7riEG t1e5FXcpmw8VR8ELqILYGJaydW/YwFMetFlaZj5V6W3bw9ySGF0wxeYdZdthp8zX SFT3iIRN3xFWcUiNCiZgvtKCvuh41wk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=KObkPxHkJWg+Pjyy2AuH1S8kqVWtt79L4QFIrkyTZ wo=; b=J1lQpeRD53jlSaR/i0C/7uiO5wIRF9bUtd3mAz2CWsIpUxBqTnBneU+dS Tiy4FZy+/cQSOz+/mH9FPOCyWJ8/S5tLlBjQcDo+YbKbb9P3cgsrrD03MD3wL737 a4awa0oFpHaxKqyICjJoEL05J8xKEaOW/Qvmcraw5jRlNlbCPnvUSP9YRq77+Xyx StofCZUiGFOM9WWFcoPnj/3/Vle3JPnx46CfJsjNSyaYYxED8DMY0i9RSSuvkVkh morAmeFL/9MPeGApGwzCPRrAPrt9kFGMH2t+cmNGB8hu2l5GBADfBUIWqM99pdD2 EN7ffTzp21D3xlQRg/xxRpOHGgUzg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejgedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpe fvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgv theqnecukfhppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigv pedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D0EFAE4472; Thu, 20 Dec 2018 19:34:48 -0500 (EST) From: Thomas Monjalon To: Liang Ma Cc: dev@dpdk.org, david.hunt@intel.com, anatoly.burakov@intel.com Date: Fri, 21 Dec 2018 01:34:47 +0100 Message-ID: <9553625.qWRyBzhO3e@xps> In-Reply-To: <1545317022-3939-1-git-send-email-liang.j.ma@intel.com> References: <1544793093-9971-1-git-send-email-liang.j.ma@intel.com> <1545317022-3939-1-git-send-email-liang.j.ma@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4] libs/power: add p-state driver compatibility 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: , X-List-Received-Date: Fri, 21 Dec 2018 00:34:50 -0000 20/12/2018 15:43, Liang Ma: > Previously, in order to use the power library, it was necessary > for the user to disable the intel_pstate driver by adding > =E2=80=9Cintel_pstate=3Ddisable=E2=80=9D to the kernel command line for t= he system, > which causes the acpi_cpufreq driver to be loaded in its place. >=20 > This patch adds the ability for the power library use the intel-pstate > driver. >=20 > It adds a new suite of functions behind the current power library API, > and will seamlessly set up the user facing API function pointers to > the relevant functions depending on whether the system is running with > acpi_cpufreq kernel driver, intel_pstate kernel driver or in a guest, > using kvm. The library API and ABI is unchanged. >=20 > Signed-off-by: Liang Ma > Reviewed-by: Anatoly Burakov > Acked-by: David Hunt Applied, thanks