Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp805459pxf; Thu, 11 Mar 2021 15:41:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwp4fRk1veNnYM8ExKJfW3LFCl7/OpZW+/pmswV9+djkHQ1ogMW/cDqZNHnCwfFjH1uFHd7 X-Received: by 2002:a17:906:f6ce:: with SMTP id jo14mr5629920ejb.476.1615506099096; Thu, 11 Mar 2021 15:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615506099; cv=none; d=google.com; s=arc-20160816; b=nw6m0v1v8TnLWyQ4hFNMZRLJvvgzZzXFM2Nag5U3Jp2ychvn2dM8a/GssL7hcVQO0m KbPZA7kQg3f9gLS6jAveYEnBJse2gXVkszl6bHxqO+ccB2IIDWK4zYgmbJ6IjFfHZ3E+ 3Z+UePqikSVEo1uEWs2fxNwbH0daVc8X7mRhnJ2ezjvXgNLvr+gz9t5Zt/3zf4QB0U6b kijvB8R34PzK9AKvU0aM5Pe4ZpQXKFpAhFiVWSlKVMnI9oHigjc7BmqQnGv2aUXSaxwm i+O5r+Gd/XYclyzdw7IPvPF5aOkq2op68LDm8x+yOaSzprCE7nsLb5ciR9E/OO8zus+K k+8g== 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=y7PZLngnSiOO6tUFoYHe7nczWb/djDzvqn8CynT2y7o=; b=b/Ksq0XrRuj+emICou50G8U5TGH9xg/IrB0yZadKoIIQGNKDAm/mL4JhD2iB/0ygOG Z5cVyrz2Vu4+3iX+4dkLu8KMp5bC+t1Do5Qm0iELP7lilVBkoHOBkCuhF7ZTtJyv0j1Y J3BB7gUVjVAxam8wowznSie81J3es8bz6xhqDlWXO7jzpvZEa8LQN9t9RTWHbXkkwRyN fsJT64Bv+3tG9kK2F5OHOn/AXLdZKERrj2ImoXubnrin3vlSHJI5So3NXDAJC+DihHaY TaEP1Db85qKer+Uezsf1b66iBGUi9ISuhV9LbvfTXvwtMWyDOzRHrd4/tnw6MOSUPh8p e0Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b2rJ6NYd; 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 cd8si2195885ejb.26.2021.03.11.15.41.16; Thu, 11 Mar 2021 15:41:39 -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=b2rJ6NYd; 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 S229476AbhCKXiG (ORCPT + 99 others); Thu, 11 Mar 2021 18:38:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbhCKXiE (ORCPT ); Thu, 11 Mar 2021 18:38:04 -0500 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 863F5C061574 for ; Thu, 11 Mar 2021 15:38:04 -0800 (PST) Received: by mail-oi1-x22f.google.com with SMTP id x135so20526682oia.9 for ; Thu, 11 Mar 2021 15:38:04 -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=y7PZLngnSiOO6tUFoYHe7nczWb/djDzvqn8CynT2y7o=; b=b2rJ6NYdtpvRsYrTydu07Hbmx4KuucnrL02ilCVLMbWyGoSCM5JuPNA0SIk20Buxrw Oh7oUZvjjjC0iQHpcwiYsGwSmlZp3cPbWR34ABrpQwzFL/BM3NX+sV+8FPYzCPOw+ofi VzULisEMofG367pN45L/GSPzAd+IR9TP6WzLklrASPitwJGBnwKsB41AUiiYv8Af4Oag soqwhhbg7skLH9mj/+yzDctmKgkUlK/mjPc53IbweQF4YwS39hFqhrrVqT4JQC8twf9n tzySqGOhOX9aVvGEGiQM9cPpOxzOmfyLIsxdAoV+ujtciMM/eNpufnB5In28l9oJdP0X QWqg== 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=y7PZLngnSiOO6tUFoYHe7nczWb/djDzvqn8CynT2y7o=; b=OM572bAoDlsDiMwC7nBtkiwRyP5J1EV7o0WyR85wMdylOga0pOBeakWsR2hFonbdRm OlfcdwlK56JECKefaNVHZJMzEDdbHuiQ79GIL2o7zBhX0XU7Z5DabMIa2vwndP6PnbhS TB2Sna57ctAYUsw7Co6VuF6remSeFOgrudW9eIZVSRv4oLMzLO/Ix0YwoJSftOSL+l/C 3ef2hiHHio6NFxtCW3IUmOun04/WSOkNSwF4S6N0ua9u5wFnFbM3VGvaOYjnb1aoj6fM Ex/BB3A0uflkk3eck6BalEH5hfkpupmENjEAaf6avnso5kJOBrZeD6WVahpeEaW6qPzI Of6Q== X-Gm-Message-State: AOAM5317Hfv2P49eoxXLNvMtJ0titNhbG7ddjEn+y93FOz/o4/zjvvwd elyhJq8YVLoBLydS7PyYsOJ8lg== X-Received: by 2002:a05:6808:140e:: with SMTP id w14mr8230991oiv.176.1615505883760; Thu, 11 Mar 2021 15:38:03 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id z8sm987590otp.14.2021.03.11.15.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 15:38:03 -0800 (PST) Date: Thu, 11 Mar 2021 17:38:01 -0600 From: Bjorn Andersson To: Arnaud Pouliquen Cc: Ohad Ben-Cohen , Mathieu Poirier , 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: 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 11 Mar 08:04 CST 2021, 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 > Reviewed-by: Bjorn Andersson Regards, Bjorn > 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(-) > > -- > 2.17.1 >