From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id B34461B39D; Mon, 22 Apr 2019 22:22:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0E1F021EAD; Mon, 22 Apr 2019 16:22:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 22 Apr 2019 16:22:52 -0400 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=ich1ucAGCVKni9eZndgrUnZUrH6FbpE/nUlu3F0qcFM=; b=Si3eaEbckm8B jhTwO2awTIOl3GKuemqr9QDKzjzwc3b4fVc/rjP1HyE6FmtxgHprzcG1erS9iY7W hNpDtnQejm0Pi1ISFLjnwOl4jg/qIL8nHE8lq/AaVHoNtzEbz/Uhh2XmM5Znlsda ZmfwcxVwnyFb63pHhoMK3NQoY02J4fg= 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=fm2; bh=ich1ucAGCVKni9eZndgrUnZUrH6FbpE/nUlu3F0qc FM=; b=XPFdItPDA3J2+54zvmldSTKc5Fl0gu+nhERJ9Imlh8ebjTc5dkeMv2ZwZ mGHW/i0jAjk0pXTv9Rm7h2kGIdo+m1wkeTMAwPpVn5L3PJI1ROMzQ/cRjI2akdcH /1AHvjCYvQH8PG5Y8enqc5t82p20coYYMvUlie+fdXZUrKMpZ9q+bhtBQKrY+k+c F7fgvz0ZmfukkVindkxoo34zoW6zsyY5Tm1/5n6E7Bbf9R0vnsJnyXHSOjMJiQwl qo2ZEOZ+TCNKDxVN2nkJBcxvvM4OecXofmtmuoK/9UDhVGzkqSVz9zVBMYVjKhDE TGvnwLMvroHsXIeJ6Xh7dUJMgaqSQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (acaen-257-1-30-138.w83-115.abo.wanadoo.fr [83.115.155.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 475C0103CE; Mon, 22 Apr 2019 16:22:48 -0400 (EDT) From: Thomas Monjalon To: Hajkowski Cc: dev@dpdk.org, david.hunt@intel.com, stable@dpdk.org, Anatoly Burakov Date: Mon, 22 Apr 2019 22:22:46 +0200 Message-ID: <4859003.QxBCNikWM7@xps> In-Reply-To: <20190405143535.2028-1-marcinx.hajkowski@intel.com> References: <20190318115647.14784-1-marcinx.hajkowski@intel.com> <20190405143535.2028-1-marcinx.hajkowski@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] power: fix non thread-safe power env modification 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: Mon, 22 Apr 2019 20:22:53 -0000 05/04/2019 16:35, Hajkowski: > From: Marcin Hajkowski > > Due to lack of thread safety in exisiting solution > use spinlock mechanism for atomic > modification of power environment related data. > > Fixes: 445c6528b5 ("power: common interface for guest and host") > Cc: stable@dpdk.org > > Signed-off-by: Marcin Hajkowski > Acked-by: Anatoly Burakov Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id CB44DA05D3 for ; Mon, 22 Apr 2019 22:22:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E23D1B441; Mon, 22 Apr 2019 22:22:53 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id B34461B39D; Mon, 22 Apr 2019 22:22:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0E1F021EAD; Mon, 22 Apr 2019 16:22:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 22 Apr 2019 16:22:52 -0400 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=ich1ucAGCVKni9eZndgrUnZUrH6FbpE/nUlu3F0qcFM=; b=Si3eaEbckm8B jhTwO2awTIOl3GKuemqr9QDKzjzwc3b4fVc/rjP1HyE6FmtxgHprzcG1erS9iY7W hNpDtnQejm0Pi1ISFLjnwOl4jg/qIL8nHE8lq/AaVHoNtzEbz/Uhh2XmM5Znlsda ZmfwcxVwnyFb63pHhoMK3NQoY02J4fg= 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=fm2; bh=ich1ucAGCVKni9eZndgrUnZUrH6FbpE/nUlu3F0qc FM=; b=XPFdItPDA3J2+54zvmldSTKc5Fl0gu+nhERJ9Imlh8ebjTc5dkeMv2ZwZ mGHW/i0jAjk0pXTv9Rm7h2kGIdo+m1wkeTMAwPpVn5L3PJI1ROMzQ/cRjI2akdcH /1AHvjCYvQH8PG5Y8enqc5t82p20coYYMvUlie+fdXZUrKMpZ9q+bhtBQKrY+k+c F7fgvz0ZmfukkVindkxoo34zoW6zsyY5Tm1/5n6E7Bbf9R0vnsJnyXHSOjMJiQwl qo2ZEOZ+TCNKDxVN2nkJBcxvvM4OecXofmtmuoK/9UDhVGzkqSVz9zVBMYVjKhDE TGvnwLMvroHsXIeJ6Xh7dUJMgaqSQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeigddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeekfedrudduhedrudehhedrudefkeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (acaen-257-1-30-138.w83-115.abo.wanadoo.fr [83.115.155.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 475C0103CE; Mon, 22 Apr 2019 16:22:48 -0400 (EDT) From: Thomas Monjalon To: Hajkowski Cc: dev@dpdk.org, david.hunt@intel.com, stable@dpdk.org, Anatoly Burakov Date: Mon, 22 Apr 2019 22:22:46 +0200 Message-ID: <4859003.QxBCNikWM7@xps> In-Reply-To: <20190405143535.2028-1-marcinx.hajkowski@intel.com> References: <20190318115647.14784-1-marcinx.hajkowski@intel.com> <20190405143535.2028-1-marcinx.hajkowski@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] power: fix non thread-safe power env modification 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" Message-ID: <20190422202246.-k_oF54LERe96MtHwpeQ5ZyS9aCsN6Jc_wfpURpw0ZU@z> 05/04/2019 16:35, Hajkowski: > From: Marcin Hajkowski > > Due to lack of thread safety in exisiting solution > use spinlock mechanism for atomic > modification of power environment related data. > > Fixes: 445c6528b5 ("power: common interface for guest and host") > Cc: stable@dpdk.org > > Signed-off-by: Marcin Hajkowski > Acked-by: Anatoly Burakov Applied, thanks