Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp593527ima; Wed, 24 Oct 2018 06:21:05 -0700 (PDT) X-Google-Smtp-Source: AJdET5cxxEX+D1onOtBPfIywsD4ZEZQQOongl/qPr5MQiURWzX12tqDwCkYqn7L3W9qLA8B0wHIA X-Received: by 2002:a65:60c9:: with SMTP id r9-v6mr2522497pgv.285.1540387265759; Wed, 24 Oct 2018 06:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540387265; cv=none; d=google.com; s=arc-20160816; b=qsaAGHCgvIl2M+ojdaIMYjMflJdQbdHXEGscRRGxptbHSJpDlg5Telw8e7ds2YHpsE cV3GU/PZWkS9uiuLaJRbhwQRN+SX9Upas5KMVq6JnFLfttzl6egl19AW9CsqE+sRp6sv CXfeTInPq/W7eWG/ddJF4cMPZ0BY3BcRyNSLVsAXoCXnVHoLcQ6btafLxqwGrfwAAwAZ sQ0L0b5gOJHyKDdzstMTgmcck+evpEMMNImasaSrPjIw4GQOdyi28WomDR8D1GOTl/FM Lsy8NWIMMddE8Hafi4aV1lljVfWMAXGGkq3P1IfeMxZpZgYQm12PUpB4jyJyyQ4Cx1Rj 2P9A== 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=TE8vqIRMbvuGI0fYUVbwco2pExIpWzDNWrLK0riI5vs=; b=XAgdSloAq8csTzF0yrn2HkCqL5Q2ouU9Ci9OVsoGhKahiU08baOOOxNBC94KfVyVt2 yL03EURovPDBXn6xavnWFNOq9eUplWTkceSm7W7TVraOiyvPvdbidLrwrncc6/TgHEG8 /L31snt78NagBNVvu5sbrfxLkP2AuJM3m1VY+/jPs1qX2BSAan1jS2vBDVODL4ngGWJX tmdg+tkSQjjVt1BxmITGLK5P0A/fPqduUUVQcbk6Q0oRd5hOxO68l3Qv00c7j4nh0o1y REu7jFR6SE+hq8HvPIuYGVQhuYEYHQXjVWaeMVZoIDQ1ecOWl5jKSBklBqvUgdYMmD1F TSUA== 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 n15-v6si4699159pgi.537.2018.10.24.06.20.49; Wed, 24 Oct 2018 06:21:05 -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 S1726575AbeJXVsK (ORCPT + 99 others); Wed, 24 Oct 2018 17:48:10 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:40950 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726285AbeJXVsK (ORCPT ); Wed, 24 Oct 2018 17:48:10 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w9ODIns9006018; Wed, 24 Oct 2018 15:19:59 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2n7stx2hug-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Oct 2018 15:19:59 +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 5E24C31; Wed, 24 Oct 2018 13:19:58 +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 EB2614E3F; Wed, 24 Oct 2018 13:19:57 +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 15:19:57 +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 15:19:57 +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 15/17] remoteproc: da8xx: declare reserved memory region for vdev device Thread-Topic: [PATCH v4 15/17] remoteproc: da8xx: declare reserved memory region for vdev device Thread-Index: AQHUJavli4hSURdctUqSKQ4RD5ZzhaUuHcuAgADJ8NA= Date: Wed, 24 Oct 2018 13:19:57 +0000 Message-ID: <039aad0dc35d4d919bb10a9e37a860f7@SFHDAG7NODE2.st.com> References: <1532697292-14272-1-git-send-email-loic.pallardy@st.com> <1532697292-14272-16-git-send-email-loic.pallardy@st.com> In-Reply-To: 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNz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