Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3428958pxf; Mon, 15 Mar 2021 09:19:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNfIhtRfeqYxUelsCxQsyWIvEabCKYHTG7TlEPw48cXlsAM6bS0SK5LZKMf6iEdcv9wD1s X-Received: by 2002:a17:907:211b:: with SMTP id qn27mr24342730ejb.203.1615825153191; Mon, 15 Mar 2021 09:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615825153; cv=none; d=google.com; s=arc-20160816; b=e9m3yK4ai6/LlQxPP+IlWFiIylz5KydQbXcbo6hxxMjRCdBSasJNbyYzDDfJeufazj vU5mCOUx4FLkIrLeUhaTwJOvXvhPZ6CJZqO5EebPtrlfP16sjwtDViTGvIIk1x7cG2SA ALidUm4ViwxgiJt6AdZU+L2d4RD8ElemeWbYGFqcusyQbOcPb7OTEwzkIZr3E88teOiA tRRiHHOr2iCfuMmLRBfts9oPVJZyCHOggtKlOdSLGX/1KVmZJu2nzPCfk2Y9xB4HDUup YenxCI+4Uv55zltc2yyjBdfNzPmutR93wjhADN9UxkypoU225C/R/5KUzmdA1RtQ8ZBc RMxw== 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=muAL2upUuz6v+2+0TJDwoZfgIjX6ldF6IKNapq38wEk=; b=n/uhTsHvzXymd0JcLhIYpC7FPRZAPeFqimzhUWNfvk7R0rBIEhuH68Rxz2wO0pOLje XR9zq2doH93UkJ5uOmwGF4ShxeHuAH0240yr3+EJxxUtwyjMKgsOIWythSoVy1x4uVG0 mMwB/OzY6JOSe496/ArIzogHUoUR3m6KvsmgZVwujcXpHA435JiQXLBbWaldXK8x3MG7 KlKCwOOC7ZdrTvH2kFC9BLqYulLvnESGf5ujQYF2H6VjR0u+zRWpm7BJnk26DCkDcrNa Je1sFI6cGtB4mz38V+SHMNKO2zO93z53ptfrS0HucMyDU0hQ3eR1ssYZloj7QcFpq94G Wkag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AQiZLgWU; 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 b25si11097298ejv.506.2021.03.15.09.18.49; Mon, 15 Mar 2021 09:19:13 -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=AQiZLgWU; 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 S230051AbhCOQQf (ORCPT + 99 others); Mon, 15 Mar 2021 12:16:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbhCOQQQ (ORCPT ); Mon, 15 Mar 2021 12:16:16 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E46DC061762 for ; Mon, 15 Mar 2021 09:16:16 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id e2so10290331pld.9 for ; Mon, 15 Mar 2021 09:16:16 -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=muAL2upUuz6v+2+0TJDwoZfgIjX6ldF6IKNapq38wEk=; b=AQiZLgWUAY60+K+ZxhA1mnXiByxNoarM0/Zqpic9tWpuVqVTo8mLtzcbRuQ/QkQ8VG aE4CgwtevCbSnt/xvv617+Ngq/RQNw41tgEJ8k7zHviMmuFP8/+2DaRlgFktmBCBjxFp O6fEVxSPhqHPPT1hMXVCE9gnflfbddcsdar4E6m6wkvFv/8ZDYgKdCfQ7hlc4ED+WgJg bgcQbJMc2z6oj9J5I5DUFjZO1grMjXPu9L1Mx2ugbyhLRdvAwFldXci9aH9+0m8rSkSp kynmdTEql5qUbxOfL22hZTGx9kcFHkbM8Ztf4g2wPaIDnheMEp2qS51BQgfQ8JlSy4V9 VUJA== 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=muAL2upUuz6v+2+0TJDwoZfgIjX6ldF6IKNapq38wEk=; b=O+MWo2ltW3gaoR6Lp9bnRX6P4bP+Wa0KWI+8eX7wzvHOSWGy+xV8dz5vbCZ4LAAdNK P2E0vSeKVFB9K7MU1qv7Sg01IvL6/FRCyjSXSpn3I0i25x2ApbDJKx1ZpiH1ONXwKHAh 3/NHP+ewOxa6FFiFX0DLaX3aL5c5t95DQObYBX/VLck3KgTzp5Wq9vCqvs+ieGQsJjgH n1uDNE3qzhLhqzEXJ9Wjt5c9Rm7XHLlVLrnVvn9+0TD0KScLVHtdf7E3GgY/99K2UC2F NKCySwjflm22q6lbV9zlYLaxyAA3DLjmDyBypSuo973eK7fd/PZ0vp5Nr+YEg2/m/qw3 cN6Q== X-Gm-Message-State: AOAM531L6riTO1VetSINy2oFphuXlZ2d4jrEYN0YbmGeDMfhPl/dLNlt 5lhmIYjDqJo41yoQMEsg8eeTNw== X-Received: by 2002:a17:902:b589:b029:e6:2875:aa4c with SMTP id a9-20020a170902b589b02900e62875aa4cmr12349277pls.71.1615824975948; Mon, 15 Mar 2021 09:16:15 -0700 (PDT) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id j22sm116013pjz.3.2021.03.15.09.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 09:16:15 -0700 (PDT) Date: Mon, 15 Mar 2021 10:16:13 -0600 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 0/6] rpmsg: enable the use of the rpmsg_char device for the Virtio backend Message-ID: <20210315161613.GA1339147@xps15> References: <20210311140413.31725-1-arnaud.pouliquen@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210311140413.31725-1-arnaud.pouliquen@foss.st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 11, 2021 at 03:04:07PM +0100, Arnaud Pouliquen wrote: > This series is the first step in the division of the series: > "Introduce a generic IOCTL interface for RPMsg channels management"[1] > > The main goal here is to enable the RPMsg char interface for > the virtio RPMsg backend. > > In addition some patches have been includes in order to document the > interface and rename the rpmsg_char_init function. > > It also includes Mathieu Poirier's comments made on [1] > > Patchsets that should be the next steps: > - Extract the control part of the char dev and create the rpmsg_ctrl.c > file > - Introduce the RPMSG_CREATE_DEV_IOCTL IOCTL to instantiate RPMsg devices > > > [1]: https://patchwork.kernel.org/project/linux-remoteproc/list/?series=435523 > > Arnaud Pouliquen (6): > rpmsg: char: Rename rpmsg_char_init to rpmsg_chrdev_init > rpmsg: Move RPMSG_ADDR_ANY in user API > rpmsg: Add short description of the IOCTL defined in UAPI. > rpmsg: char: Use rpmsg_sendto to specify the message destination > address > rpmsg: virtio: Register the rpmsg_char device > rpmsg: char: Return an error if device already open > > drivers/rpmsg/qcom_glink_native.c | 16 ++++++++ > drivers/rpmsg/qcom_smd.c | 16 ++++++++ > drivers/rpmsg/rpmsg_char.c | 11 ++++-- > drivers/rpmsg/virtio_rpmsg_bus.c | 62 ++++++++++++++++++++++++++++--- > include/linux/rpmsg.h | 3 +- > include/uapi/linux/rpmsg.h | 13 ++++++- > 6 files changed, 108 insertions(+), 13 deletions(-) Reviewed-by: Mathieu Poirier > > -- > 2.17.1 >