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 F0F8CA00E6 for ; Tue, 19 Mar 2019 11:57:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A0D524C93; Tue, 19 Mar 2019 11:57:05 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 122101B19; Tue, 19 Mar 2019 11:57:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Mar 2019 03:57:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,497,1544515200"; d="scan'208";a="143256025" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.83]) ([10.237.220.83]) by orsmga002.jf.intel.com with ESMTP; 19 Mar 2019 03:57:01 -0700 To: Hajkowski , david.hunt@intel.com Cc: dev@dpdk.org, stable@dpdk.org References: <20190318115647.14784-1-marcinx.hajkowski@intel.com> From: "Burakov, Anatoly" Message-ID: <261762ad-e69a-ed33-1060-8705f64086bb@intel.com> Date: Tue, 19 Mar 2019 10:57:00 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <20190318115647.14784-1-marcinx.hajkowski@intel.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 1/4] 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: <20190319105700.-HDjZQIpQvE8UY57-I9Lkgh2SKuVtH5Spy-FsPNVBFw@z> On 18-Mar-19 11:56 AM, Hajkowski wrote: > 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 -- Thanks, Anatoly