Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3883752ima; Tue, 23 Oct 2018 12:53:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV62BGkRMFeJHP8/Mg3H12HFYo/mPguSMM8LTIK5TSrryWft5wFfkOB+mu4w+Hd4naY8FW0wd X-Received: by 2002:a62:e80c:: with SMTP id c12-v6mr51540599pfi.124.1540324408825; Tue, 23 Oct 2018 12:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540324408; cv=none; d=google.com; s=arc-20160816; b=SKG7Ppanf/TKV7+DYXDwVPnoLpGJWnjHEsxgxq9G8XTcHlXV4arQ0/saii8uL/0nHW 1we6414H9aoOk8ZJxZqTIeK9gRtA0/LTZpL9lnZCt8NzvqbtbgaluMFHS25g3RvmL8oE Z2dCo7etEP2bDuzC9B+rNPsjIkYQPg8ujgqT4VKShAjAkXeULNr3aqMNrP0KRJrzn7Tf Fym9SGWmumJzRxisCp38lQxiTZgBIY6e0FmHNJnZQtzoJRJL4Ts6QNw2GmS13mZxvHZr IfkXfmMPefrCi9tiO9gHKrCVau4YsjYzrSKDkddCFKfOaYumBh4PoryRlPJZssi+X5ek 97Jg== 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=L0IbXCF0Dv9tFqVY2o/9uOsPmz7XHKEQdhI9gBXSvzk=; b=axm6if5TZdU2GZQmFU76oSFY7ZaLWgF3DtQh4W6og1qJaWL13GHLoJj2n6DJuEtdWX /vBA39clTH+vUtcqamzWsm/tU2YoZ7G+vb0ZbREcPSpPUZKlBVhNKkWF0R3CwDCxetbz fKvZBtJO5y5n7YidQ3TAxMXTKB2Ps4HLvhZbU2tJE2NCtylhYrQ3plzjYmiNpFszEHOt sMOFWulvEAuo758KztO/pMCCi+J7Dc9uh6XGqYVJ3RTD9EynXkBlRimBpSmCAtkIIxU5 bdWSp8TEssp/uUM0dd1vA67e8y/4y8QID9aDPg8c/bkyNsxFV/pKU5AmJNYucOtcMEKw 9JZg== 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 o4-v6si2240049pgl.68.2018.10.23.12.53.13; Tue, 23 Oct 2018 12:53:28 -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 S1727576AbeJXEQ0 (ORCPT + 99 others); Wed, 24 Oct 2018 00:16:26 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:48491 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725740AbeJXEQ0 (ORCPT ); Wed, 24 Oct 2018 00:16:26 -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 w9NJoZjH027206; Tue, 23 Oct 2018 21:51:31 +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 2n7u8g3npe-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 23 Oct 2018 21:51:31 +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 966EC31; Tue, 23 Oct 2018 19:51:30 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 814CF58F6; Tue, 23 Oct 2018 19:51:30 +0000 (GMT) Received: from SFHDAG7NODE2.st.com (10.75.127.20) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 23 Oct 2018 21:51:30 +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; Tue, 23 Oct 2018 21:51:30 +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/o396UtdC0AgABTcJA= Date: Tue, 23 Oct 2018 19:51:30 +0000 Message-ID: <68acbbf905384f6c80b646330a3d1344@SFHDAG7NODE2.st.com> 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> In-Reply-To: <91e489e7-86c3-6ee3-918d-151ef1697429@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-23_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: b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