Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp591967pxu; Wed, 14 Oct 2020 08:49:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp/pME+QeKk+8WeZ+IJiSFMsTB0Ur4DC8f3y3MSQe65lrpu3E4OFmenZBWe0TwJeQ4plJc X-Received: by 2002:a17:906:190b:: with SMTP id a11mr5918516eje.260.1602690552649; Wed, 14 Oct 2020 08:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602690552; cv=none; d=google.com; s=arc-20160816; b=W6hdD6wdu7Jq8pVaB6NCBO2vT3orXQ/2rTPMV0owpBbInHJkX8KBoYmED3Qjmdjx1z EUiBDWv3oUVG0yatbWtoN4Ym6WNTJRCov4aE8aTOwkxEzfKm76SKqX4IAeItNww7ZtNa Qai3R4ViI2VB4QvNAHZ67ZUMQETBHZyD22pZB1HtwdCcykKN5W4O6D8IoUCM2H95TQS5 pLK6mF4IZRoF9cu6kk6ZQFsEc0LHnlRGm+nOwzPOyJIflWRR4F7fmaCNtAA7STwSG9x/ iaRVoRYbLXZh5wL7HR8/lsYEhL5l2zwWnlHbgwLQwkbuIAAzoKaFZhy5l8XDBRMnim4f PglQ== 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=A6zfJ2LUxQ22VB1D/pUzj1b8sbiFnzxdJUDiiK/ymbI=; b=rBdJFoXpEdPRaIOTiGJ46Cgaxd9z6ps6Nwi4VFK1ezuKMhiqrXpMxa44cs9e9X6+j0 yHnlIiww3NkIqFGqLj4DyIYFI8merQvQosAwt7Fgs06LcIr1Kr5ANPrmfyEKbUNZqszF r5NNVX0YYpFYvKPiEP+qx0YluMdmjhlLbSg6aYjiyw1e2Wnc/Da83Nnl23RsrAdiF+yw t/SuomNf0x9LsEycJ83kJqwAOP9l1XjFa0yPGuG6hlM7crUZr2dl5k4dRdpztMzn4BMm 3mBJJq9Tsvhgh92VUQI0OEmozMwWU4JrE8XqZBnx5XUbBirW/BRlr8UuS8rOVvhBAyMM GUBg== 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 b3si30399ejz.322.2020.10.14.08.48.50; Wed, 14 Oct 2020 08:49:12 -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; 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 S1728653AbgJNKSf (ORCPT + 99 others); Wed, 14 Oct 2020 06:18:35 -0400 Received: from mga09.intel.com ([134.134.136.24]:36427 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727197AbgJNKSe (ORCPT ); Wed, 14 Oct 2020 06:18:34 -0400 IronPort-SDR: vAaXm0Km17k+48DzlVitgPaoiKprteD+QabqE2IYbfU3nywukBPBbHvPd3YyEJ3GVSX1XaG33G yrEyngRdV4fw== X-IronPort-AV: E=McAfee;i="6000,8403,9773"; a="166199072" X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="166199072" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 03:18:34 -0700 IronPort-SDR: viBr6PdzSDiLwxANqIGwkFKGrJYFhkvfS59lNtTyyDSNE81HGYJncwj8GkDcqspz5Dp/4iqOt7 BqZJFRL2dHbA== X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="530768349" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ubuntu) ([10.249.36.119]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 03:18:32 -0700 Date: Wed, 14 Oct 2020 12:18:23 +0200 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 v2 0/9] rpmsg: Make RPMSG name service modular Message-ID: <20201014101822.GA4847@ubuntu> References: <20201013232519.1367542-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201013232519.1367542-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 On Tue, Oct 13, 2020 at 05:25:10PM -0600, Mathieu Poirier wrote: > Good afternoon, > > This set 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 v5.9. Reviewed-by: Guennadi Liakhovetski Thanks Guennadi > > Thanks, > Mathieu > > [1]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=338335 > > ------ > New for V2: > - Created new RPMSG types (Guennadi). > - Re-worked byte conversion functions(Guennadi). > - Added a single ->is_little_endian() operation (Arnaud). > - Fixed byte conversion before making name service modular. > > 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 (5): > rpmsg: Move rpmsg_endpoint_ops to rpmsg.h > rpmsg: Introduce __rpmsg{16|32|64} types > rpmsg: virtio: Move from virtio to rpmsg byte conversion > rpmsg: Move rpmsg_hr and rpmsg_ns_msg to header file > rpmsg: Make rpmsg_{register|unregister}_device() public > > drivers/rpmsg/Kconfig | 8 ++ > drivers/rpmsg/Makefile | 1 + > drivers/rpmsg/rpmsg_core.c | 44 +++++++ > drivers/rpmsg/rpmsg_internal.h | 27 +--- > drivers/rpmsg/rpmsg_ns.c | 110 +++++++++++++++++ > drivers/rpmsg/virtio_rpmsg_bus.c | 206 ++++++++++--------------------- > include/linux/rpmsg.h | 93 ++++++++++++-- > include/linux/rpmsg_byteorder.h | 67 ++++++++++ > include/linux/rpmsg_ns.h | 79 ++++++++++++ > include/uapi/linux/rpmsg.h | 3 + > include/uapi/linux/rpmsg_types.h | 11 ++ > 11 files changed, 481 insertions(+), 168 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 >