Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6276901imu; Mon, 21 Jan 2019 06:15:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN5q3YxS4bizBqqijQ6qtBC6SjKLwxxZS1HcR2ZZYcVCHxdr3tO8wHzf/j09+VqF5a7N5Kcn X-Received: by 2002:a63:170c:: with SMTP id x12mr27645765pgl.364.1548080116635; Mon, 21 Jan 2019 06:15:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548080116; cv=none; d=google.com; s=arc-20160816; b=hZhQeTwhYyLZ/DbFWAkKKWWLN3579ZzkqmG+rwoWciO6PcoSmraWT3+VBvFcftu6lt akvdTOSGgM9XiMIQQYyM8BKwSg4g+cwzp3rvvsEiyMNTquyzuG6gyoXZUtIcT5yOiNu1 MCPQbteGb4wX6oEKxS0yUD1nUXvcFH6xNm4nx7F/7VTWWWEyziHDOO5+2mumF166030O EIfefHFjhFRplMSd1KgedrfxYM4fmXUD8kJXUHidbPlnt+itN4iPu/i0SkFR101sB+40 c/qtZDPXp10RDgdqy9jWdyrs04DGm92QQ+8cYUqvOs+ynepKI1PjjubRpv4HAFkUOyDk eJ4Q== 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 :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=VFeHY2jxq8m45nQ57iEwwiuqX6LwOcEwzyNZJxQAFEU=; b=KQUDeIQh0VTe1GICQbC7Wp7C0TinATTzmtz6DRzXIAHFISAjEUQvMASKrSrqeOPnME 3VfVcLxUshNc6vTae/mVv4KvelbJ4v6eTg46LzZ+ihbl/bF1SgRlrFXReaBqECTJ3Pci 5ODnJNJfxXD2Dt6l+J/TaWwjoweZlcYAadiEpR84yiSf++MZTK7vUslQugpbOUc2lG8x +QqJ5Qe1Zc889KwTOo2t8Jh8GBHgsa5BE2dlizxvFaiacylaA04PF9NTLZoLaCCpRoty kKYiWaML/FjkT5/sTHAqo0iSclcZgKc8vAMnaTgI6tDWgUvviYGxgCj9z/5Gdb7EFu6P 2zmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=nuoIMUcf; 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 m20si10193201pgk.323.2019.01.21.06.15.00; Mon, 21 Jan 2019 06:15:16 -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=selector1 header.b=nuoIMUcf; 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 S1731477AbfAUONP (ORCPT + 99 others); Mon, 21 Jan 2019 09:13:15 -0500 Received: from mail-eopbgr70089.outbound.protection.outlook.com ([40.107.7.89]:47104 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730514AbfAUONN (ORCPT ); Mon, 21 Jan 2019 09:13:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VFeHY2jxq8m45nQ57iEwwiuqX6LwOcEwzyNZJxQAFEU=; b=nuoIMUcfN9p7SCUqRZ9RGMrya83lciFbCrxSRJhrzu6+82IQ5PvkMuCo1xAVuHTjfbvsAo9ePWWtrmJ4gSkwIer1uJjuESGkZzc2YKznNrzu2aMtsNGc7thsWNu/jSLg+bB3iWOUdyDyxOAU50hDJS6bqdC4Z2/LMd8+UXBuQyY= Received: from VI1PR04MB5134.eurprd04.prod.outlook.com (20.177.50.159) by VI1PR04MB3117.eurprd04.prod.outlook.com (10.170.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.29; Mon, 21 Jan 2019 14:13:06 +0000 Received: from VI1PR04MB5134.eurprd04.prod.outlook.com ([fe80::9c6e:406c:e2bd:c293]) by VI1PR04MB5134.eurprd04.prod.outlook.com ([fe80::9c6e:406c:e2bd:c293%5]) with mapi id 15.20.1537.031; Mon, 21 Jan 2019 14:13:06 +0000 From: Laurentiu Tudor To: Angelo Dureghello CC: "vkoul@kernel.org" , "dmaengine@vger.kernel.org" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "robin.murphy@arm.com" Subject: Re: [PATCH] dmaengine: fsl-edma: dma map slave device address Thread-Topic: [PATCH] dmaengine: fsl-edma: dma map slave device address Thread-Index: AQHUrxWNOp/8EJuxn0OkxQdQoh5L0KW1kW0AgAQ3QoA= Date: Mon, 21 Jan 2019 14:13:05 +0000 Message-ID: References: <20190118100623.13271-1-laurentiu.tudor@nxp.com> <20190118215015.GA6677@jerusalem> In-Reply-To: <20190118215015.GA6677@jerusalem> 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: [86.34.165.90] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB3117;6:FoXnt4D7bzj+MOjvoTz2+qIV+QkId/5YFG1iyywADsvohdMpDau8uPGte8Q9ZO0531gCzvi5LQigLm0qyIPiojFbVdgBfT4cLl7fFhF9Q15EeuEGmlbr7A0n+hxzDXVEiEfsc+tn53M7NmGOjnKTqCIK/SsoACFVEknf7mfWVSJoMWxcbIQM6GJczaFoO+qQfcrXI5+f2xD3SKkjUog10LWUJwNFZmzWawGk9xeV1RkGO3EjMtHW8hQo8x9cMuP1vVX8DxuV/VRhpane/Kl3hkMTofQ6Zqn6ZXn8CxP7UsRlFNi9uwRggM4AzS5gIsl+7cZtBscnTzFrH0DEeKzfV69auBYq4sGkKUejqvrbLNF+fSHYgFPRKVlv3FOZNcUZUpb5cpXXFnLzMG8AtzBVMmNQCXHAKDWDw7Y3Epc7torlz7hgL2LklHL/98wO95Q8shEWrvYi2tk6AqiwMS7UPA==;5:o240MrS3febq87rc8M3CHWXqxFqOwqoORMznEGwkl/5EEbc9u03yC53qQC3aJNJuLDjt+P9GC3ODRQ+1SyFkw7vyFwVTYmHh0c0x1jFviOhIV6wFDDJOhGcdC5Rc8SA8JonBl2lVHImyVMaT7uDMrK/IVR9AtqdrsoZqyewDCrA1tiOV1mUdt3g30Bsv/KGwRUWBNdcmLHIfrfTMOOY/gQ==;7:MgeFaku/zHGAOxNRg+jrF+Q+Vlw80S32BM2JMOU4N5GKZ9YaFdVq0ufMeUJyAAJtP2P00NKJJ+leIvGeK0dpt4t5UUo8noduzc0TaGLyB+H1Fa+V/+fiOhPW1fZs9jEr0ZzP0xsYYytjCLg6so29cQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 1c3925e3-8bc7-432e-a942-08d67faa903d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB3117; x-ms-traffictypediagnostic: VI1PR04MB3117: x-microsoft-antispam-prvs: x-forefront-prvs: 0924C6A0D5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(346002)(396003)(376002)(136003)(39860400002)(189003)(199004)(478600001)(31696002)(76176011)(54906003)(53936002)(6306002)(6916009)(6246003)(229853002)(446003)(8936002)(316002)(11346002)(106356001)(6512007)(45080400002)(14454004)(86362001)(68736007)(31686004)(966005)(71190400001)(71200400001)(186003)(26005)(66066001)(7736002)(3846002)(6116002)(99286004)(4326008)(97736004)(81166006)(102836004)(2906002)(81156014)(36756003)(256004)(8676002)(14444005)(25786009)(6486002)(305945005)(105586002)(476003)(44832011)(486006)(6436002)(2616005)(53546011)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB3117;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-message-info: olUHDu/xBY76x1XdoNfmrDSIKowUhEGZC0EG+HDVfV+xVhc7kYSzYNmluHhMp8hkCQHmlFFLopMgqT30GylLVQn8ylt6nnuWuhhtyPR/FkTq+zpa7/+Sh0qglwc6aX0+sDr8T4XJ9kHjIiEvGQaMzqv/mGk3UJj+cAa4kmIs+W6gtBrf+4H0r2ZoV/iB3O3QLYoyNe2on6o7gsTq9mK8FcjfHjx1L8fRq78036ItjwR6kB9Qk742dj3BNWz+2NnvullF4kBzGq/kJQQHvINjwKFakyDqW5NPpS+P3ybcsiNNRm9INsbd+Ituapf8pvB+k4sEWgZhdL6ehseM4YzdlW2QAf8c55WAHZbt+G5ylig7yfV6BUKTyCxVYabM/EZabJHVLJ+FaT3Z//6X2TYEdATwIDu17WABC3igQUSkkXY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <112649FD385C91408DED87BC7418DD06@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c3925e3-8bc7-432e-a942-08d67faa903d X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2019 14:13:05.9631 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3117 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5nZWxvLA0KDQpPbiAxOC4wMS4yMDE5IDIzOjUwLCBBbmdlbG8gRHVyZWdoZWxsbyB3cm90 ZToNCj4gSGkgTGF1cmVudGl1LA0KPiANCj4gT24gRnJpLCBKYW4gMTgsIDIwMTkgYXQgMTI6MDY6 MjNQTSArMDIwMCwgTGF1cmVudGl1IFR1ZG9yIHdyb3RlOg0KPj4gVGhpcyBtYXBwaW5nIG5lZWRz IHRvIGJlIGNyZWF0ZWQgaW4gb3JkZXIgZm9yIHNsYXZlIGRtYSB0cmFuc2ZlcnMNCj4+IHRvIHdv cmsgb24gc3lzdGVtcyB3aXRoIFNNTVUuIFRoZSBpbXBsZW1lbnRhdGlvbiBtb3N0bHkgbWltaWNz IHRoZQ0KPj4gb25lIGluIHBsMzMwIGRtYSBkcml2ZXIsIGF1dGhvcmVkIGJ5IFJvYmluIE11cnBo eS4NCj4+DQo+PiBTaWduZWQtb2ZmLWJ5OiBMYXVyZW50aXUgVHVkb3IgPGxhdXJlbnRpdS50dWRv ckBueHAuY29tPg0KPj4gU3VnZ2VzdGVkLWJ5OiBSb2JpbiBNdXJwaHkgPHJvYmluLm11cnBoeUBh cm0uY29tPg0KPj4gLS0tDQo+PiBPcmlnaW5hbCBhcHByb2FjaCB3YXMgdG8gYWRkIHRoZSBtaXNz aW5nIG1hcHBpbmdzIGluIHRoZSBpMmMgY2xpZW50IGRyaXZlciwNCj4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