From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0064.outbound.protection.outlook.com [104.47.41.64]) by dpdk.org (Postfix) with ESMTP id 64B89475D for ; Wed, 14 Dec 2016 02:58:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=IjGr190AkEfGsLAeH55PH10nap0AiIrBQul/oKlcD3I=; b=OFNCThTBnV1Ee2Y2leig9LBW/WfF8JaVsmXjVLDXHtAc7B76xL8YJlwtjQS8ZCD+oTQEUpZV6wR0bOocCLD/Zrtjym8zrwdwF4U06NSAbQnhh8xLdFESETxvv8byo2vOiqXrs1IqTn7jvsjhNbQBwKgGHrRzQXC/O7kYA8FovTY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (122.166.91.229) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Wed, 14 Dec 2016 01:57:54 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob Date: Wed, 14 Dec 2016 07:25:39 +0530 Message-ID: <1481680558-4003-10-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.166.91.229] X-ClientProxiedBy: MAXPR01CA0006.INDPRD01.PROD.OUTLOOK.COM (10.164.147.13) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-Office365-Filtering-Correlation-Id: 1991a46a-c9d0-45bc-1d4a-08d423c4a016 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:o8BeuCCWT8eeSInQa6xhyAGbXc5Ih4zlxLAl0kouFEXN4pBGpE6+SHkFOKm+yzcqKXHBcZmTv/7tidw1qHb74y6rwT4RSLoEsxhJ1Y+dNOq76fP8ZPkFn541ajMd9vmh83FZg2F+65UotsujWV+xPfYAfyEM2DR8oQsKix/oNiQQ5ECEhUzTP2NMw6mmesBwQSf29gmEnhESCKVEOu35tp2SYyuvi/yXE70tHnC/KwsQF6fNuKUarfcjRO0qFN2VjbxQoOSlBg0IOCfNPKJEpw==; 25:19sTNw1Le/RekLay1e7BY8wNKbd4pT7UCQiaRBGIgBabNrBteSWwbjZ7RmRMZab7Zak/Sv9nVsQpDHGjWizUJ1mq5+zEcRY9mJN6fWIREWPtPW/4PWP9QQLZr+iIqo+ylBOn/b6uttmDnNN/9d3JjErC7dtTRAcey8Qc462b2Tk95LjGpgZpoWfmLt+GN3hwTP7PCqFL+FrH4uvhRPIfsNzoBePOdOUxAhVS3oOFNOI5//MRk8I0Pom+YnwnlTb7XyOaZNlKAe1+n5FUWwmkEigYjZhG8G1eIr5/scmdNgY12bH3Qbyo7BQ61gzezVTLVkaKxPbjvYnlWZEkY2w/sIUlYzEXAeba8LOjGcAwGENbS6QC0YWTBc1sXKyWWk6WbjFrXCxiJgsB2oYDm1OLjq80pw8DtrK/z5K81GZDr078x2gjzpaZo23zSM2IpnT1kM3LUR1QtyBkhUndd4W7Jg== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 31:Z8rUnv4DGYypmmzLHlgR+7Vk7/gaaMW9zda5CtG40wcdwa5OByO9dr/8gvLY3nHyYvVPBs3UvG0svDIC/CSuVmv+ho2XGdQQt52OEtokB3+cGF7uTYak+dexVX2uPH+ALs+tldsYNI4k7cB6304/lhgo1zwGGaknO+0SmCDxOWi4HPEDFFQHs2SMuLPEZKw4gENOl7ojblKu14dFMy2Yh285cy1cpM7NVQS5gq7Jg+ABt4VRHABuQjD8XWlpS+cy; 20:a0R10WpLC3X1XE/hUIq9sW7epVLCiTu5tkVvFeSlKbZfVlxc7DP7mNX8zPtCweLdM1XRMmVec8jfAYMbR/jPaZQrQ9CzXmgCI03vbTyYJ4mDJiY/rte5KEbXki4uQoQ42pnGbulUtgBugvDd6Sqv1AkO/wIoNVV56u43RudnHRS+QYWql5ZNlRljDbUWZz50nDDzZgbyCIQUhoynAKlbWw5WOBJ6IQbikKF+Qopn7rGXx5gi2839xkIIoBeFKsGHrPfbrZ0jSPwC+LAZQWiVzm+DlXWRTFwfOy7akQ0T8fwa7gijCNGa+1nRdnlrni7oolOk2ZHAuZpvg5kGxCpPHA0PlidXuxcEGyhUBfocd0hrWRx58+eM+hPQWAt5DTWTG0B32xdRcwyXqtxa1x29oelpltxrLWdYda04ivMkLnk6ST61+nO/Zu3tEbJqAC76EnTo+/yTnCesYXh4gCsVKpzT+6JHvHV5RGEtzGRKKnCeELlKoc7B2VfB29eCSEpmtZJi3Nd1uAF36ANWD+ZSWAFn3DWapDVWNQlPmg1pGB9N2DRcvrQYiZoW9NEDd9vz8I9EeCs0dknlnRa2zNDtAiQfvJzSZR79/9N/AIfRY+M= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:jHDkZVeT8iIEWOj0KdxqSaKOW6SJ/uFATg3F8KBtdGx6iAveOakIhfhUi9DHCXBqLbfkIDLKP11fvIxetuh73zbwLV9cq6JyGdxTWbLy3A57iNB7iHZtLlqG/YIpiws27SerDUaYRgOwuIJ1SVP5RPiusvI7rzRT0vCb6SFsbab16iDU/U1nBbhHQ4Ki8y30RGgKfKm9W8ig5eXFVAm8MqFV2VjP/rJQcNbnzexA5+WHbdiqLoPVI+VO5R2hvmdTQfd+Nc9CopntEdkcY+7wtV+FOMwb7FOl2DPhXKqqyWAkejF5bPWdL1UIY9l4dauIg5x2DjrlYDnujhIUZrb8NPg5yL8JxV8Say5KrwQ/wE082UmS2at2sCfK3D60uEsEsuOjxj5AQgvFFNhoOZ55ydIAFycUM1gAXM0vcn8xs3kWVRbVILWGwr6+1b0Rmrl3Cay7TjTR2Wq22c0Y5i/GcaoonVQVfDdiNOAQ7JFfPMqeqvW8oFA0S8THRfW5vfyVvVhNlyCNLRklDyPpcg0UgIX5yq2KumNMdNEkSRxk4e8L8gHAFpZWpYAH9iJQnhvoyRN2/yWiVDoG47p/+WxbAw== X-Forefront-PRVS: 01565FED4C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(39840400002)(39410400002)(189002)(199003)(6116002)(6512006)(6506006)(6486002)(3846002)(66066001)(68736007)(575784001)(47776003)(92566002)(5003940100001)(50986999)(76176999)(81156014)(50226002)(2906002)(110136003)(33646002)(6916009)(101416001)(42882006)(2950100002)(6666003)(4326007)(4001430100002)(81166006)(38730400001)(105586002)(8676002)(106356001)(5660300001)(107886002)(305945005)(48376002)(97736004)(50466002)(36756003)(2351001)(42186005)(7736002)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1719; 23:x9SiEetmAzqRx8p63XZ7eA5J7U3EuvKEqp/4DsS?= =?us-ascii?Q?hdgUsTns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Z+Ui4xkqy9LDwwkTtl0EfRjNgZVRnRYzWJ+BIQfaEBom0O05FoKRlDKvnk8a+KicSIHOxw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:QT68WDRGbVG590flC+gek51xIg6qZPH8Sx8EvVsb0PudcIjdZvPZCDaWP7VRT3pSARGJhyAXHTZZc4kJl7bi+6QtZAN4p4GxfeJ+Vj5uxiT5Nx1chm5/LYCuZKRkKn/8jq2jkALb5/w1rIrb/VxIRxFAVaVKAWPPyjEW6grItUlwH2YA0bCbEGU0X8N0Ty5AVkZrWSu2iCqEvEStXVe6C0BEmzmAOM4pGEHf4rrn8VxqEdUftsY142Slg5RGxUsgBedD27jpFcwJw7eWGJtaD0upO87SFsuojpHjeU8vNUld1iAerIhODvVOtA+OvW8G46R5nqAsrUMa2jHEKg0orUJxN6gX1ehEnh8HVeCWZslnvg4CpgneGtTLKly+FzkUT8BV/lM5AltfVnyHjcMXNImgtdjIycekM7rS/e08D1qlk6XBo/Lcz10+JTLM2JsGrBO2nv4zoKJmXMIab4ylkA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 01:57:54.6997 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] [PATCH 09/28] eal/arm64: define I/O device memory barriers for arm64 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: Wed, 14 Dec 2016 01:58:45 -0000 Signed-off-by: Jerin Jacob CC: Jianbo Liu --- lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 6 ++++++ 1 file changed, 6 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 78ebea2..ef0efc7 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 @@ -88,6 +88,12 @@ static inline void rte_rmb(void) #define rte_smp_rmb() dmb(ishld) +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.5.5