From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0054.outbound.protection.outlook.com [104.47.1.54]) by dpdk.org (Postfix) with ESMTP id 18D321B21E for ; Thu, 25 Jan 2018 22:03:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7V6HricJqlxg+qhXb866gUj0plLde8sczIChdploJLs=; b=AGsR/BwI8p4XBOkvkmzcH75uYakENl4G72d3oGCEja1trq/io6ejFWcJdjPLwvrCY3gMkbX4bLTO+L8T9Ec3Xe41YBkB2s3/l1qXZ9vrS5Cc1bGcdewmb5NH9xOEaCLOOhtZYh0QwcfDbSz5RT0u9tXW2JeAAS1CNt44aoVe6j4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2037.eurprd05.prod.outlook.com (2603:10a6:4:6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 25 Jan 2018 21:03:19 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, chaozhu@linux.vnet.ibm.com, jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com Cc: arybchenko@solarflare.com, dev@dpdk.org, Yongseok Koh , Thomas Speier Date: Thu, 25 Jan 2018 13:02:47 -0800 Message-Id: <20180125210250.38233-7-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180125210250.38233-1-yskoh@mellanox.com> References: <20180119004430.15305-1-yskoh@mellanox.com> <20180125210250.38233-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: CY4PR15CA0014.namprd15.prod.outlook.com (2603:10b6:910:14::24) To DB6PR0501MB2037.eurprd05.prod.outlook.com (2603:10a6:4:6::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9d2b3572-b559-4c68-f64d-08d5643710db X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DB6PR0501MB2037; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 3:f7CnEYSOZ2FCpIZeJZITBmU9P5QeJyWQqENLoNOVr8MHADlNJkellJuQdXoG4lSNl4pMPc9NYpSYbQUAnpLQqCfbiu5Wbpve5v/uay4QQ8rc61WNveWjEM0grS56iZBtzO3ACE3IcDFwgZqXEUI2GfOUhd6TjAVmCO9r5KyMU0gcvwI/S8Htvfjd0D5CENlv4uE2cES5NVKl9i4STH4358jKK75j1LogO9t8djmQyjrXe6qOHJMOfKWQIMS8YUR6; 25:DJjnhf1id5l9ppHoCR3Y2dTyjZecCbmHRatTwdj3vbitxv0xlrmzZZRUrD6Tj5jovv82Po0GEe4S6XA/Yets1fNtd2NTBWItukO0dF9u9+e62XHNRYUQDRtDLVaipCo7RvVTHRbEnT6CYNhKuf8bhNnAqcsytYviQ6ML1Ez1sa6Ndjn2mkpkQtwztoBYZvAv+QGNGs2MXepRLSPS03JZbEHg2/eduFAfFSgnENkPlIpAo19w426J9bs85eFC6daCYlomx+U7Udvw6kUNI7NB5wi0YSAOoFfdbRCHVD5603NpshYa0hRZk5nokBNY5FxH51sjcfD3E/Q+1ePJoBh+FQ==; 31:XpICxOGezRqZonyetPWcn2V9gq6HNXida3MFaI307nqpVWuzpcQcrfV3sjnT/50Y3jBkQIrHOP2oZ6E2DVi482YBj36LNX676eixWLE/2B5mvnhGPjuxaUbncpLY/ClTg2JNl1MWNTprvNtlybRQcDnf+xYb5iXJ8vLQTmtTn5gMX45/sFZbWKPOT47nmBZaOZ3NzQODZSUHC0n+uHFX+Imk/SIvGID4IjtpnkfYIng= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2037: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 20:/iy2coYOUutjhH4M2Mb2XLU8OsQ/ETxnKnU418tpQ85zI6SO5FYxq+/CzhsrUJ5zVZYy2h89hkBgE+NTh5vMpIM8TdKDZNZ26Og9doDCKSl281m8hXIH/8YjM/645Qv9jSaZBVhzK6lUpFMYY1U88CRZ78S8WtbFRcDYYblCxkGQ0uHZ58X30Y3jo0diprPeXJ54veeLxVdEvEES/e+NH5VrQOWTmot5xLChCJb5RAlljEhHU2xuf7a/JcnJie1OJRtXIa8AuAz0VlIS2BXcWCaig1R+zmsTrIAcDC4JLpKTzCexxJW+tKyfAVxwvib79wb1rQjzXwFjbw1qO6kNA+frcyt30UBArGA+h8FK7R9JHZHbC8VB5mGAiEwXR76VGwg/ZvwgvfajCq59jABWLKCRzZvGpox8FkPflX/cHMhe3i8iBBLozNeD/f4Ag/2SSeUyIVmpoVSwe5SWOvG63O7r8h76VhTFj9rvR3klVm6+0XwxQ8PtrCYtCtqmsbDw; 4:2hVa9vSXMgOv1uQ+twRReOPIzNzzZ+fD606FBXVQakxpr+oskV5vMsYnrot4N6Ea0Jm4CqVyg7FKciBBIML5UqeHEsKENxfiVdVRBqLLNtWOexpfLAVLmMMjxCwbej5aIepGZh/6vrUSJck+IRrVObzLZFl8f7BaIQzwTKgIrmSbTtfYYEWUFGYfzT7EK3a2qO99hDfN3KaoDielVrDOdpOBKcJNqFDtLi4kDRhzlCI0GfA1lqXhr1F5wHd1C3wOE7PbFwlCaLGvaI/7T39hEq1PHz9o/n1mO6vHyOHzNZhIBKaZ6JAGpsn9bEiu+/9u X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231023)(2400081)(944501161)(10201501046)(3002001)(6055026)(6041288)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB6PR0501MB2037; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0501MB2037; X-Forefront-PRVS: 0563F2E8B7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39860400002)(39380400002)(346002)(396003)(199004)(189003)(47776003)(66066001)(21086003)(69596002)(105586002)(106356001)(6116002)(26005)(3846002)(16526019)(478600001)(305945005)(7736002)(1076002)(2950100002)(6666003)(81166006)(8676002)(81156014)(76176011)(386003)(51416003)(52116002)(7696005)(186003)(54906003)(2906002)(316002)(7416002)(16586007)(5660300001)(48376002)(50466002)(97736004)(36756003)(53936002)(55016002)(8936002)(50226002)(68736007)(4326008)(25786009)(86362001)(575784001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2037; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2037; 23:L/Bl/St3fovXB+SeS3diWxTELmcvh3kFcUxH74+?= =?us-ascii?Q?gi/jt7541VLMBv61E0B0DhB9Oz7GnjRanSL2HDzNp90HNtUNYAsEsmp/7lt4?= =?us-ascii?Q?oqu8ns3N6fQc9w1+iV5HLrd1DXWrupcW/taSV9IIKmxxYMCHLlgC87Q45vgR?= =?us-ascii?Q?EjjbZkGPyO1ti2K+/1zESOXRApCFq5Spu2xWhUZqTMyFcoFBMDqNNg+rq2Lg?= =?us-ascii?Q?17MXJ9YUAXPsbKM/ryJ3thXfAggYj5rGVnkJ9m2OyoJOsjAO9IGR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xYG5081qzoDhX+MXU0waxe/LOjfLoSCFNa1F?= =?us-ascii?Q?gYmK3HErj14hv+x8=3D?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2037; 6:s/fcmc282DzeizXeGca/xy4Bo/989XjPQ3imylRrqoFX9SHymvDKsI+KqmgJ/uGUowkQKjibICGBBYWcx2umHlYJ9TCDmv7sKCo3C5VfDGeiqChYZyKBiQI2uBataRARoi3bhY2B+0F3yrxp0VNqjNtudx2qEEFx4gqVevzXRHyGlgC0AL1X8rGC7Jgi1s2UPkdLU7NEGf/Ka8E1OYgQkaNbRO3mgcg1zKPaiMIwdqQxeP+IuLrBnBaP8j8ZAmLdq8L8k0uc2368vDroHTXu5cUPEFRXT4a3XJLB9zT4IgybbI4DlEpVJ6wvXGlPS72wKCybT0acM8a8TAUP7McU4rwMzkb/0fTrgnu14euG8nY=; 5:aIWbW2wqV4nMOgDswZiFjMzFXvNvpPsSxHlUNcHYpjM7SwYYyJQ+tAOoU34se+xUV1xRc0SMkFe7B/gKrlmewrWhfe8ytje0EJBRwuXn/tBXd6sWV67/oiGHQoKUZtTnv07Tu8wgiL9wAlAqRrLoJ2J6IRiX82rIGxOyhfBHy+A=; 24:5p64eVb/JEgGuxDAwORCtHZfcLXpCglpWo01dk/ddX8pu/yiiZ4P9kehmNH5usL++q6UhS6b21apBMVJv+sKVe/9qoO44vhLzV2lJrU/E3o=; 7:eUZxwDZXwK+Pq8pey2ejUEhJbWFr/OLgaL1g5iDno6D/xVeuBvF0mi3oG3NYZCCVZWLzSx5bROF/rNHZwzvhiqy8p46fqeqJ5rRGEK//JcoyQXkSv7Cz5pncQbhe3xx1Nw8ZQcRi0hwc98uGncEMus/WRU1SU7EVLtV5cslJArN6J5tgBoTaPtHFK4DqxQdwXWbIycH1bBQZAhww5e85nCz0+dHzcDhKLXM1gvxEhk4vahRUrV9y93yrxikJkWI0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 21:03:19.2090 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d2b3572-b559-4c68-f64d-08d5643710db X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2037 Subject: [dpdk-dev] [PATCH v4 6/9] eal/arm64: define coherent I/O 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: Thu, 25 Jan 2018 21:03:24 -0000 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..ee0d0d15a 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_cio_wmb() dmb(oshst) + +#define rte_cio_rmb() dmb(oshld) + #ifdef __cplusplus } #endif -- 2.11.0