Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp654641pxb; Wed, 13 Jan 2021 12:33:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWUiS8d13gJQN/SkK39Ez8XBg2C5p35bvhFml2lLZO1eJCvUVmB4MgTBXnm7AfnrOSFDfQ X-Received: by 2002:a17:906:7f90:: with SMTP id f16mr2830462ejr.466.1610570023252; Wed, 13 Jan 2021 12:33:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610570023; cv=none; d=google.com; s=arc-20160816; b=Cxe8iE105v6MR73v54+y/AwGR85Wli/WBqYVtM6bqk6LNNy716d3P1p3GhpRLTs32F JCRT/29lSIK0Cj/H+xoU1QoCH4mmgZ/SH2F2+VLMrWhS14NaMDWeT2tp5lNnb2UCGJXt knwUgrYU7TLSO5B5RXpcULZlErAwE0wuSqzf4iJ7V5Vkdvfh+9w8AbjnpQcwHa57NgaA 2HUbjXLRRnrDY0Wb5LcidXj77Z7wu0bPdD9vJwBBYhnSp78zgiJSjQmguX0FORNBL0rV PoU2V/WHcraNAfYNQEDLOv5JGFkHsFIlAG4WEKhw43nZVhe0kJftHKyG7huP/2goYB2p 1aCg== 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:dkim-signature; bh=x3MPhiU2w3/M1LyIYX233yh3l63UHt26Df7c1l4yyS0=; b=hthngso64QZ5SHDf/Q7Fz1YsK9wAS8ml9AI42IG+EuPEf9UoRfO3awA8ma1q8OvJy1 yz1C9Uhqh1/Q8+UT24yuu1RRICHjhBqZDqVe4BcQB5tktNid775xePLNx5ZgMTA2ZP0y 3xjBi0J6R7/lXWOm8+5pqNGsMq5h3YxXOuksoSf5+8B4v+zLDGEYtFp2C+WKQ5F5DI/J DWqkPlUyQ/TwxEwwYt2UPU0Fkql8ArEiXMTBtcYw+q+37m6INp7ChHrqutZstr5nb3Dz yQlbScm+iL8DUMqP7dCNCST7t7BNZWgWQi9v32koG3yvhYIgP18RtCxbobguBA3kSb68 q1kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lgOrF1vu; 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 v11si1530279edy.157.2021.01.13.12.33.19; Wed, 13 Jan 2021 12:33:43 -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; dkim=pass header.i=@linaro.org header.s=google header.b=lgOrF1vu; 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 S1728450AbhAMUc1 (ORCPT + 99 others); Wed, 13 Jan 2021 15:32:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727705AbhAMUc1 (ORCPT ); Wed, 13 Jan 2021 15:32:27 -0500 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E69AFC061794 for ; Wed, 13 Jan 2021 12:31:46 -0800 (PST) Received: by mail-pf1-x434.google.com with SMTP id w2so1942076pfc.13 for ; Wed, 13 Jan 2021 12:31:46 -0800 (PST) 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=x3MPhiU2w3/M1LyIYX233yh3l63UHt26Df7c1l4yyS0=; b=lgOrF1vud4CIGB25b7osz+2oIguQZKHERI9D69dBcBVuYXheNY3pX5pbJYPwCckISM +PUkM6LOor5+Ci7YWZAaSLyzjIlqhc8mPtpDrSlVpuE/cNy2l28dog8L7Ttg2reyok5s AD6wE980ogNO2xg3XtyblOQu7cC1Cwm8H9SIvDx6AuQhTKM8dOBuVZX15fEcbL5IuaWt 15BQt6H8G1Yj0jnP9f+nRsPX7TJi/lPYpUk0vJx4MW5HNANk+UrbucZTrQuJ3CkG39De NPJj3ROUB7xRlXAxLFVY+yowWEQA30PDa8Bl5C4mCxRGHtAWK0GzBepU4eixiPg3/Ai1 PCfg== 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=x3MPhiU2w3/M1LyIYX233yh3l63UHt26Df7c1l4yyS0=; b=ivitdRn4/WF6SlQTvLMh/KmcXR6Z0wq/GNmcUIlu0prPbaGRKPTWYqdJxfWtTE+Kbs pxPYfRz5Sk94j51y5e2wFQEmTsO4VaiwoBp02yzqnQXUZEDIJfBBSq4RhY+fVpUDdCbf zF047kXomZVowrfGa8AQQ0OEOJ1/YEDo1GxRcfEUiSrUV4aPNuQPo8QijlrSDKUMHJCq f3avCrrKm1d2RfIssYoJElClFX3Q7dos2+t+HxiJLbSULvj8jRzEhtwf3M1UfS8+Elxy FrCvUMcKrj7mW19F8tBgQC9xnOyJiJPaaXhDQBMroyic9nxkKAQBOVE2wN86LbwCbjqG WAxw== X-Gm-Message-State: AOAM533ynU0hrQlUMbmfvYhdzy0GgD/x7VlxR2sH+75ZQSnSLrOaWGuc t280FoYHxsvvC1oUbjJTu86cEA== X-Received: by 2002:a63:3714:: with SMTP id e20mr3792229pga.410.1610569906286; Wed, 13 Jan 2021 12:31:46 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id bx17sm3834222pjb.12.2021.01.13.12.31.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 12:31:45 -0800 (PST) Date: Wed, 13 Jan 2021 13:31:43 -0700 From: Mathieu Poirier To: Arnaud Pouliquen Cc: Bjorn Andersson , Ohad Ben-Cohen , Andy Gross , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 00/16] introduce generic IOCTL interface for RPMsg channels management Message-ID: <20210113203143.GA229796@xps15> References: <20201222105726.16906-1-arnaud.pouliquen@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201222105726.16906-1-arnaud.pouliquen@foss.st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaud, [...] > > Arnaud Pouliquen (16): > rpmsg: introduce RPMsg control driver for channel creation > rpmsg: add RPMsg control API to register service > rpmsg: add override field in channel info > rpmsg: ctrl: implement the ioctl function to create device > rpmsg: ns: initialize channel info override field > rpmsg: add helper to register the rpmsg ctrl device > rpmsg: char: clean up rpmsg class > rpmsg: char: make char rpmsg a rpmsg device without the control part > rpmsg: char: register RPMsg raw service to the ioctl interface. > rpmsg: char: allow only one endpoint per device > rpmsg: char: check destination address is not null > rpmsg: virtio: use the driver_override in channel creation ops > rpmsg: virtio: probe the rpmsg_ctl device > rpmsg: glink: add create and release rpmsg channel ops > rpmsg: smd: add create and release rpmsg channel ops > rpmsg: replace rpmsg_chrdev_register_device use > > drivers/rpmsg/Kconfig | 8 + > drivers/rpmsg/Makefile | 1 + > drivers/rpmsg/qcom_glink_native.c | 96 +++++++-- > drivers/rpmsg/qcom_smd.c | 59 +++++- > drivers/rpmsg/rpmsg_char.c | 246 ++++++----------------- > drivers/rpmsg/rpmsg_ctrl.c | 320 ++++++++++++++++++++++++++++++ > drivers/rpmsg/rpmsg_internal.h | 14 -- > drivers/rpmsg/rpmsg_ns.c | 1 + > drivers/rpmsg/virtio_rpmsg_bus.c | 38 +++- > include/linux/rpmsg.h | 40 ++++ > include/uapi/linux/rpmsg.h | 14 ++ > 11 files changed, 606 insertions(+), 231 deletions(-) > create mode 100644 drivers/rpmsg/rpmsg_ctrl.c I am finally coming around to review this set. I see that you already had an extensive conversation with Bjorn - did you want me to have a look as well or should I wait for the next revision? Thanks, Mathieu > > -- > 2.17.1 >