Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp954803pxu; Mon, 23 Nov 2020 08:10:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJzz9WPtWfYRW0dLaKeuyloRAfjo+h7reojJT/0bXY5OjmdxZii3SHejt4ZW/1SDRUuXRRYV X-Received: by 2002:a17:906:3187:: with SMTP id 7mr288442ejy.225.1606147820897; Mon, 23 Nov 2020 08:10:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606147820; cv=none; d=google.com; s=arc-20160816; b=MEuZuAmwd2DtcT1ZzHX2+sg9m3Uoi1QgO7wefdMWaFi3BMPGMN9UWv9BQ+8t2s1Tmq ZBy1jCr1EAvIGrTLEdlFUgQkBM4hrB3Yo075egCd7+9ZsJQdWTHKAM5zONbEls3HzE2Q NRPmM6N7V8fU69KULXa0SJFIEaVaPUf2AGP6c9TMKGOQrf1Zf8GZCLlwsfPPBy1pc+K/ AYJAE0jduf0ymSuHLjE/anR52YjeSi8nzq8Y99y9F5DtWKG4hZgyD7U3J1jo7mFha1ge y6+C2Kw7hbNXTyMShIm/135O8ZDgIXpIx3Lc8phh+NvbyLimMdREHTAziLHjFcVrK32J LSCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=KVyuxh+58qtyanl0JgPj3tN4N48mRwDHFS5Bpje6Now=; b=P4yeCa4pi3hLf+/iyktD+p3Sq1tNy5qIz8M63tT+LP06oraNa/iBqMmEnpiLEqkeGF wQQrZ1QsocIw/iY0lSGUm1CfRrjJS6A78N3kgjWH3APiHWL34G4jPnG9E4fTeXDzAo1+ OmG2fxqm9feUk4i+u8MmBKA8i8o29ZVHOLyfoTr9iXyhTMGSIi4HABwtjkgzaNFJ54Xi 88pH80nilAjq8yL5Cc9kJvvgAYulBGGt0E7OQmkAxef+OlZ5Qkw6tUZduiLx6iEjKeFt +BjhX4Wd/TTFllj+gkwSrWbPLBRkubVAr1f6mTaqzvndD/hd6+vuDIoHUPDij5lS4PYc Ta+g== 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 e17si7114657edq.469.2020.11.23.08.09.55; Mon, 23 Nov 2020 08:10:20 -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 S1733287AbgKWQGb (ORCPT + 99 others); Mon, 23 Nov 2020 11:06:31 -0500 Received: from mga12.intel.com ([192.55.52.136]:60495 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729940AbgKWQG3 (ORCPT ); Mon, 23 Nov 2020 11:06:29 -0500 IronPort-SDR: A9uZZQtbCK6KXIbe4o9jqUO8jzwUaoFhNO9NM1YSJ/IhzhkIyHpAg7Tw3EpdOulN0KF4fXk9n6 iErJ4hfnLdYg== X-IronPort-AV: E=McAfee;i="6000,8403,9813"; a="151052449" X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="151052449" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 08:06:27 -0800 IronPort-SDR: jNXkUoJF/1AyMN8oHixSqviqJpfIMYk+35Bq+42725VrXgR/T+MXfsG1QcwXThEVv/AZHDGh1p QYyMlHLVpYAQ== X-IronPort-AV: E=Sophos;i="5.78,363,1599548400"; d="scan'208";a="546469412" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ubuntu) ([10.252.39.35]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 08:06:25 -0800 Date: Mon, 23 Nov 2020 17:06:10 +0100 From: Guennadi Liakhovetski To: Mathieu Poirier Cc: ohad@wizery.com, bjorn.andersson@linaro.org, arnaud.pouliquen@st.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 0/8] rpmsg: Make RPMSG name service modular Message-ID: <20201123160610.GA19108@ubuntu> References: <20201120214245.172963-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201120214245.172963-1-mathieu.poirier@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >