Received: by 10.213.65.68 with SMTP id h4csp3225480imn; Tue, 3 Apr 2018 00:43:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/myaVEs06oxKGVYEhcJGeBmARw8kEB4n+tOGNznx76/axsn569q3bCn9woCbWJatS84LyR X-Received: by 2002:a17:902:bf01:: with SMTP id bi1-v6mr11605549plb.249.1522741433334; Tue, 03 Apr 2018 00:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522741433; cv=none; d=google.com; s=arc-20160816; b=ULMFe40+HeGZnTNm6fy3p5dLfm7THudI6YTtbKMAen1RriEerf6WNy9tnvCfbK1OAi D2fYA2qAE2vj8SNrJfkNisKjn9u3XZj5wxX8feuk374OlgGDCAEUp1xji2mliXqTO8i0 QgEzdDG0z3bcNBpAlF0MJKRsr18vSUdlWNGcwjL90cdJSEEbYSHUfIy2CTwB+HpcjSQE lEDbHmaR32CYV6wMZvcHRVlnllOgevLAP9hjbI4RxFHe49OK8+TgUGbBEjz/1BVnID22 1WdSB1vXESi2/LVF9+wGw18LchL3lLAkz+Gu60/AarjHr9KjXLEYZE/FUtcWCBweC7js QbbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=98tgF+hAWd+jiQFnYYZaeQUd+DJgRCYvTD/82yMFTSE=; b=CTFbKT1wVxqoBt+MZSATZA61hH9Sowxm22SWhk7j4HOYVvQKPFdoiAwGCuZV4yvjg3 Wfg3N64iMy+vtRHXGs9gFOektGYTylaJXe5Zek+jZ3rmAwxQPug0EbM+IdlsO+OGQt3V 9sDEqf7SGs99/aqIwGjvcQHIw0915vrsc0i5AhHMnlQXEdeXvcuXkGHMD65IvcWUYF4T k4NzFK6yzPAkFbGdBtmYWRpza4IcJ7K+jrek5NhqpUz7uF3gW961H30rzVkP3ZP7BEwv IzPMbGgw/Q+C1qYs9kmtYmHDKSIZrYRLy/82jqbWvc8xxDssq1ZIdSVRBq1ENxjr9zG0 3Dag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=N/Dhkr9v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si2208615plh.37.2018.04.03.00.43.39; Tue, 03 Apr 2018 00:43:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=N/Dhkr9v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754859AbeDCHmd (ORCPT + 99 others); Tue, 3 Apr 2018 03:42:33 -0400 Received: from mail-co1nam03on0054.outbound.protection.outlook.com ([104.47.40.54]:30064 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754222AbeDCHma (ORCPT ); Tue, 3 Apr 2018 03:42:30 -0400 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=98tgF+hAWd+jiQFnYYZaeQUd+DJgRCYvTD/82yMFTSE=; b=N/Dhkr9vYJBu36maN1dfadY5eF7SdlQwXIX0XveH7q6OR3tJgdEtLewd0wHOOeCC9tEShmeptpHynWrcbFlm27yuZMFt7DN1y00llWLXE/7CNNt6f2OfuEs/uwxwRBy8toAwSQJo7J8nQwkK9N4PPRLS/AKaSqspkiB1CW5iVvY= Received: from CY1PR0701MB2012.namprd07.prod.outlook.com (10.163.142.11) by CY1PR0701MB1630.namprd07.prod.outlook.com (10.163.20.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Tue, 3 Apr 2018 07:42:29 +0000 Received: from CY1PR0701MB2012.namprd07.prod.outlook.com ([fe80::4406:494:48de:6224]) by CY1PR0701MB2012.namprd07.prod.outlook.com ([fe80::4406:494:48de:6224%13]) with mapi id 15.20.0631.013; Tue, 3 Apr 2018 07:42:28 +0000 From: "Kalderon, Michal" To: Sinan Kaya , "linux-rdma@vger.kernel.org" , "timur@codeaurora.org" , "sulrich@codeaurora.org" CC: "linux-arm-msm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "Elior, Ariel" , Doug Ledford , Jason Gunthorpe , "linux-kernel@vger.kernel.org" , "Elior, Ariel" Subject: RE: [PATCH v5 3/3] RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs #2 Thread-Topic: [PATCH v5 3/3] RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs #2 Thread-Index: AQHTwfqdtrypC3mzl0CHfKiVN7XDyaPuY1aAgABUiCA= Date: Tue, 3 Apr 2018 07:42:28 +0000 Message-ID: References: <1521736009-23387-1-git-send-email-okaya@codeaurora.org> <1521736009-23387-4-git-send-email-okaya@codeaurora.org> In-Reply-To: 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=Michal.Kalderon@cavium.com; x-originating-ip: [31.168.140.228] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR0701MB1630;7:M01jdL6WsNIFvmuoyQXNjwc9L06H39bVDICK7TNYXuFpb8a0qlgN6z+kHWE2oBBFS2THCWqpDUuWkg9BODbwShsYrzOlVcseBWwV0Mu+QuHQfmWepHIBXrMdyCEvkouQVejboS0t6534kNN++8V2bv09tvmNmqIDb2txneAZDo+ytHjCUsnIAUdiHEhSik0tqQpOIWrybShdMEN0BZDB0lxZgitvTw1T9YmD8J+bsRzGtTRv8tGEIbxAantQ/2RA x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(346002)(376002)(39380400002)(366004)(396003)(39860400002)(189003)(199004)(8676002)(81166006)(81156014)(5660300001)(476003)(72206003)(9686003)(53936002)(105586002)(8936002)(478600001)(6246003)(14454004)(107886003)(229853002)(55016002)(6436002)(66066001)(2900100001)(5250100002)(486005)(2201001)(486005)(86362001)(2501003)(97736004)(106356001)(3846002)(6116002)(68736007)(99286004)(7696005)(33656002)(2906002)(26005)(54906003)(110136005)(74316002)(102836004)(316002)(53546011)(6506007)(59450400001)(11346002)(446003)(76176011)(3280700002)(25786009)(4326008)(3660700001)(305945005)(186003)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1630;H:CY1PR0701MB2012.namprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-office365-filtering-correlation-id: ddd4c7ab-fd31-4a01-beda-08d59936732c x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:CY1PR0701MB1630; x-ms-traffictypediagnostic: CY1PR0701MB1630: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(10201501046)(93006095)(93001095)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CY1PR0701MB1630;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1630; x-forefront-prvs: 0631F0BC3D received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: jUPmQd0RyyF1bzsF0DTDQ0HE8gsgAZ0v4dmmpGNTGsnazd8XmyVkCwSxda23P9QjUZIk0+BkgxAJK9v52HPcTiKXecz89V9Zmhr5rAutjq7rgYtfPeRFmzowlGTFnDJnj1AANxowfTeEfpES8H3C6Dj1te9m2Z9uj3DRXKmnESMqHSRRf6xW31qX4B3IC05ssJvR9mB+o0GChYSpK1gccETXO9kTBKBanK1yPmhX7Msbxk3W38XxuE+G7uwfyBTezx4JRnzOd0lxrlk9G6fw7ZLtIgPPDeP7pRWeAVofX6mA/50bf3MuR03gGu+CVeqV+ed5tPR8a6WOo1YRSVfopG8t3BFwWt3X8z4UtJdey/7+/wDqicn+9num/NXGffUzvFLetsQvUtMUgeK4Qkx9lKJlu7VCTAIM1eV7UJ+R11A= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddd4c7ab-fd31-4a01-beda-08d59936732c X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2018 07:42:28.1139 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1630 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBTaW5hbiBLYXlhIFttYWlsdG86b2theWF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