From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20052.outbound.protection.outlook.com [40.107.2.52]) by dpdk.org (Postfix) with ESMTP id EDA3C71B5 for ; Tue, 16 Jan 2018 01:43:01 +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=inoc5IsgAWenuAhSWwigPZT+N6QvXSUNCWzTZuYeCxc=; b=f6CQmZdrVBEuDoFHT9VCij17VkZRNYUucuQ0KsZRi/Zz1SjqL2Dza6GiZuYZPYthu2peWnJOMDLDL3zQIcqg4HSYIiaMz/VTTx7C69OliC7drQAwiiH7YmW+KLf3EiyhpY6wuQcqr8a/LvHDaUK8uMuRcsiHaUBA0zOx2pASyQE= Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com (10.167.195.147) by VI1PR0501MB1951.eurprd05.prod.outlook.com (10.166.44.154) 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 00:42:59 +0000 Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::2d4b:9768:b21a:e7e9]) by VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::2d4b:9768:b21a:e7e9%14]) with mapi id 15.20.0407.009; Tue, 16 Jan 2018 00:42:59 +0000 From: Yongseok Koh To: Jianbo Liu CC: Adrien Mazarguil , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "jerin.jacob@caviumnetworks.com" , "dev@dpdk.org" , Thomas Speier Thread-Topic: [PATCH 1/2] eal/arm64: modify I/O device memory barriers Thread-Index: AQHTfsssAMbvgW9NqkKv+MQQJm64FaNpShAAgAx+QgA= Date: Tue, 16 Jan 2018 00:42:59 +0000 Message-ID: References: <20171227042824.33373-1-yskoh@mellanox.com> <20180108015557.GA25103@arm.com> In-Reply-To: <20180108015557.GA25103@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB1951; 7:Vdm6mFQS/7XzkRq0vrpYYbuHEV6x+XeiOZsX7crbQ0BY4zygaI923Sd6yaWDKLOdADncO2Kl8QLC4peigNrgmx9c8e9g6OGMd9VW/lqxeT788vM/PvjYIF9ql7M5BCHLddIBq3RJfgpzlb1ok6oTzMQfWPoqqZbEalfuRe8PSism63ZYAlkeJRG1gWej9NTJNjjFnWvw66U/0yT5wuZ7mW298GMqC5B1PFMW8AWEmf1yGNhVcehWRZgfaV/w00h6 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d1612eac-3909-4d37-8c72-08d55c7a17a5 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:VI1PR0501MB1951; x-ms-traffictypediagnostic: VI1PR0501MB1951: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr 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)(93006095)(93001095)(3002001)(10201501046)(3231023)(944501161)(6055026)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR0501MB1951; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0501MB1951; x-forefront-prvs: 0554B1F54F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(346002)(39380400002)(376002)(24454002)(189003)(199004)(305945005)(6506007)(53546011)(6916009)(2950100002)(76176011)(5250100002)(316002)(7736002)(8936002)(478600001)(2906002)(8676002)(14454004)(86362001)(3846002)(6116002)(99286004)(81156014)(5660300001)(81166006)(54906003)(82746002)(66066001)(83716003)(68736007)(6246003)(106356001)(36756003)(229853002)(6512007)(105586002)(102836004)(53936002)(6486002)(6436002)(25786009)(2900100001)(3280700002)(3660700001)(33656002)(4326008)(97736004)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB1951; H:VI1PR0501MB2045.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ouhLmxCTDqJbNQokIRoZTreM9O9YqKhVz42mLsNsTUGFxQekMQNGIsX5kyEe40XA583gmDeWArQgC9he03TsCw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-ID: <2760447AF9BBF0479A75C718DEF2D78C@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1612eac-3909-4d37-8c72-08d55c7a17a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2018 00:42:59.3409 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB1951 Subject: Re: [dpdk-dev] [PATCH 1/2] eal/arm64: modify I/O device 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 00:43:02 -0000 > On Jan 7, 2018, at 5:55 PM, Jianbo Liu wrote: >=20 > The 12/26/2017 20:28, Yongseok Koh wrote: >> Instead of using system-wide 'dsb' instruction for IO barriers, 'dmb' is >> sufficient and could bring better performance. Using 'dmb' with Outer >> Shareable Domain option is also consistent with linux kernel. >=20 > But in kernel dsb is used for io barriers. > Do you consider adding dma_*mb? Right. I'll send out a patchset, which adds rte_dma_rmb/wmb() today. Thanks Yongseok