Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp454715ybx; Wed, 6 Nov 2019 03:20:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwHC7oRixO3IToOaVSfSC0nOboqMrbTJkcwl4vfxh07pcJi/qQR9rER3M5YmnrYuFUY0TsM X-Received: by 2002:a17:906:49d1:: with SMTP id w17mr34660277ejv.101.1573039233823; Wed, 06 Nov 2019 03:20:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573039233; cv=pass; d=google.com; s=arc-20160816; b=PzlgSfZBezSpBFJMY58rcKdOswxOX2pouV9ReEY16rig9cTOuTsm64l6SqYSAFGtSv cKQvRkgaod22aNvWwWE2phvDyaq3C/ss+TYH1cry6WvbCt0ddgzaiso9gPpspMUhr4TT bQQU4TsGcOw0iCGx10N0Zdirzaa0vSXlMLcvW/kPo/qXUYHBrZJJc4ClqHIf+Hz6ES+4 Jr/0NXsRoawcrDUXE9oiXSdfbJy65YCBHdG1KNzCzbouYVnyQCjm5dOSIV5ByuNQU7pF VKOUw1v6LKOcQPPU7AsLFwhEAYqWRnmIUDZJ9L6OwQFq/qAy+8RM09j4iRR8qmXX8g1E BZuQ== 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=xORQp9rJxfWywzdeoxfH2dD41fhMmfUkr/fTR1zeNBw=; b=a64bf2ihCq86/CuNk5ayOQ4BuPAYkWnCPFrO+JBSDWmcj3l0EyYuaaoFt5SstW8oaT 5rsS4WM4BE9aJMX1C1C5bkYGjr/Ix4aK//zqCIpHBPKYetqP/X5uhmeQe+JdC7zN4Uig YU3L3PoywHFeKiQQHJkErcSbrf0PuyEmCvlKCLhM95gNQnJ9FD2XXfMhItliSqV31W5t Y5ZiOAziFlogfxB8bWnDVRcvNfrg5YnHI5Z1qLtwtptMkNEhJo8lutkkj/nX23aGWfl+ 4/ogWxASQ49WYJ5OczQgGadrJfm2tcuWt4N7/cCwCsA9rajekSepM7yQR4sd35v4SnoV DiXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=DI7xPu6Y; 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 z31si12797380ede.236.2019.11.06.03.20.10; Wed, 06 Nov 2019 03:20:33 -0800 (PST) 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=DI7xPu6Y; 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 S1731483AbfKFLSm (ORCPT + 99 others); Wed, 6 Nov 2019 06:18:42 -0500 Received: from mail-eopbgr60080.outbound.protection.outlook.com ([40.107.6.80]:39582 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725890AbfKFLSm (ORCPT ); Wed, 6 Nov 2019 06:18:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J+WQV49wqDTkBCpHccgc15RrHGs2AqmFbOwfvB0nHDBYG+4wxY3uyc/W11xJ4pIUaj7a+kcmPD3oBawW/FNDvE5SF81R97/wJBfeBGeFC75Z6pYhGnQmkbVYQpOraliHwifPUf2PP/li2JITEv1omMw2NCb28eyrF0w/xkhYRRrrbIlL98B+IkC2jz1V7IkkoEDCIT9K39FPZIT9dMqTD9l0fuNAzz26/br0thmkez+Fr2BNpIo1+EeE0BdH5EpOiOTI0XImHO49ynhlpHWB5MgbUpuWO4NHwcvLm98UYp/TSLhNHfVQ1WHEYe5O6qlOIxFLuVF9A+++QcjSiJtvGA== 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=xORQp9rJxfWywzdeoxfH2dD41fhMmfUkr/fTR1zeNBw=; b=LNvrSr0uX28rQLdRN0mTOdWIMJ7XV3G/uAwgT54XytRd71P9mvqsvEhxUi07GS5e7ah/XVXVqJuG6bo7hRCywnRobCvUOSCbnk1yGS7IFmQ1fP9wC0UhaQScg2EPCJV3K4WG+U9D/RHN/ATHGx0aO//A5GIf15diT88drr/WJMNFVjNOjge1Laa/JHR+WLSp6J4DeE7QvenN9QDuQcMsQiktsqKM3j+8LI370Qq62yQtwdJ0aCHQ0gXY8KUguzeX7b8MiI6JvGq6BsbBKzB8MeF0p+eZV93RZ7HoAc4DIrR9TsN2p3LtuE7lZAueBhND7h7NHFJCq5G6Ouf8XkF4/Q== 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=xORQp9rJxfWywzdeoxfH2dD41fhMmfUkr/fTR1zeNBw=; b=DI7xPu6YADDit3uE96/yPdx+Atd/gyhLy8D0+I0F8VCJPt6AJ7F1G5KVo0q8/7V2lHSKlo16XGYbARAHu+7Xm6pyoaX569tNb5jWzmCCjdlFIZ8P82SUsi6vXV+sDVHsJ50OAPSbV05WpIaYVD4BWIxMkfCkREh+BrYmIokanXY= Received: from VI1PR04MB5134.eurprd04.prod.outlook.com (20.177.51.208) by VI1PR04MB5182.eurprd04.prod.outlook.com (20.177.48.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Wed, 6 Nov 2019 11:17:58 +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.2408.024; Wed, 6 Nov 2019 11:17:58 +0000 From: Laurentiu Tudor To: "hch@lst.de" CC: Jonathan Lemon , "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: AQHVimhlfWE0TvO4OUun0YFZridDXqdriR2AgAReYACAAAwSAIAOH06A Date: Wed, 6 Nov 2019 11:17:58 +0000 Message-ID: References: <20191024124130.16871-1-laurentiu.tudor@nxp.com> <20191024124130.16871-4-laurentiu.tudor@nxp.com> <00a138f0-3651-5441-7241-5f02956b6c2c@nxp.com> <20191028113816.GB24055@lst.de> In-Reply-To: <20191028113816.GB24055@lst.de> 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: bb78f0bf-8f25-4168-7b1d-08d762aafabe x-ms-traffictypediagnostic: VI1PR04MB5182:|VI1PR04MB5182: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 02135EB356 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(396003)(346002)(366004)(376002)(39860400002)(199004)(189003)(305945005)(6506007)(99286004)(31696002)(229853002)(7736002)(76176011)(2351001)(26005)(36756003)(66066001)(6916009)(256004)(71200400001)(186003)(478600001)(81166006)(8676002)(86362001)(81156014)(102836004)(66556008)(66946007)(14454004)(91956017)(64756008)(66476007)(66446008)(76116006)(5660300002)(11346002)(6116002)(44832011)(53546011)(25786009)(1730700003)(316002)(8936002)(71190400001)(2906002)(6512007)(6246003)(3846002)(2501003)(31686004)(4326008)(6436002)(5640700003)(54906003)(6486002)(486006)(476003)(2616005)(446003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5182;H:VI1PR04MB5134.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: SbunjZl5129XMlk7NFADg1gTI6SftWBMRyfxFSzhVoT6sNoa7sMwf/qcGAj5Dzcrnjg2HRRRc0S44oPcXLa9fxUvrVgL8OYTUglk+bf6MAf0QrR+LdBSnwkG17CArfEk7auiO8uLTvIwAaozwTZqHNQp+Dp5wuGiCpyqxw8UTQ6Z6lE+i86aS71SW0nHaH5dgINmAEywUqljodUCAqms3tUhu8vQeXGCqxZIHBjuOwPX2RSfRWY6V+kx2ZWUNnAdE0a4kEkJdK5aW3x2PxsMRDwTR4Wxfwpi2MINlhlt6l2efpBHHn2TQKtmPE8Uwa/aj58u9S6pPQTrgk35KtFY+ewn3UEpszsyRlv4SL/KZsbX7b2bLKJcpiMU0pVy9oUzmkzd7mjpGg4Pcd0lc5JvYEWkULOq3KHGVp/VSO0UUVat8U0Kt0O/5g7lyouWDZZr 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: bb78f0bf-8f25-4168-7b1d-08d762aafabe X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2019 11:17:58.6234 (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: KD1nTC9oY4brBCEB5rnLvqiF8X/1/iA40Z5ThfSDNnoC6oejQDL1WCIF2nWerZwUZ3bBnX+ewJakQubT1+7CtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5182 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpPbiAyOC4xMC4yMDE5IDEzOjM4LCBoY2hAbHN0LmRlIHdyb3RlOg0KPiBPbiBNb24sIE9jdCAy OCwgMjAxOSBhdCAxMDo1NTowNUFNICswMDAwLCBMYXVyZW50aXUgVHVkb3Igd3JvdGU6DQo+Pj4+ IEBAIC04NSw5ICs3NSwxMCBAQCBzdGF0aWMgdm9pZCBmcmVlX3J4X2ZkKHN0cnVjdCBkcGFhMl9l dGhfcHJpdiAqcHJpdiwNCj4+Pj4gIMKgwqDCoMKgIHNndCA9IHZhZGRyICsgZHBhYTJfZmRfZ2V0 X29mZnNldChmZCk7DQo+Pj4+ICDCoMKgwqDCoCBmb3IgKGkgPSAxOyBpIDwgRFBBQTJfRVRI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