Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3441158ybg; Mon, 28 Oct 2019 12:53:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5/ZIykuSqr65CaAFJKvJwm+Rd54ZwAv7UrOv9dF3445hxbo6f0EWUHJHy1sEYuuf55BFC X-Received: by 2002:a50:9f65:: with SMTP id b92mr21472746edf.63.1572292422675; Mon, 28 Oct 2019 12:53:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1572292422; cv=pass; d=google.com; s=arc-20160816; b=VOt6sKh3FqhAOlkmkrA5AARGI5kNraz2KnPPrh1TIKokSgyTn7OaAnHPV+VzLMa579 SDRLJr7x9xT4KsNSuzXXwmMesHs0twHtjoB53hl2Y9ND1klUrn0US5WbdPiIhIcs9H7q m+nZID5bTtqxnpH8+BITQwb2Sw4e3RS+EBeT8AxAFAGX66+CaNE2oURQ0JZO8MhfS5kE Sj7kJhQIPMtXVPeu/3rLrs97+oIkLqRwZK4U67hKaG7fxRJ1LcLmCsAi8bHp8X3VOoSp vAvRlJYpIzM/7qxc+umkh2ZWLsBD5Ok7Ioy33BCyh74Q79KODeMez3Ns5nPVZ4NbN63k FnvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=gA7NVvdml+tO4M/+iSrtCV5kcc4SUQeXzYgzFAFGBGM=; b=SDv3hMVzWCX/tElE9IEpF8BO/eyp3YSaQ1aRHhZ4/uOFcV7HNzWknfVy7myrvscp07 RD7lEjGjM6NnQKkjZtDU57LFx867qADQedaYTfl/16FKCL0qIBcXbmwDSM9LRRhXLDnF hO+hod3hyMl2tjv5wDvF0jhTJtFxe9KyxNd4qhhZmBLMXrAhiHDQT/TxPu5Rf0uSXg8b 4aLk4JOKq0P3m+LST8Pnf/trfs6ZnryNoH417I6Xc6R90/2o59tkZ63ZdUKoyNB3XdbA WhnkkoEjTxA6QLkKvziWvTYeFfkAZOpes8/YwSIG8O71Z64twcknD9MVEdIACroBKKJ7 708g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ah5A57K1; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si6261613ejh.280.2019.10.28.12.53.18; Mon, 28 Oct 2019 12:53:42 -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=@nxp.com header.s=selector2 header.b=ah5A57K1; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388405AbfJ1KzK (ORCPT + 99 others); Mon, 28 Oct 2019 06:55:10 -0400 Received: from mail-eopbgr80052.outbound.protection.outlook.com ([40.107.8.52]:62981 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728554AbfJ1KzK (ORCPT ); Mon, 28 Oct 2019 06:55:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nRtb7N8HUJbZ6I+kk+tcQRVvfUk8jbgFS3ziA6iB3LnEGQSkrkqzhXnqDzCeUP1gLQAqTQ5sUBBrGEKJh6INz3suHcxoD9eXocn5VBgttHdItd/rhERORnIqbYsiuE6aRqadLV6JHQBfsvrPVNGfJBGax6wtFCDos1fPYW/0Fz5HcEIBL7jR71g/fn0Shv73k3TI7T4FnN1QtkfIjdAdQDVLRPHr/5vlIE+6vVQX5DpMktCMWI/MkeeqPbGulGnHtKuKDvjgHrdpvGi0zz1SSuknismDam7kxk07Zh3NdAFYu5/dMD53UDqzBn3B8O65y4mP0hFpq6uNqq28IA3ChQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gA7NVvdml+tO4M/+iSrtCV5kcc4SUQeXzYgzFAFGBGM=; b=fSYylWOwoH04KuRiZP708dPAgmjjT/AUhKEUcTpZPDfm+m58O/sfbR5dH6BcL5DR037BZ3scVdP2iz5bM/Aw2KjY3SdXagShldgRkomWOouGefYD+qT2HVNRS7N0AbUesSUcaevwRMEtWS3PmN3kQuwBBfZqe8aW9JWUpC/m1dv/n83CTI1jNdLkxEWgBG4wnWWDmUGyPg9lmnRIaam8PcMamSCb7GzefS+c450794U7PQo8//6bcwqAa8m0NuXgSFkJBmdeBBrPIp3NgMmrZP61czy2uBdTcu2tDZH2DrDUGQ9zmG7Dh2hg3dc/V2hcc2eT7WuNOEDObMih4bjNNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gA7NVvdml+tO4M/+iSrtCV5kcc4SUQeXzYgzFAFGBGM=; b=ah5A57K1UlPIA3NIsSUvOyfI+vZtHe+Tk4mdnEZGaUgbXb7at3ga4mv9ZI4760NUIo0AnA93txwcf1y65THKiDMChKHn1NanKnI8YkAqTcr8I0QgXjVp8Y6wulw0c4osEBpTZQhBkKpnnHD/i7O0xc9FA0BksM+VKW7j0Fepv3g= Received: from VI1PR04MB5134.eurprd04.prod.outlook.com (20.177.51.208) by VI1PR04MB5981.eurprd04.prod.outlook.com (20.178.123.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.22; Mon, 28 Oct 2019 10:55:05 +0000 Received: from VI1PR04MB5134.eurprd04.prod.outlook.com ([fe80::10f0:af2c:76ac:dfb]) by VI1PR04MB5134.eurprd04.prod.outlook.com ([fe80::10f0:af2c:76ac:dfb%7]) with mapi id 15.20.2387.025; Mon, 28 Oct 2019 10:55:05 +0000 From: Laurentiu Tudor To: Jonathan Lemon CC: "hch@lst.de" , "joro@8bytes.org" , Ioana Ciocoi Radulescu , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "netdev@vger.kernel.org" , Ioana Ciornei , Leo Li , "robin.murphy@arm.com" , Diana Madalina Craciun , "davem@davemloft.net" , Madalin Bucur Subject: Re: [PATCH v2 3/3] dpaa2_eth: use new unmap and sync dma api variants Thread-Topic: [PATCH v2 3/3] dpaa2_eth: use new unmap and sync dma api variants Thread-Index: AQHVimhlfWE0TvO4OUun0YFZridDXqdriR2AgAReYAA= Date: Mon, 28 Oct 2019 10:55:05 +0000 Message-ID: <00a138f0-3651-5441-7241-5f02956b6c2c@nxp.com> References: <20191024124130.16871-1-laurentiu.tudor@nxp.com> <20191024124130.16871-4-laurentiu.tudor@nxp.com> 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=laurentiu.tudor@nxp.com; x-originating-ip: [89.37.124.34] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 03a6b461-5073-4961-cf4a-08d75b954a6e x-ms-traffictypediagnostic: VI1PR04MB5981:|VI1PR04MB5981: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0204F0BDE2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(346002)(366004)(39860400002)(396003)(136003)(189003)(199004)(31696002)(3846002)(66066001)(81166006)(6116002)(8936002)(316002)(54906003)(31686004)(44832011)(53546011)(486006)(229853002)(256004)(14444005)(71190400001)(71200400001)(6916009)(6486002)(11346002)(8676002)(2616005)(86362001)(476003)(446003)(6436002)(6246003)(36756003)(81156014)(7736002)(305945005)(91956017)(76116006)(66446008)(66476007)(66946007)(186003)(4326008)(76176011)(26005)(99286004)(64756008)(5660300002)(102836004)(2906002)(6506007)(478600001)(14454004)(25786009)(66556008)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5981;H:VI1PR04MB5134.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jov9wT66gBEv7WqWyx3HQuBwX+yXmZnVlvxbOp5lN/ywqbbi6k3mrb6vr9/T22WvW7rVAflCjKChtmrBFS6AA+ulZy75zBKPErkzybdBMTmxXter0L79ajQygSbEq1f3xg7S4ktPux6uDbrFs7Z43no1/qeIrkH4YNKwXloyiMwUpSVDZCpr1154Jzm9wRxiAOKA5fJaxKqiohmzHbcAvQq5zWMspgBWGcBdOb+xdg6expG4ETjpYe4vHd9/5ASkPcdbyRcxMlPMjbFZifYf7BdAtcc2b+9ukmdgauHdWJimaI9IJHJ4DNV49cFnfJKmHNT5/y7YTnWYyb8ccs/ecjrAvwTv3fgqx06dxcQByEfHxIJYR3Qt2Ne/JLIO8oW7j4k9p5oxgwUr4ZJQftKsEjm6p1pI8BZXzRwIfeXDy21l3xm4KpYUQqtThRkBpD7O Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 03a6b461-5073-4961-cf4a-08d75b954a6e X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2019 10:55:05.1636 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4kbD8NQCxsq5oVdPWsFpwKf0xUnYb7MVwI8A8A5wV0PK5rWIdXx22W+JDOs+zIMvc+N41vRA4hgQ1WU05DeVUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5981 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSm9uYXRoYW4sDQoNCk9uIDI1LjEwLjIwMTkgMTk6MTIsIEpvbmF0aGFuIExlbW9uIHdyb3Rl Og0KPiANCj4gDQo+IE9uIDI0IE9jdCAyMDE5LCBhdCA1OjQxLCBMYXVyZW50aXUgVHVkb3Igd3Jv dGU6DQo+IA0KPj4gRnJvbTogTGF1cmVudGl1IFR1ZG9yIDxsYXVyZW50aXUudHVkb3JAbnhwLmNv bT4NCj4+DQo+PiBDb252ZXJ0IHRoaXMgZHJpdmVyIHRvIHVzYWdlIG9mIHRoZSBuZXdseSBpbnRy b2R1Y2VkIGRtYSB1bm1hcCBhbmQNCj4+IHN5bmMgRE1BIEFQSXMuIFRoaXMgd2lsbCBnZXQgcmlk IG9mIHRoZSB1bnN1cHBvcnRlZCBkaXJlY3QgdXNhZ2Ugb2YNCj4+IGlvbW11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