From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0068.outbound.protection.outlook.com [104.47.40.68]) by dpdk.org (Postfix) with ESMTP id E15B42C01 for ; Tue, 17 Jan 2017 08:15:05 +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=QGxrrX56f3lb4GbY7beLtDwshif054kcwBYaznjKRDM=; b=a1hVPWqHb7+AZLux7ZmA4O8zSLQ5bZO8QNBgW4xPTJA/FRc2Uo+vcIE+aYMl6DNeEWv+mD+1a/QRKHbizuscRQj0bZt2ROyTdo7hMfCKx14o5qofCY/4dni9AvWo4EoV17gCSMpbNqq32KxAAkFEt8sC8rSfs2cbnudfEaJCHxs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.caveonetworks.com (111.93.218.67) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Tue, 17 Jan 2017 07:15:00 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Tue, 17 Jan 2017 12:43:41 +0530 Message-ID: <1484637244-7548-7-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1484637244-7548-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1484212646-10338-1-git-send-email-jerin.jacob@caviumnetworks.com> <1484637244-7548-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0030.INDPRD01.PROD.OUTLOOK.COM (10.164.137.37) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-Office365-Filtering-Correlation-Id: 60fb340e-a866-4c98-01ba-08d43ea88ee4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 3:DwdaKNiYkdydswYnOJMKpMjX5EnRVkMcVW7L3Dvv5FRRA+0SXv31+qU1mS+xR4dNee+10Qf0ITj5YX55nLf3cRUUkScLEgXe6Yob2dJvucsBjyVBSWfA9esHW3Fq/Mjyg1OgDBwASk379aQNGpaHJzrdy9DpuFXnn6C5xAXqYCFpzGZrdgHXbqPQYrpZgP8XWPYLJSblm7DJ4fa5aJODNopME0HHUI96f8Z86pt0BezO0Z1Krap6kOyamgKfAb5HuDeGQ+leAZgplCxuWfU82g== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 25:kvGuMDUuKx44R9xFLQpTKgIfHzSeFkm1VINCRYUzCAsFPjq22c8vn4KWFb/WlJc/IbmHxl1Mv3uLeBuCNIeepbzLGyof/qPJqpRJjPWqngyVFLogtFLOUvV9GmuzAFJNpOxmLjZl/3kGTZRFBOY9ZPpXU0FH821MXu3tHe9X1qqWKbJbLEyXWnGo9DSzPyHUIHrMAk+d1Aptg13Em50eGTM5r4KtRztV369JhMBs1+rDEkmz/6lgIRxR9PXiiINqm2cEgKu5G0brF9/9WSqwq/pcG9yzK0GJvoifu1wqNbHMgGLGjy+EYVG+ESKro+qgYT6iQtHZQuOTGCdWesh4xof1aBIw/u/+bwUMW3/9LmeQTpVifTpVDC7Kn4FLRkrTMdwfjPwB+5w/smI0ORvpGMoSn0coI+JyLrTJZqlNeEEhAdl/XL5a0dQW2oDC+TaL340xO+i7QQNxLcrIZewisyaVnMUTK6A1Fz6pf5u60LiQa4e3GjH+DctdR5d6iwXEAsmlS3DyYBCQ6aDRbn7EX6lnOU6Gua+MiSjkdM6DDqNnLsj71lZM9bC40wZh5RBAzjX+MgI1fn/fOtaT8/0mlRZNqaK2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QoblJgrxHEJJ4bwU9koRBVRUDaE6fL2dWaRncMhieY3IJ95Jmyuf2FcqAGRSecTG2WDHTURjKhBCPpvRkhsf0= 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)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:PXQjuZ2Lgtl3LzOnkahm/I4lJ242KdKx1mzWy97HkitVbdzux4H54C7LnLZoMtFTZ1VSNtlqmBBzFmEXGs7eGnHJVsm5H8plOI1E+8dV+696mO+pn/8f8NoxOeCCS4EeiAk4Pefm+k3791orP+QKnnP+Jf5rrw3UfqDabk7NCaJG8itAXhmKqBQ7vMlBfKO4CYkSiZteCwAjvR0YIEWcO9BNTD7vxc+bhoQj2TDnihMf8l1FNNcaQYxZsxNO3HT2dI6pBpno3IUV0uUrWzGV24dF6vpe8P4HOf/dQ01/CMwWtjiqkjFOloOK0Ns/qhxXPgV/ao6WbNZNygAH0MbLMJdcVRl4bfMUxZzxoChX0z4iANC3foxZnmTYUQUt79pE4bpmJrsp42sjsPJlNx4F67HKCv5d6QkOkJOmUzcnCZssHE5ZdpPSDSVMwqZ0G4FZ/0EEx1aOtwqLfC89whbA8McWZQbvplHQGWFJ765F8p7jDRszPHvvuZvEl2JyC++uYMcHuZw3GUioqXSusWnYBF/mfcyWMgEplHFCUGQkYUW5DdHUizuafYkQhoCgQx4+QBNLOFPmCCT2RRIk+4j2JQ== X-Forefront-PRVS: 01901B3451 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(189002)(2906002)(4326007)(76506005)(107886002)(53416004)(189998001)(92566002)(106356001)(38730400001)(47776003)(25786008)(6486002)(54906002)(66066001)(6506006)(305945005)(7736002)(6512007)(5009440100003)(81156014)(3846002)(50226002)(5003940100001)(68736007)(4001430100002)(6116002)(76176999)(50986999)(2351001)(97736004)(81166006)(5660300001)(8676002)(105586002)(69596002)(42186005)(48376002)(6666003)(36756003)(33646002)(101416001)(2950100002)(6916009)(110136003)(50466002)(42882006)(30001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BY1PR0701MB1724; 23:9MR8mlM4XGLKsPGinmvDjD0B91iNkcSs4pq2vxk?= =?us-ascii?Q?oCzwifOWUsgUPJDGomkd7vhvJ3RXxh0BO/Nz5qBWvBY8Czo/nDjgV1bRuIkr?= =?us-ascii?Q?2x4J6zsM1ljWPgwB1k2h0O+qo5ZKuB1Bi9XXD9S3kptJjggP7gkAld7oA2Jr?= =?us-ascii?Q?6IdRs5v81EYsFd0AHWweg610PmZUGF+tN/LyJ5UUiPAhVaHYfykAkmYo1I9G?= =?us-ascii?Q?NorYbngJjbcJ1ZOcXV/5rzOi+0BOaQjoiRf3caGMtX6drGWJ1tHjs8U96Zqu?= =?us-ascii?Q?k5WmPqeEnZ6rxNUnF6S4DQZcKEuYJBvZ3HuHXP9X3Y1tZPyQ0SkCTGc1lTlq?= =?us-ascii?Q?a2h+hfdky0Hy3aKy0tOEJNiPDJsdjBb5oqwVmz3Yl8Kl5QreDtPX5Qv3d0B0?= =?us-ascii?Q?XzgrK/sHjEjF9HbRt/m+tzi0OQn/kLsM9yo1z6dkUNT8XnbtftrjKh0S/Djz?= =?us-ascii?Q?jSDBNi8pINVFeVdeF4DrRBtbdHwDLYnOaINc8tyvvU/Ac9V2ziwSikU2RfMt?= =?us-ascii?Q?AE9TPnbgk34PvPtp784SBlJuNylL35js4GbNaR45oA6OE0xmuk8RAV+xYWBl?= =?us-ascii?Q?FifgAdcsULk0+60kFXwZ0Uibdn+Vz4d3gITfMR0Kw+MtmHTMDDWG5e0cBrQo?= =?us-ascii?Q?uGMEIFPAq8Opq1qTmWF2yQWnTJzYfafNr9MdpMrT7A/zht1jgamo+wRerWo2?= =?us-ascii?Q?KPCWuuOTakByP/yumfkQ5rdF5ulVfy50KXtD/TSgztJ19JbZNh76JjfbhCVP?= =?us-ascii?Q?P5np3MqOgqdnR65Gi6x3iBJ7yX4nIIKwTYjDyZ4zv0Q6QrxsCBzueSB1IRYH?= =?us-ascii?Q?F6/CLOOACgxOBAbbEQorj+suQe3NZPHl6hiVXfdGiBGi+9fxpRxnT0yUH4+b?= =?us-ascii?Q?oBiy1BbE7W/7tIQemZXyBe0Q2bMrsaORY/4KutZ6SUgOgQLXZi0KLDsHWD5Z?= =?us-ascii?Q?snYBm0ZMMahLNcSass6o3Y/2RURUU5vWcQlMnaXp9WJ5p+BXr9B4odLM1/ij?= =?us-ascii?Q?bGQR291GO6Ko4UwjuP0tCw8cRobZXRSGkfIIJ7GDR/F34lwx9DBLpnEs9r+L?= =?us-ascii?Q?gyvWeuyAFIh40q43ePlw9rTsyy4FmrftuA7yXdg95SV30Im2YTI/usF1mopG?= =?us-ascii?Q?oVp754P9Z7jh3GxPbjfiBiIK94SqZtm5Vyk0vWQpHQQjLVJv6o8be+GYXOYY?= =?us-ascii?Q?mZTPw1PzBdvoFdXAR139EN2YwS76cQE7grrOfFq7s9Fn42v14+w201BQ51BX?= =?us-ascii?Q?mlx3aPKtzoztJRLQVHP4agMn0r9MkYcWptAmZaNfc2N/sXp1R3z+GyzjaixB?= =?us-ascii?Q?A8XTqu6vKu+KSQjSQMwvr3TY=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 6:sXuNjGtpW22B3yVDWGbGgBjDqxyB/co2WrKxDWI6rKi6I/uQx1D6CbB4rFjt2z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Iq7yWdR31Grlnd9NpLj785TdbiEBdGTS22/73jZO40Kr+ABk6jD9O1LedhMWegKWhyjBy3RSNrlB/ba1/ZQcoPqkgnLGybcTHqbw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 07:15:00.8413 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: [dpdk-dev] [PATCH v4 06/29] eal/armv7: define I/O device memory barriers for ARMv7 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, 17 Jan 2017 07:15:06 -0000 The patch does not provide any functional change for ARMv7. I/O barriers are mapped to existing smp barriers. CC: Jan Viktorin CC: Jianbo Liu Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h index dd627a0..14c0486 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h @@ -73,6 +73,12 @@ extern "C" { #define rte_smp_rmb() rte_rmb() +#define rte_io_mb() rte_mb() + +#define rte_io_wmb() rte_wmb() + +#define rte_io_rmb() rte_rmb() + #ifdef __cplusplus } #endif -- 2.5.5