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 2EBFDA0544; Mon, 10 Oct 2022 02:54:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFC33400D5; Mon, 10 Oct 2022 02:54:11 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id D73F340042 for ; Mon, 10 Oct 2022 02:54:09 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 519C55C00E9; Sun, 9 Oct 2022 20:54:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 09 Oct 2022 20:54:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1665363249; x= 1665449649; bh=p6PvPeLUyscgWAgKNKY3q6H62WpOwgnaImUZz7OdazA=; b=T fdqYkW3AUrg33bwr2j6aejA59FxRzPsYvxgdOVLQCwRo7lWbiVbnxAcWU0rWq6/X w65khMcmgNDAI24GXBOwpzLRIvIMPwUnHsnL/D8dPRuZ0+S7PCG0DhFi1ZIHpkwV CwzPlKGoOOxl1nXgAIvthvW0vW2pLcRMc49x0O+Yr2Sm2lxh77Pm/jX3tMkeaKt9 TM6i8fyPJPCCYZgQnaPXt5b/3GpZi5Bjk1S2q2ymFc1FQzfbdTFDN6LPAf0Zg4+b O+jvW3EumQ/SIdmKQux2pBZYDa7mgxqdfoLdOAqnsJvpAh5z6qBT2sHvPvZs9FJX hsK1Kfi9LuL+2G94mVgXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1665363249; x= 1665449649; bh=p6PvPeLUyscgWAgKNKY3q6H62WpOwgnaImUZz7OdazA=; b=b k37BfZHH0fNSsco+mY3lp3iP0tZS+1M+x3iN+R0SNxeoSlPFcig5XWAiqkovM+Ew VnSU/Cxm45hmkQdcVgWkBeLz3j3gXhk7rv1g3J6eGojAvV5LX+ThSVDkD1jSMTia HMCqUPik2P0ya7wy1zD+wp+u1Oi5t8tlebmFMqVIQzuS9G8qbacZDc3LXijmRYXB wQI4iDSr/KxucT8T9WxPlOm3Rqk/v/oBpQLSH1Oc3L7xybJOfKODzmOXL93pF+Hg fexpKeMl4wc53Oi0c/EukPoUSJwekxxWCtrtJ+oSGvnPSMaeqY9QrnsS7OKutl+F cxglKb4/d7rEuudvfi42A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejvddggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 9 Oct 2022 20:54:08 -0400 (EDT) From: Thomas Monjalon To: Markus Theil Cc: David Hunt , dev@dpdk.org Subject: Re: [PATCH v2] power: add unpriv. read of turbo % for pstate Date: Mon, 10 Oct 2022 02:54:06 +0200 Message-ID: <2964748.687JKscXgg@thomas> In-Reply-To: <20220825182240.63594-1-markus.theil@tu-ilmenau.de> References: <20220824192859.66095-1-markus.theil@tu-ilmenau.de> <20220825182240.63594-1-markus.theil@tu-ilmenau.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 25/08/2022 20:22, Markus Theil: > If DPDK applications should be used with a minimal set of privileges, > using the msr kernel module on linux should not be necessary. > > Since at least kernel 4.4 the rdmsr call to obtain the last non-turbo > boost frequency can be left out, if the sysfs interface is used. > Also RHEL 7 with recent kernel updates should include the sysfs interface > for this (I only looked this up for CentOS 7). > > Tested-by: David Hunt > Acked-by: David Hunt > Signed-off-by: Markus Theil Applied, thanks.