From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] libs/power: add p-state driver compatibility Date: Fri, 21 Dec 2018 01:34:47 +0100 Message-ID: <9553625.qWRyBzhO3e@xps> 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, david.hunt@intel.com, anatoly.burakov@intel.com To: Liang Ma 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) In-Reply-To: <1545317022-3939-1-git-send-email-liang.j.ma@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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