Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp372380pxf; Thu, 11 Mar 2021 06:05:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJykGLm0/2NWANxn3tPMp5nzHrIXzeW6ZCsN//9/ImLAH6XDvhmXSVSvTyVO649inIWT7yty X-Received: by 2002:a17:906:4e91:: with SMTP id v17mr3224740eju.331.1615471559518; Thu, 11 Mar 2021 06:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615471559; cv=none; d=google.com; s=arc-20160816; b=u7w+JDh8kKGbA4Zl6p7n1hJzJxJygk2+MtPK4sPqMIxhlX6goHfZwR2NrYAo+Yf2D9 xo+qT0xPT++COaEX+yNzlp/7uQamPOUVEr6HjToKw9zARsbYqh6WW+5TI2THivU9kZwp DNPiuXnCc9q4rb0j51bxx5zjM8OYPDMk2BlQsCUO2my2kQgJdvPRWMyUI4Okx+mRmy2K D1q2KJENmIGaZCFdIgu/RKCqbA7WOyDOo+BRaZsmuMuZuAcug8WnfTxZMG1rLENlyqEX Dv4bB0HsLw5a7sCXNOnWlZMi4WSBJPV1CGWVnksXHDFr4dM8AsMPWPsejyFFAyjaxR9H xQzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=v8txream0i2iNYejsg6TwbWegioUuHjMWET/Z9cj2U0=; b=dknGUWyR4lXmXGd9VoS5l5nDtIBI8dVetgv2A4NLkueVv6MPTHCe1VsxAhs1znwPe4 LoAD+xQOeJ3xN3v88r3WuWajeILiUrvqq2iboiSoB8gtuOCA4gyy/8oF0jq6Yrs2ZY26 9yVRV352RvIZqhl5PNazmWjQrkdFxhRZ654M5NGNLTbKxraG2boU02OZAFhUgqTluN+k jcvvDx3gGlwEqV50sj5fyI5r6EiHVDZMpHq++gzm8zxY7ZRPuWlUcXxRR/iDW1o9+/zV txeClF3ssN+8cEVgk78KCjtQ6k4o2V+UC7OBJ4rI3iebOVtqcFxVeqAMbWzaHyucpATy T1QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=2lrcpMoS; 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=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mc14si1772077ejb.639.2021.03.11.06.05.35; Thu, 11 Mar 2021 06:05:59 -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=@foss.st.com header.s=selector1 header.b=2lrcpMoS; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233822AbhCKOEk (ORCPT + 99 others); Thu, 11 Mar 2021 09:04:40 -0500 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:36286 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233852AbhCKOEa (ORCPT ); Thu, 11 Mar 2021 09:04:30 -0500 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12BE35fq014991; Thu, 11 Mar 2021 15:04:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=v8txream0i2iNYejsg6TwbWegioUuHjMWET/Z9cj2U0=; b=2lrcpMoSt+DsfNpeZAc4o2SnY8THHwIWnQCjCrZv2CjNLaszYqCmWVEUgqKRW7WXvdWS 8zRIhfCDMgeG0NhI0dqawmWUXkVYjcrsHU9W/o8zymqrndUUUsgR088rFpp/LEcUu0KC JdMnexn/Ha3xU9tOWY6i+RGSO7j7eAPp4w+AbXWKuwsMCblYMTHZD0uBsJLLHbYw9Kgs MpbUldZeJBfsMhHlPT7PjQDiBXia+MjO4rKYKbw05Vw335zk9pu2VEJY5SBZcnPhTh2N SgHt5JxRIZQQawQMusNq6GZ1Es0acMMH+oZl94hBJh5ydO09Z7u69EH8mFSEx4teNl21 0A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3741y76hy3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Mar 2021 15:04:25 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8EAF310002A; Thu, 11 Mar 2021 15:04:24 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7D913245D4C; Thu, 11 Mar 2021 15:04:24 +0100 (CET) Received: from localhost (10.75.127.48) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 11 Mar 2021 15:04:24 +0100 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier , Andy Gross CC: , , , , Subject: [PATCH 0/6] rpmsg: enable the use of the rpmsg_char device for the Virtio backend Date: Thu, 11 Mar 2021 15:04:07 +0100 Message-ID: <20210311140413.31725-1-arnaud.pouliquen@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-11_05:2021-03-10,2021-03-11 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1