Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp793120pxu; Thu, 3 Dec 2020 12:47:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaLz9vXK9SoR62Gl6Hj2pNW70V4d/tyK4YYvOJlHI21BET5zgWDJ2lIP7HC8YZqVaeToCk X-Received: by 2002:a17:906:4bc6:: with SMTP id x6mr4169087ejv.4.1607028437593; Thu, 03 Dec 2020 12:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607028437; cv=none; d=google.com; s=arc-20160816; b=oAk+txZdODaI1BYOC+OHkLK9fgTHOgXCuJQScNCNnh3TGXGPThSDfDb8IluoMrY2S8 ezo42jAMxAThIt9u+peJMwgu9S8v3PyHbVJY3X1D6UfJdDPLVToqldLj0GKXb0Eb3tz5 QmkzHwmrmxYMsLbQFhYRW4yK8zm08NViQViC1oMZQIRs1TfG7bvwSwanmGgdkjQawg5F n6Y+Eo5/y1jlqv5cCTTBbuRWS2TQ01NSbydjVh1sKFmTtA3+L1SNZYQBHyye2FzKzBAM lqtodgl9TRqcEYMuJBkfhzH/0wIwWc+gcU8EynUVX5TTku3FemXmxLkUMRa0pIAEcDMt b5pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=Q4dYGXvZk73wuM49Vya2SlTiI0LB+ZRHgn5zY+bO9Q4=; b=UvUm7ofCBGQIWypw8JKwiaulqzXxHKrcaU6z+ovINceINkPz1id5FVy/4m+kkM3F1Y w6E5kIQmKZm3BzQ7caBjOyb4uUnsB3tuNCvVJCbJs7qTFpq1bcKjvSOxf0GXpL3qiHL0 aAni/sI+AzGVlYJv+zLNhkBK/GxSkOW1p3vk980w1Mlox+449/0iHZyoyJn0UlTXew7F jj3Ukvo9t5THgasmTqLzUra2GDex+/tM24dHVcqx0WoR6H9fgDFTj3f0LszIHqi70DLS cJQ8EDZGjg+ic15XTDasldcgNRtvHsq7XmYRuv4OGFjHFvDSyVRym/Dw/nciaCAitP0F fVDA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i24si60223eja.372.2020.12.03.12.46.54; Thu, 03 Dec 2020 12:47:17 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729532AbgLCUoV (ORCPT + 99 others); Thu, 3 Dec 2020 15:44:21 -0500 Received: from mga01.intel.com ([192.55.52.88]:22277 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbgLCUoU (ORCPT ); Thu, 3 Dec 2020 15:44:20 -0500 IronPort-SDR: +KMhmcFACkdt/BLeKRgAyFGjcV0ZCNJi/C1fVchdRsUfkkvxqmzoCcHARD8r3v9RVzP3opWuA2 Hmb/cYgyAlrA== X-IronPort-AV: E=McAfee;i="6000,8403,9824"; a="191510832" X-IronPort-AV: E=Sophos;i="5.78,390,1599548400"; d="scan'208";a="191510832" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2020 12:42:31 -0800 IronPort-SDR: J2KPvm5Uf/dBjZ1ek6IiSg4rl1HyySv4c5BDquc+PpnYMnUm/GvlryY95YDkNVDZIZ1XcSArHq dG1SuaZpJ8NQ== X-IronPort-AV: E=Sophos;i="5.78,390,1599548400"; d="scan'208";a="550657488" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ubuntu) ([10.252.47.47]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2020 12:42:28 -0800 Date: Thu, 3 Dec 2020 21:42:18 +0100 From: Guennadi Liakhovetski To: Kishon Vijay Abraham I Cc: ohad@wizery.com, bjorn.andersson@linaro.org, arnaud.pouliquen@st.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Wang , "Michael S. Tsirkin" , Mathieu Poirier Subject: Re: [PATCH v7 0/8] rpmsg: Make RPMSG name service modular Message-ID: <20201203204218.GA13001@ubuntu> References: <20201120214245.172963-1-mathieu.poirier@linaro.org> <20201123160610.GA19108@ubuntu> <20201202110555.GA65230@ubuntu> <20201202203954.GC1282360@xps15> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201202203954.GC1282360@xps15> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (adding vhost maintainers and the author of [1]) Hi, I'm working on an Audio DSP virtualisation solution [2] and the next step in its upstreaming should be an RPMsg vhost implementation, based on [3], which contains a simple addition to the current library-style vhost API. Later in [1] a different approach has been presented, converting the vhost framework to a proper bus-type and device driver. Therefore my questions: 1. if the latter approach is prefered, should we expect follow up versions of [1] and their upstreaming? 2. judging by the size and complexity of [1] would it maybe be preferable to first extract a minimum patch set just to add vhost rpmsg? Looking at the patch set it should be doable and not too difficult? Kishon, would it be something you could submit? 3. or would it be preferable to keep vhost in its present form, use [3] for rpmsg support and re-implement [1] based on a different vhost / vringh approach? Thanks Guennadi [1] https://www.spinics.net/lists/kvm/msg219632.html [2] https://mailman.alsa-project.org/pipermail/sound-open-firmware/2020-April/003766.html [3] https://www.spinics.net/lists/linux-virtualization/msg43359.html On Wed, Dec 02, 2020 at 01:39:54PM -0700, Mathieu Poirier wrote: > Good day, > > On Wed, Dec 02, 2020 at 12:05:55PM +0100, Guennadi Liakhovetski wrote: > > Hi Mathieu, > > > > I'd like to resume reviewing and begin upstreaming of the next steps of > > my Audio DSP Virtualisation work, based on this your patch set. How > > I'm all for it too. > > > confident are we that it's going to be upstreamed in its present form? > > What's the plan to push it to "next?" > > > > I thought we were pretty unanimous that something like what Kishon did was the > way to go. > > > Thanks > > Guennadi > > > > On Mon, Nov 23, 2020 at 05:06:10PM +0100, Guennadi Liakhovetski wrote: > > > Hi Mathieu, > > > > > > Thanks for bringing all the stuff together and for polishing it! > > > > > > For the entire series: > > > > > > Tested-by: Guennadi Liakhovetski > > > Reviewed-by: Guennadi Liakhovetski > > > > > > Thanks > > > Guennadi > > > > > > On Fri, Nov 20, 2020 at 02:42:37PM -0700, Mathieu Poirier wrote: > > > > This revision addresses comments received from the previous revision, > > > > i.e V6. Please see details below. > > > > > > > > It starts by making the RPMSG protocol transport agnostic by > > > > moving the headers it uses to generic types and using those in the > > > > current implementation. From there it re-uses the work that Arnaud > > > > published[1] to make the name service modular. > > > > > > > > Tested on stm32mp157 with the RPMSG client sample application. Applies > > > > cleanly on rpmsg-next. > > > > > > > > Thanks, > > > > Mathieu > > > > > > > > [1]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=338335 > > > > > > > > ------- > > > > New for V7: > > > > - Fixed error path in rpmsg_probe() as reported by Guennadi > > > > > > > > Arnaud Pouliquen (4): > > > > rpmsg: virtio: Rename rpmsg_create_channel > > > > rpmsg: core: Add channel creation internal API > > > > rpmsg: virtio: Add rpmsg channel device ops > > > > rpmsg: Turn name service into a stand alone driver > > > > > > > > Mathieu Poirier (4): > > > > rpmsg: Introduce __rpmsg{16|32|64} types > > > > rpmsg: virtio: Move from virtio to rpmsg byte conversion > > > > rpmsg: Move structure rpmsg_ns_msg to header file > > > > rpmsg: Make rpmsg_{register|unregister}_device() public > > > > > > > > drivers/rpmsg/Kconfig | 9 ++ > > > > drivers/rpmsg/Makefile | 1 + > > > > drivers/rpmsg/rpmsg_core.c | 44 ++++++++ > > > > drivers/rpmsg/rpmsg_internal.h | 14 ++- > > > > drivers/rpmsg/rpmsg_ns.c | 126 +++++++++++++++++++++ > > > > drivers/rpmsg/virtio_rpmsg_bus.c | 186 +++++++++++-------------------- > > > > include/linux/rpmsg.h | 63 ++++++++++- > > > > include/linux/rpmsg/byteorder.h | 67 +++++++++++ > > > > include/linux/rpmsg/ns.h | 45 ++++++++ > > > > include/uapi/linux/rpmsg_types.h | 11 ++ > > > > 10 files changed, 439 insertions(+), 127 deletions(-) > > > > create mode 100644 drivers/rpmsg/rpmsg_ns.c > > > > create mode 100644 include/linux/rpmsg/byteorder.h > > > > create mode 100644 include/linux/rpmsg/ns.h > > > > create mode 100644 include/uapi/linux/rpmsg_types.h > > > > > > > > -- > > > > 2.25.1 > > > >