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 C08E0A0A03; Tue, 19 Jan 2021 11:42:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AEBA0140D4F; Tue, 19 Jan 2021 11:42:57 +0100 (CET) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by mails.dpdk.org (Postfix) with ESMTP id C088B140D4E for ; Tue, 19 Jan 2021 11:42:56 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 22F0058056A; Tue, 19 Jan 2021 05:42:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 19 Jan 2021 05:42:56 -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=fm3; bh= 89GHT2scfPJKUF8sCLKfb+OI6DbZ3T3eTBmsakQ4WGA=; b=WRKUGSZ+0v5ZrWJ1 0Vr6+AZT3KLnma83jQNrKF5unemHcgv0mlvV15JDPAJBUmaPHswPfTltFQ4R1y/q xG7TDZ5OHm5yUtHGB+n2RGo7SE55EYF12giVjWl2cvnW5xjjTrGI89htJQ8vnJyV V4qOHkadeD73Thg+/8rBMGA8VRxg9cQOUDcJXNDf52d+mSiUshgFshAmk7TjCiPT ItS52oiY+cRRuzhOKTZvZ5i4bvHCGdp7mXu2qdpqtmE+XPWIQuCx7zPE8ViQHoFl tdsgRQeXecECsAnWsGOdpIj7v1eKyycILioJHTe7zm02SLaRwnlSreXgqtoPUao1 FKHanQ== 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=89GHT2scfPJKUF8sCLKfb+OI6DbZ3T3eTBmsakQ4W GA=; b=KkH9vdVTtejIVLQZSz/FmoSzdoXComig/V847uIFoZvujpAEhIab14en/ 16DHOn+y1qhlDCJAOuFOSsyiu8tOWrKPFqE0ghZ8RxGL/kEEq3BMchm2g5MdaHPv 5/5XogngCvcdyWeURqce/pqJ6sirIvJECj3EC+fF4MNh1l8hN9VD1GKldXie6c4R 6Q0Mij/1XZN0wV1l4aualknDEAN/HEUD4eFmG7bH8FL3dEhQtrCfsJmQ7ymwUHU4 /OibW6CRRGtqt3GaI219JoEKHMyqWGWhfgSIKwdjNjTptdWp5SKBivxkZ8chWnum dSvsc1mUmd7W3IRMSXs0eEyMHG1FA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtgddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth 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 5F201240069; Tue, 19 Jan 2021 05:42:54 -0500 (EST) From: Thomas Monjalon To: "Burakov, Anatoly" Cc: dev@dpdk.org, Timothy McDaniel , Jan Viktorin , Ruifeng Wang , Jerin Jacob , David Christensen , Bruce Richardson , Konstantin Ananyev , david.hunt@intel.com, chris.macnamara@intel.com Date: Tue, 19 Jan 2021 11:42:53 +0100 Message-ID: <5237700.INpASENRAa@thomas> In-Reply-To: <7d39b1f2-fb18-73db-c9da-49be72543161@intel.com> References: <4544999.HkzO7cMdQl@thomas> <7d39b1f2-fb18-73db-c9da-49be72543161@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v17 03/11] eal: change API of power intrinsics 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 Sender: "dev" 19/01/2021 11:29, Burakov, Anatoly: > On 18-Jan-21 10:26 PM, Thomas Monjalon wrote: > > 14/01/2021 15:46, Anatoly Burakov: > >> +struct rte_power_monitor_cond { > >> + volatile void *addr; /**< Address to monitor for changes */ > >> + uint64_t val; /**< Before attempting the monitoring, the address > >> + * may be read and compared against this value. > > > > "may" be read and compared? > > Is there a case where there is no read and compare? > > Yes, if the mask is not set. If the mask is not set, the address is "read" anyway or it is only "watched" for any change? Sorry the mechanism is really not clear to me.