Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1638664pxa; Thu, 20 Aug 2020 17:01:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjjeMT7e10a+RzzS+3v2Mm25mGDGJT+3eIU/xTD8wuK2i67e3ERjvs1oFvXzMRbBMx4rqy X-Received: by 2002:a17:906:338c:: with SMTP id v12mr407197eja.52.1597968093984; Thu, 20 Aug 2020 17:01:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597968093; cv=none; d=google.com; s=arc-20160816; b=0NrjYLm26PS5rFPw2/wKiCd/ByqAFMVmjr0xTy3lagjaxoZJWn7OLMNRZMbhpMYjSU v5UcUdc4nrDnoMlMjp/756sjvqlQVBz51UI2FUJXu6OmO82BHku4ZshAMxZoZ9gczsYe CNh7KgDHzj/uAnpudGPKkINRofn1qLXcXHZQyRD5hzkfu4z4DvZ2GbFwr/RH5pZFoM9F 3+zIQ31bg/B/vDvbfKfyira2DLvpGduuKkuY6Kpu71tzLElojCAsTgje1d3dkrYYb1Pg c/1UoFInWAOFvK0b50nmWchWmunau46fDhZB3GvLOtXc48ALymRdJ4OR8J59rnqGUWD7 YxUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cqYejF0FPIa+d7AlSTm/Gc7YgLZloIvNKdqMBUt+AsY=; b=UH35hCEsY4GCZ+mJHb3ypsjCtbnswoCsQXYtmKUIMPfqewvd+m2J01vUVFVgDX2PWi gj+kCY2fFPOSVxQtRlDr6n657+9uSxpfw1HEALEmfx+yE4ydrYNJTYvTmjaLDL3rV018 yyB3jE9tN6ZzI63aqMq2qbxdpou7XVxuCPyjsH7Vau5EjZA5nGsfpNMMZGNRxDfkoaqw IY/Za1phkOl1f0SgEFnDAqCW0xp8zN18L/5n065+hs7Rl6/fh/YYdmJasjaAPSLKm74o f538UlssLYKp5cvLknHe8I9DCsM844aXddLLTAzzMrS2u43yZVP8XTCJNhSLiJToI32M g2Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmSuTZ6K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k7si54733edx.608.2020.08.20.17.01.10; Thu, 20 Aug 2020 17:01:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmSuTZ6K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728450AbgHTWcn (ORCPT + 99 others); Thu, 20 Aug 2020 18:32:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726951AbgHTWck (ORCPT ); Thu, 20 Aug 2020 18:32:40 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFF8CC061385 for ; Thu, 20 Aug 2020 15:32:38 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id b11so148398pld.7 for ; Thu, 20 Aug 2020 15:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=cqYejF0FPIa+d7AlSTm/Gc7YgLZloIvNKdqMBUt+AsY=; b=ZmSuTZ6KCJTKQKYPSjUEzF+uUSfIT436CakTl8Wsy2kuSFOCKhSZFNeBCpXzco52S5 4Hs2YyW722vCbqGe6gp2y9myXYF2tYNIalRG2jhoX2/cyZAGdMOrE1magYkANmez1tkB WJzvolLoKBbHKRRGw8UYPOxKughFUpBFbelIKntmosFIOYkKVD1X59zjvpxAew/7dkN+ /76RUY4lJF2MnQ4++9d31b9hChdA83/hAYV41+1UwncGCXplygCGZgsFiMQC1+PVYi2m 6kluZlpaiDDUXJEeTXDU2yg5NXK2UUtGo0gmLTKDBKXQrrpwxO7E9qijtMURRvVMHul4 JkQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=cqYejF0FPIa+d7AlSTm/Gc7YgLZloIvNKdqMBUt+AsY=; b=kzL/llK1U9KXHBAwCJhTWAVwThLex3gea+JU9+xfPd3pWdIf+QbPDwn9YlfO3L8tEp pGZK9FdswiNt/w90ASr2vqHK/G71/rnQb0WT8fz9BAgELRpNwqNebMmFIimhngxa1m9p onsdqUtr1iXR349pi9qq441B6j8+AQRA8Yf2elEhplFPGVKV8eMZvgMgBtz7QeZHsh+n qq10Y/8S2PBvioQoJoInKTl67DzyGMtFdDTTGn8yFiIPMr/LlZbUEviFgdeeUunC7kJV GwU4aUoTUZMOCnflRi5gLDrysyWOY49c9waw3MQq3gSMFqML63pqiApzc4gpJ1AzJiRu eAmA== X-Gm-Message-State: AOAM5302jnnd7N9ao3H4yOB2ebsrypK4KaJuZ/SABEDHONoAras7hUyv qwf0YfY/SgMZlUPLnHtZptGRXxH2wJd4RA== X-Received: by 2002:a17:902:82c1:: with SMTP id u1mr451157plz.224.1597962758478; Thu, 20 Aug 2020 15:32:38 -0700 (PDT) Received: from xps15 (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id h19sm11668pjv.41.2020.08.20.15.32.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Aug 2020 15:32:38 -0700 (PDT) Date: Thu, 20 Aug 2020 16:32:36 -0600 From: Mathieu Poirier To: Arnaud Pouliquen Cc: Bjorn Andersson , Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 0/9] introduce name service announcement rpmsg driver Message-ID: <20200820223236.GB3938186@xps15> References: <20200731114732.12815-1-arnaud.pouliquen@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200731114732.12815-1-arnaud.pouliquen@st.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 31, 2020 at 01:47:23PM +0200, Arnaud Pouliquen wrote: > The NS announcement is implemented by several backends, but could be > considered as part the RPMsg protocol. > In this case it should be managed as a reserved rpmsg service and so > implemented on top of the rpmsg protocol. > > This series introduces the rpmsg_ns driver that handles the name service > announcement. The virtio backend is updated in consequence to use this > service. I have started to review this set, comments will be spread over a few days. Thanks, Mathieu > > Applies cleanly on Bjorn rpmsg-next branch (ddd1930d6e3e) > > Arnaud Pouliquen (9): > rpmsg: virtio: rename rpmsg_create_channel > rpmsg: core: add channel creation internal API > rpmsg: virtio: add rpmsg channel device ops > rpmsg: define the name service announcement as reserved address > rpmsg: introduce reserved rpmsg driver for ns announcement > rpmsg: virtio: use rpmsg ns device for the ns announcement > rpmsg: ns: add name service announcement service > rpmsg: virtio: use rpmsg_ns driver to manage ns announcement > rpmsg: ns: name service announcement endianness > > drivers/rpmsg/Kconfig | 9 ++ > drivers/rpmsg/Makefile | 1 + > drivers/rpmsg/rpmsg_core.c | 37 ++++++ > drivers/rpmsg/rpmsg_internal.h | 32 +++++ > drivers/rpmsg/rpmsg_ns.c | 175 +++++++++++++++++++++++++ > drivers/rpmsg/virtio_rpmsg_bus.c | 213 +++++++++---------------------- > include/linux/rpmsg.h | 9 ++ > 7 files changed, 325 insertions(+), 151 deletions(-) > create mode 100644 drivers/rpmsg/rpmsg_ns.c > > -- > 2.17.1 >