Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp735395ima; Wed, 24 Oct 2018 08:25:02 -0700 (PDT) X-Google-Smtp-Source: AJdET5eJSioGNXJouQnh5ZGD4tNlSQrzdywzqj80tTxAor+tPYzxYO2BNFO1InD5/pLCTNv1JGSj X-Received: by 2002:a17:902:8202:: with SMTP id x2-v6mr2934472pln.192.1540394702485; Wed, 24 Oct 2018 08:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540394702; cv=none; d=google.com; s=arc-20160816; b=s8PsatWn8ZPFjtp3p45/fHr9MQO6/Hz4oo/gbX49JHTD8RWqLdMSTrV9KivfIxYxz/ 5WTkOpjjvloLuD7l6WmWwPj+qp44tebrrGeAsYsmM4tRnMoybvlkKr/FyhuOAHFHm/Rj ZTvq/yEncWLliUCs+JRRHLAOJZ+j2CDlv9nhohry/pRKgKpEuZoCn6lpTujaeRjtlvBc kuPLSo/mxJvSLSADobpCZmKRkUKQiIb557ab4p/hyEtp9oFuSo/xwudqUP3ADgedsjUQ dWpjSuJW099chlaIx79xFBPsT0ZcS78h5A9shN5nBSNF2NGzOaIYFg56GKWaxAvd8Sbc NaBA== 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=+0NRmhLuVE8xm7TC0s2j8sDxKVsHnOvDOvMpnyrx4Lc=; b=ZsBoYie12Dt9750jKYWysmFPYycxx1V2yISxxADSOHhitPKFjNgjvKpQdeYMuaPvt4 cdibY1Z33Iq3do1pSNP99NM5EgvM04/fcxeWlU6h7aGp1Ln7PyP09P3U1owpEEuq/7ev IJMaAXoidNFbEfTEvUZe8V6FLjR3L5RAchmUv2h++4CFG0NnON3Gc66ahCFUZ7dagp+c Qer8acP6oQTCHkprzppx9m4qhxJoApKffq4NL3LSF6PZGU1pVMZZPbvt3VMHJTDj49LL 1DWN9ZSLRHlWuL0+Pa/BLKEWG7pV2qC2hBjbeCkxYLFD1NS1PTBYF2gwTMsL/tqSp5vb qWmQ== 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 u37-v6si5115995pgl.585.2018.10.24.08.24.42; Wed, 24 Oct 2018 08:25:02 -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 S1726575AbeJXXwm (ORCPT + 99 others); Wed, 24 Oct 2018 19:52:42 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:49195 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbeJXXwm (ORCPT ); Wed, 24 Oct 2018 19:52:42 -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 w9OFDxcf017368; Wed, 24 Oct 2018 17:24:05 +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 2n7stx3em2-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Oct 2018 17:24:05 +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 A3E653F; Wed, 24 Oct 2018 15:24:03 +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 7D64351A9; Wed, 24 Oct 2018 15:24:03 +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 17:24:03 +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 17:24:03 +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 10/17] remoteproc: add helper function to check carveout device address Thread-Topic: [PATCH v4 10/17] remoteproc: add helper function to check carveout device address Thread-Index: AQHUJaviZhWhit+O1E6QgB3gy+7EXaUtzpwAgAE+f1A= Date: Wed, 24 Oct 2018 15:24:03 +0000 Message-ID: <8b16461d7d99487480253cde5cdcfd2c@SFHDAG7NODE2.st.com> References: <1532697292-14272-1-git-send-email-loic.pallardy@st.com> <1532697292-14272-11-git-send-email-loic.pallardy@st.com> <2844874b-9484-aeee-c614-411d0ff38d12@ti.com> In-Reply-To: <2844874b-9484-aeee-c614-411d0ff38d12@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-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