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 D611B427F9; Tue, 21 Mar 2023 12:16:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D923410D1; Tue, 21 Mar 2023 12:16:53 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id BF88D40A7F for ; Tue, 21 Mar 2023 12:16:52 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EC34E5C00D4; Tue, 21 Mar 2023 07:16:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 21 Mar 2023 07:16:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type: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=fm2; t= 1679397411; x=1679483811; bh=zKu3s90PuT6LRdHqhWfh3OMX0MN2IF5CwMm 3fnh8jNc=; b=gKjGKfjan1LvVOItweawbnhJNjduirEIJkBLisRodrRrdrhgGw9 0Yt+wbqvqsa6vhxCvBk9iHhLcrX06r7JxcsakdygFXpIWTUwFedFFQH6K0AFMl+t NQ89z6hlDla6oy+aOt4MEYuXETcTJVy71C4F5whNr9tVfMKsQ4a4LoE5mUZkNlqV fVu0ZxcCfe0+8/nDAmVjWfACgH5ccGjX560R27ZEqOsVJ3GQ7xRU2DeN1xMIkgu3 JUz9S6KNVP3erkHXF44v6ZV7Lx2H29N0cLKGCeHWqoMA3dOfee7MdwihG0rvBR30 aPUOQU2x9Vs0XLCp8OMalxa5GyUaL5ksyZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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=fm2; t= 1679397411; x=1679483811; bh=zKu3s90PuT6LRdHqhWfh3OMX0MN2IF5CwMm 3fnh8jNc=; b=Uvn4auBbqIoqOw025GEQ0Zvm86MS9b+IwRNN+3tGWVhyE+AX6d1 8p2cKItR7Kf30NJDgfgrxTnixDVEdF3VWx7YBIZinQjhZaAFuk7NIApgSrAVZdHj 6cn9M+bAGk/+qPmEWih6VvsaVwSOwRv1FrBXhItpK4ayFok576VzZeIuPRR7oV3P cMh0ItZTaOnHp+4o0GwvCizAonv6a8rSaJ854M1a/XDUNBoverCEPj3ToVl/WaXZ oki2TBLGeZNBJiTaOJKFW8C7OGYdiH1X9NBn3ijFZCmQzpes0oDseAB2wI6HOl4u IBYll0IDLpkCWGCrKLmLo/EJu1xuFyHqdnA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegtddgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Mar 2023 07:16:50 -0400 (EDT) From: Thomas Monjalon To: Joyce Kong Cc: Ruifeng Wang , Bruce Richardson , dev@dpdk.org, nd@arm.com Subject: Re: [PATCH v2] config/arm: support ldapr on neoverse n1 Date: Tue, 21 Mar 2023 12:16:48 +0100 Message-ID: <3212656.N7aMVyhfb1@thomas> In-Reply-To: <20230321094433.736943-1-joyce.kong@arm.com> References: <20230320032655.2119718-1-joyce.kong@arm.com> <20230321094433.736943-1-joyce.kong@arm.com> 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 21/03/2023 10:44, Joyce Kong: > Armv8.3 introduced a LDAPR instruction that has weaker guarantees, > just sufficient to implement memory_order_acq_rel. LDAPR does not > wait for previous STLR to complete. And if the same location is > used in both, it does not force the write to be globally observed. > The new instruction can avoid some costs associated with LDAR. > > GCC13.0 has supported LDAPR. > For Armv8.3 and higher, LDAPR is default. > For Armv8.2 such as neoverse n1, LDAPR is supported with enabling > rcpc feature. > For Armv8.1 and lower, LDAPR is not supported. > > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang Applied, thanks.