From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id 6B16CA498 for ; Tue, 16 Jan 2018 03:51:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8bPvTMip+klYPfYYp/2gUKCtYMV/KZ9gmhQUFjavGcU=; b=qsVFlt2SEF2YFEtOd+hhNWvQZsZpn9wZnwdU9EOKhI2YsF0TMURdQaI0I5hvZogkKCRNkHEB9iBsmAazgawSgY1+64IXFe1LuBysCsnneH5vYF8dDCs8ef4ICzdXx4l49rjkAiaasAs3ZKSogCN4hO25MWaHccC8I5Rr8N232ro= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jianbo.Liu@arm.com; Received: from arm.com (113.29.88.7) by HE1PR0801MB1356.eurprd08.prod.outlook.com (2603:10a6:3:3a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 02:51:38 +0000 Date: Tue, 16 Jan 2018 10:50:16 +0800 From: Jianbo Liu To: Yongseok Koh Cc: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, jerin.jacob@caviumnetworks.com, dev@dpdk.org, Thomas Speier Message-ID: <20180116025015.GC14652@arm.com> References: <20171227042824.33373-1-yskoh@mellanox.com> <20180116011050.18866-1-yskoh@mellanox.com> <20180116011050.18866-6-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180116011050.18866-6-yskoh@mellanox.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [113.29.88.7] X-ClientProxiedBy: HK2PR04CA0056.apcprd04.prod.outlook.com (2603:1096:202:14::24) To HE1PR0801MB1356.eurprd08.prod.outlook.com (2603:10a6:3:3a::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 88490562-c2cb-4955-93f5-08d55c8c1210 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:HE1PR0801MB1356; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1356; 3:pAhEKwO4SwBEhVM6T+RFKcULue8nNnsSedXIi77AgZ02tVuNhMT28MNX0c4i1Yp9FR8zbfV9awL0EhWC+f4vnWXzByKWHVbB4/agmxTyYdbdWNp+cQICBxQMrj/fWlGiY2uKif90Nbt5Gpi5WEv5xsYBF0Aim3MiOIqgsB2jT2ZdvYcClDnZXS5gYZZubE3kVXQ++c/UKVBMm9Rf8AzGytpHlmR0I4WN5l42/r8tr9YH/g+wgeoy3Hf4nA8b+fky; 25:plctZNKdiJbL3zj/g7Ie0lAmoQ3LlO89pSk/unmaMwZj03p+t+Hh4SE9NWAqo9uzDjLMNon1gg3OF3ejBHCzY+YO5aZwllu8R3amU1H3xGJWWyugnrKSW9mDjxWQQunt4hC999ygW054yoYggDSKZfMV1on75OC/hOUd+Xv6hFXQZMnTtoCXfe81DFU1MF/PmlEWsNO1/Vu+LU3ASV4NfYOs3aXh0KNTQdYJCfNJMtodTHmAr4t1C/QU2AX4NcntNDXWazt/CgCiYhBXw5byI5aSdsO2rrYt5EDXIMKGa1ahEScFP7BYALdTj3jSlGDKslGULluMPHeb+06x5HxmLQ==; 31:7N10bM2Rka25X2y0S+gcl+MNlkU2aB9MZ62Zd52H+01CpGPvFOmQ0QR4TTBpn6vRidnh8Mc91myw64iLXFBvdC337Y9sP/G2HxeiLqalpjuXY+YLPjGZPz9hmFE1s/YKCI+UbP/tlXmiKizzCcJquZ6bNNGlesuDGCj/RcNwSNIXEsL0j4IlAQAgKsej998fnpsRthEqmKgS/9SddK7qB+UXzmTSA94LV26GCUiqTbU= X-MS-TrafficTypeDiagnostic: HE1PR0801MB1356: X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr Content-Transfer-Encoding: quoted-printable X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1356; 20:bmf+R9kL7dhkqX8YlWz70iZmTH51rAjXBa62OfD72kXFbHYQpYTHWTizet0IUsgB3TDGCaL9bqN1eGZg3ggzv3esvD4GMsmkGn0jho1kdWASD+gsOu09271qir89sNfZ9uabUD5cyoHAm2CtqR+VQwk6CwvR2XBgxSnfCzI9usN7O03e7uuz7oe4HCJE7XzpPiti4N7OpjIEv5HH2kgjL2iab/e9zJ+8aHCz42721r7g1WwiTpwNRpg6erY6MdtNIcN5XbzVsyNleN+EDKB+EmlkEdnbjKHG7JU3fFFpTpa85Qm2CFS+5802Fy9W8s1ZQq6TRxkyputdL4HcQy4PwtLmX8PnpmXSROVp/WZIZe6C6TuTIG/cDjRGJU1EYgqEt+fpz2nvEW5TO9RYeWZCRRRGbdzisabxTi/M1EQiOGehEz24Rkg87DhlNyY39K3A0SoeFtL/WyT8lJUt5IblHIx5Nd/5X0X5jmmkSP9SLLMhPfzh+XU938Qo6rG370d/; 4:aI2ylyt0ksr29kCaj54XbPMON2KDWG1DJakPfWGM/6vB6H/H17V/RICNOLaCmhiAdC0Lrp4ulyCQ8y8CFJ47ZyMt5EDIKvsguQsxuX9h4Y/9lFCQgRIVJnvcgL7LYnxib7YvSJ/kR0bp6x0t0X+GxasRSRpPTBgsdOwKIdkH3nFlPW4hXcyNr+QjLLDa5bdj7oQn3q/wLPNvQgjvKxHRRpkLaTWXyQyuKdvZDf/RhYJ6c//wrLwyLUUwAOYC9pZZmNWd9HCDqoVRFtDRim05chGbb28C445Q5hiW53WEP9Qbifl27r7vx+aHI1YEHDXT X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231023)(944501161)(93006095)(93001095)(6055026)(6041268)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:HE1PR0801MB1356; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:HE1PR0801MB1356; X-Forefront-PRVS: 0554B1F54F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39860400002)(396003)(346002)(39380400002)(189003)(199004)(40434004)(24454002)(6116002)(81156014)(33656002)(8746002)(81166006)(8936002)(478600001)(1076002)(66066001)(47776003)(72206003)(3846002)(8676002)(2906002)(68736007)(305945005)(7736002)(105586002)(106356001)(5890100001)(21086003)(50466002)(76176011)(16526018)(23676004)(36756003)(7696005)(6246003)(2486003)(83506002)(55016002)(5660300001)(58126008)(229853002)(52146003)(59450400001)(575784001)(316002)(86362001)(53936002)(25786009)(97736004)(6666003)(2950100002)(52116002)(6916009)(386003)(26005)(4326008)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1356; H:arm.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjEzNTY7MjM6bytoV3crY3RyVnd6dC8vZXl0SGVBZks3?= =?utf-8?B?T2g3eEpWRm9vQjM1b2twVEtuSk1zYW5GODFPMjJ2N0pBd3UvU0ZZbG5mU2JT?= =?utf-8?B?b09ZL2huK3RpOGdYOUhQOVRNRE9iUmpyTjNjQThreVFuVjFaMmlLY09ESEdm?= =?utf-8?B?UDBJRjQwM1dMZUN2Y2dIOGpqZC8vMTkxaldxbStXaHRESVhReERpY1Z6YlFG?= =?utf-8?B?Z0YvNVZjOXAvSXdiZk04VUxPS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Ah2sGxh4gvcb1E+qiQleZmaNbNqgb0YdDpWKoyCwvVCWttZToAU6XOdyJJKlOB6+U5nej1cSdn28i/owHRvWDxji9n762OiqrhNY8jONSKrugoXqTkUIqojnlQiL5FJc5gaDlE+iZh8dPodCIMJHm3S3hjmBZod9v9JqpLvSTTdDo10SqZ1Gcq54sN1D7QgC8+B0JukWWuAvT/Ey+wQZeg=; 5:bvZ1Oj6jOol9pscpyErZji8bHXRCTxNC4JC89mGdqL4Ute89D7SjU8Qpl4m2qklT43EYppjD8G+Lg9wfNmkWoqJ11yPSIzQkGN/RxWMdywuPk/MZ7QSy+kv0IB+xRX2klR014OkBPm8Umb+Ln6VfKCXeSYc52QncY1FG0arg3J4=; 24:IH0o2nSp2VVYmPy0U4j5MdOParUA6+RRhbnDfLXMd/IdnB+oHU4v85rumRECpQiJNh7UlEz1c3Y2N9WIwu21ducNUFFSxUX/kIVuvY9s0nE=; 7:2HXfAtO6AQ3E/q9hf1z+qIL0UW1czviztWDwpNxvUZarzigMPoHGcQliG8hyywpWIPwFz60YdQTpCiskldnP6dAqQWUByKayN9tv7yJBtCn1N3q9NSxSQuvIZH/v+4W4VjyCiU1KMaDkO+R/VSi8XOsPO3HwateicNtK8B7HAPhrXM8aa2LOjmR3lVxmTtcRP4ToBFi2k/CCESOwv75hkkcGeikLQiysc+7Aux+mCjywNxcyobbCQcgiO9iOnw78 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 02:51:38.8702 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88490562-c2cb-4955-93f5-08d55c8c1210 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1356 Subject: Re: [dpdk-dev] [PATCH v2 5/8] eal/arm64: define DMA memory barriers 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: Tue, 16 Jan 2018 02:51:43 -0000 The 01/15/2018 17:10, Yongseok Koh wrote: > Cc: Thomas Speier > > Signed-off-by: Yongseok Koh > Acked-by: Thomas Speier Acked-by: Jianbo Liu > --- > lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h b/lib= /librte_eal/common/include/arch/arm/rte_atomic_64.h > index b6bbd0b32..202abda79 100644 > --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h > +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h > @@ -36,6 +36,10 @@ extern "C" { > > #define rte_io_rmb() rte_rmb() > > +#define rte_dma_wmb() dmb(oshst) > + > +#define rte_dma_rmb() dmb(oshld) > + > #ifdef __cplusplus > } > #endif > -- > 2.11.0 > -- IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.