Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp566670ima; Wed, 24 Oct 2018 05:59:39 -0700 (PDT) X-Google-Smtp-Source: AJdET5czqaYXUJPKWV/NUyIg16luKzE4LXtZyZcGwXYLIU5GWYmiBlTG+YpG1fEp7/uuXZLyuCI3 X-Received: by 2002:a62:460c:: with SMTP id t12-v6mr2617654pfa.206.1540385979323; Wed, 24 Oct 2018 05:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540385979; cv=none; d=google.com; s=arc-20160816; b=u5PPeEqhw5tVuMnT3RrN/A6vN/AJ2Y2FibKpJyw60BHXmoYiuyiF+gOYQ28qIG+RDm OPYGk/DeTg8pGpJWNcztoJXb7N+Qcb2EmP6zPQ7+vXljr2vngeBqxoRd+ZwWrb+dpwVj s6taV+ULbKh91MmViSE0QD5IAocqDlG++TWxViUHvLrBepNvwWr59BijQBQt1H4Kw1gC m4FeSys8SuIhhlx59aQpJD9KBk/dkHX5kp2xxXxUsBsvSxSp0/iysMfDaarVmv1UZw9X IhwMxRDJbNHBt3FPWDoa6OA/R1YCB0OIVYMO+niq0Kw5SDamB+uTsTg0qjKyH6WPRUt6 Nwiw== 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=PudidL8bSebFkZ8bedAww0MAUCGxFTaWA29YolMv8eE=; b=N4NPlNdz2ZyjbZ7v4B+4Cop9ZKDJmP7+Cf0AdtFyhT2JEEQy5hY8ssCCmi2Ir+7OHL mTywR7tXcpeD0SbVf1+DQBfuDeJ+ns9nI1t5kJWAIhPMzs4pizBiCUsRmBTP9s/WlR3l DrnxyWpUAmskzDwBwfIZ7RR4P3poE1BPSXE0XwkET3A7MI3tRJo3Tf2Zxgm3O32iGPc/ wksBuQuKjVyGToG3HA/iUBfEeDJCvh7CJk9sLx1Q1s4+6E1Rf6GE7FzGKF+WV+6jlGt/ Fv18/tZd34bHBc0dDY88PEj1ajgvRI5hwW+/6qbUWLQYMxWeVujQTUxpdtJVVElJt1ph CUcA== 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 ay8-v6si4287606plb.235.2018.10.24.05.59.23; Wed, 24 Oct 2018 05:59:39 -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 S1727743AbeJXV0Z (ORCPT + 99 others); Wed, 24 Oct 2018 17:26:25 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45008 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727411AbeJXV0Z (ORCPT ); Wed, 24 Oct 2018 17:26:25 -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 w9OCmmw0030579; Wed, 24 Oct 2018 14:58:19 +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 2nan9y24j0-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Oct 2018 14:58:19 +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 3530134; Wed, 24 Oct 2018 12:58:19 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 10E424519; Wed, 24 Oct 2018 12:58:19 +0000 (GMT) Received: from SFHDAG7NODE2.st.com (10.75.127.20) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 24 Oct 2018 14:58:18 +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:58:18 +0200 From: Loic PALLARDY To: Suman Anna , "bjorn.andersson@linaro.org" , "ohad@wizery.com" CC: "linux-remoteproc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Arnaud POULIQUEN" , "benjamin.gaignard@linaro.org" Subject: RE: [PATCH v4 02/17] remoteproc: add rproc_va_to_pa function Thread-Topic: [PATCH v4 02/17] remoteproc: add rproc_va_to_pa function Thread-Index: AQHUJaveAWmdax4c9E2Z2KFgg/o396UtdC0AgABTcJCAAFw9AIAAwwPg Date: Wed, 24 Oct 2018 12:58:18 +0000 Message-ID: References: <1532697292-14272-1-git-send-email-loic.pallardy@st.com> <1532697292-14272-3-git-send-email-loic.pallardy@st.com> <91e489e7-86c3-6ee3-918d-151ef1697429@ti.com> <68acbbf905384f6c80b646330a3d1344@SFHDAG7NODE2.st.com> <8f19b68f-10f5-b21f-9143-eadb0103999b@ti.com> In-Reply-To: <8f19b68f-10f5-b21f-9143-eadb0103999b@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 bm5hQHRpLmNvbT4NCj4gU2VudDogbWVyY3JlZGkgMjQgb2N0b2JyZSAyMDE4IDA1OjE5DQo+IFRv OiBMb2ljIFBBTExBUkRZIDxsb2ljLnBhbGxhcmR5QHN0LmNvbT47IGJqb3JuLmFuZGVyc3NvbkBs aW5hcm8ub3JnOw0KPiBvaGFkQHdpemVyeS5jb20NCj4gQ2M6IGxpbnV4LXJlbW90ZXByb2NAdmdl ci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOw0KPiBBcm5hdWQgUE9V TElRVUVOIDxhcm5hdWQucG91bGlxdWVuQHN0LmNvbT47DQo+IGJlbmphbWluLmdhaWduYXJkQGxp bmFyby5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2NCAwMi8xN10gcmVtb3RlcHJvYzogYWRk IHJwcm9jX3ZhX3RvX3BhIGZ1bmN0aW9uDQo+IA0KPiBPbiAxMC8yMy8xOCAyOjUxIFBNLCBMb2lj IFBBTExBUkRZIHdyb3RlOg0KPiA+IEhpIFN1bWFuLA0KPiA+DQo+ID4+IC0tLS0tT3JpZ2luYWwg TWVzc2FnZS0tLS0tDQo+ID4+IEZyb206IFN1bWFuIEFubmEgPHMtYW5uYUB0aS5jb20+DQo+ID4+ IFNlbnQ6IG1hcmRpIDIzIG9jdG9icmUgMjAxOCAxODo1MQ0KPiA+PiBUbzogTG9pYyBQQUxMQVJE WSA8bG9pYy5wYWxsYXJkeUBzdC5jb20+OyBiam9ybi5hbmRlcnNzb25AbGluYXJvLm9yZzsNCj4g Pj4gb2hhZEB3aXplcnkuY29tDQo+ID4+IENjOiBsaW51eC1yZW1vdGVwcm9jQHZnZ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