Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp551900ima; Wed, 24 Oct 2018 05:43:51 -0700 (PDT) X-Google-Smtp-Source: AJdET5cJuQ7JstT2sB+OkbBxtbBbBc9TlPW/enoVcs4rp1hRHjyb2/P7VN5mVVYje8QU/RGhmmhB X-Received: by 2002:a63:f74f:: with SMTP id f15mr2434522pgk.190.1540385031105; Wed, 24 Oct 2018 05:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540385031; cv=none; d=google.com; s=arc-20160816; b=BFVYvQM5lbfTATWNU3xTqd5a6NAt0bGOWUGNJgOknscprjyjMLs87qLsObrgVA7FeZ ABslIPB3j189kMHUjZybV/IDNDiz4yrOEf9WoT7nxhH+GFPHodrm4sdIRJcLUT9hCvVA YnykdphPEst/Q5yrOuOI6+oahJZzeitTuLvYleUm3ufZQtjX03sPA4HJ5flGHfJ5eBlT EpToYbmweW5mmOASyC6UFT5vlhqN5id9tpuv7/PXFW4KhiLQnbTkqBFVTus3Hz5KulTb tMG3BtVtd92V/5GQ7IqSFtybFqhIsk8YVjfog7m+St0wsf177S5SQCv77cJRnYVxZTF8 nbmQ== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=A51J2gLgMWNNcwV3If1uxx/nMkP4pHnzLBNXWOfMNtk=; b=C2851Lhtp7E27VBHL+sPywjruVyuqQrGnCTPrzOszXdbJq8/RDLf+uV0FIL1PvaW8z +CgoL8wmGwmqVHMJxTbg4wBTrI1fIEW1FRkC5vN/lPDl9TToNx/s6Yrtjz8FFjbQhOVJ EfdopmR/bERPXhsC/TbfX77YKLE56ALwfltTxOsxW+Vbzg0s9Q7ICDhkE0uCPJTDgvvk g+Kgp2PSfADa8y0g+APnxW/EjTs0edSV5m6++IrR0S4WtCAPAzzUhnNTZBxdxOB8pOIn HQe6yBh+LsAhcprZHoBc6OQRM4W85uHEkQPlXFZhMKJi1Ivymt4gX6aKf0zka7uwB4Pc Ijkw== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2-v6si4399892plk.264.2018.10.24.05.43.34; Wed, 24 Oct 2018 05:43:51 -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; 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 S1727546AbeJXVKt (ORCPT + 99 others); Wed, 24 Oct 2018 17:10:49 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:43705 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726899AbeJXVKt (ORCPT ); Wed, 24 Oct 2018 17:10:49 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w9OCcY1s024227; Wed, 24 Oct 2018 14:42:43 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2nan9y20vy-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Oct 2018 14:42:43 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A07303A; Wed, 24 Oct 2018 12:42:42 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6B8712AE7; Wed, 24 Oct 2018 12:42:42 +0000 (GMT) Received: from SFHDAG7NODE2.st.com (10.75.127.20) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 24 Oct 2018 14:42:42 +0200 Received: from SFHDAG7NODE2.st.com ([fe80::d548:6a8f:2ca4:2090]) by SFHDAG7NODE2.st.com ([fe80::d548:6a8f:2ca4:2090%20]) with mapi id 15.00.1347.000; Wed, 24 Oct 2018 14:42:42 +0200 From: Loic PALLARDY To: Suman Anna , Wendy Liang CC: Bjorn Andersson , Ohad Ben-Cohen , "linux-remoteproc@vger.kernel.org" , Linux Kernel Mailing List , Arnaud POULIQUEN , "benjamin.gaignard@linaro.org" Subject: RE: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool Thread-Topic: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool Thread-Index: AQHUJavkF36KvkhroUKheT26RJQNr6UEnv2AgAA/aID///NZAIApMV+AgAAHW4CAANf3AA== Date: Wed, 24 Oct 2018 12:42:41 +0000 Message-ID: <30fc4389a49244c29c0025b3923dd565@SFHDAG7NODE2.st.com> References: <1532697292-14272-1-git-send-email-loic.pallardy@st.com> <1532697292-14272-14-git-send-email-loic.pallardy@st.com> <88325716f2a6447a9e12312674be317b@SFHDAG7NODE2.st.com> <472565ee-1327-a8a4-3b32-224ccafd3daf@ti.com> In-Reply-To: <472565ee-1327-a8a4-3b32-224ccafd3daf@ti.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.49] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-24_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogU3VtYW4gQW5uYSA8cy1h bm5hQHRpLmNvbT4NCj4gU2VudDogbWVyY3JlZGkgMjQgb2N0b2JyZSAyMDE4IDAzOjQ5DQo+IFRv OiBXZW5keSBMaWFuZyA8c3VubnlsaWFuZ2p5QGdtYWlsLmNvbT47IExvaWMgUEFMTEFSRFkNCj4g PGxvaWMucGFsbGFyZHlAc3QuY29tPg0KPiBDYzogQmpvcm4gQW5kZXJzc29uIDxiam9ybi5hbmRl cnNzb25AbGluYXJvLm9yZz47IE9oYWQgQmVuLUNvaGVuDQo+IDxvaGFkQHdpemVyeS5jb20+OyBs aW51eC1yZW1vdGVwcm9jQHZnZXIua2VybmVsLm9yZzsgTGludXggS2VybmVsDQo+IE1haWxpbmcg TGlzdCA8bGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZz47IEFybmF1ZCBQT1VMSVFVRU4NCj4g PGFybmF1ZC5wb3VsaXF1ZW5Ac3QuY29tPjsgYmVuamFtaW4uZ2FpZ25hcmRAbGluYXJvLm9yZw0K PiBTdWJqZWN0OiBSZTogW1BBVENIIHY0IDEzLzE3XSByZW1vdGVwcm9jOiBjcmVhdGUgdmRldiBz dWJkZXZpY2Ugd2l0aA0KPiBzcGVjaWZpYyBkbWEgbWVtb3J5IHBvb2wNCj4gDQo+IE9uIDEwLzIz LzE4IDg6MjIgUE0sIFN1bWFuIEFubmEgd3JvdGU6DQo+ID4gT24gOS8yNy8xOCAzOjE4IFBNLCBX ZW5keSBMaWFuZyB3cm90ZToNCj4gPj4gSGkgTG9pYywNCj4gPj4NCj4gPj4NCj4gPj4gT24gVGh1 LCBTZXAgMjcsIDIwMTggYXQgMTI6MjIgUE0gTG9pYyBQQUxMQVJEWSA8bG9pYy5wYWxsYXJkeUB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ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgZ290byBvdXQ7DQo+ID4+Pj4+ICsgICAgICAgICAgICAgICAgICAgICAgIH0NCj4gPj4+Pj4g KyAgICAgICAgICAgICAgIH0gZWxzZSB7DQo+ID4+Pj4+ICsgICAgICAgICAgICAgICAgICAgICAg IGlmIChtZW0tPnZhKSB7DQo+ID4+Pj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ZGV2X3dhcm4oZGV2LCAidmRldiAlZCBidWZmZXIgYWxyZWFkeSBtYXBwZWRcbiIsDQo+ID4+Pj4+ ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcnZkZXYtPmluZGV4KTsN Cj4gPj4+Pj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYSA9IHJwcm9jX3ZhX3Rv X3BhKG1lbS0+dmEpOw0KPiA+Pj4+PiArICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Ugew0K PiA+Pj4+PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qIFVzZSBkbWEgYWRkcmVz cyBhcyBjYXJ2ZW91dCBubyBtZW1tYXBwZWQgeWV0DQo+ICovDQo+ID4+Pj4+ICsgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgcGEgPSAocGh5c19hZGRyX3QpbWVtLT5kbWE7DQo+ID4+Pj4+ ICsgICAgICAgICAgICAgICAgICAgICAgIH0NCj4gPj4+Pj4gKw0KPiA+Pj4+PiArICAgICAgICAg ICAgICAgICAgICAgICAvKiBBc3NvY2lhdGUgdmRldiBidWZmZXIgbWVtb3J5IHBvb2wgdG8gdmRl diBzdWJkZXYgKi8NCj4gPj4+Pj4gKyAgICAgICAgICAgICAgICAgICAgICAgcmV0ID0gZG1hbV9k ZWNsYXJlX2NvaGVyZW50X21lbW9yeShkZXYsIHBhLA0KPiA+Pj4+PiArICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC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