Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3028166ioo; Tue, 24 May 2022 11:15:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO2HESR8IAs/7G8NQ4gTKBFW2quup3oJz5E9Oi9WsU880+2hAehEOcjndFL9iFl3hcn1AQ X-Received: by 2002:a63:8441:0:b0:3f9:c4d0:7175 with SMTP id k62-20020a638441000000b003f9c4d07175mr17575876pgd.570.1653416114387; Tue, 24 May 2022 11:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653416114; cv=none; d=google.com; s=arc-20160816; b=TXXYxV2gV+pKhyXp+AvRMbKKSr3h5a0fX67xDRUjKw5e3n6R2o8vnQllwXFV7FXxb4 +FlFuSIk1QDehO/QeuA5aBd+bRGNidx6JtKpY2cgwloeheW6mFW80viE3mbyf7hm6kjW JSINlqRqd5LNbrECDXCRnXrUQ+sXkBqfFYFbexj0NAdMdhG4rmbzutlUZgPymPuh4wZW c6CSCx4Nk+dgBd/GyMxbkhBEA05yt3kYDZY1a1PMDftx36Vrgo9EgQA1/26t0urDVVrS 5TJL4tjeeMqsaTCDkt1Jn3eUfyGxZ3PtoJW1rG5ZT2vW7B9N3FS48XI0frbx6uNnzisj dqlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XKQgP4gZTvt4b++ZSM+DxjPg9J0TxcLJRrQHC/0hh0s=; b=etZ0uY/vYVmFOfKc1LiBwJfl8VF8Ff15fUWJzoBkYyG5ciqX0SL1jppXDpTb5gNbco eFHBgwn7YPLuIjyQohrdSpkzE9XteDmeCPnCO3aYEu53uHow0ggROYMPZkAOqdUL5NFt 3izbTFzoBzkD1XpBc3J9JZMV4x+UOyk6BM21XTf4oMHWfWwqZM1gE+e9unsjJVYJAEN1 Y9AcoVIhZXyrbWxlTmDxhwlYlUi1Oky3V7LtZS6aUP6NqYp5ICpmU88U0ifYhfHRiY9a y4bhQrooAUx00ZJ0/y0cOIbW9FvjdSOztUDa+Oo8ZzlujMFy2w9RyXJM9L/IjCb4/oAx dUUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qOWSHVyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a636805000000b003c6566867b9si14268756pgc.344.2022.05.24.11.15.01; Tue, 24 May 2022 11:15:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qOWSHVyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S238931AbiEXPev (ORCPT + 99 others); Tue, 24 May 2022 11:34:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235282AbiEXPet (ORCPT ); Tue, 24 May 2022 11:34:49 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA947580E1 for ; Tue, 24 May 2022 08:34:48 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id i27so36105110ejd.9 for ; Tue, 24 May 2022 08:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XKQgP4gZTvt4b++ZSM+DxjPg9J0TxcLJRrQHC/0hh0s=; b=qOWSHVyq0qvKCiLV6FRf5dYPoK4I2LWG04bQZX9Ixs9fvAkWtsiP4M4uyKV4L3Owf6 oo/24gsZWsamGHpZduBebduOB08KFZ6VWJ5T4Rc6++e7D2kmtb3TldiP+fsuOoCb58kX unaIW9RfOgVRVfnTffoALlAAFpef3zWYDaCnut6LN7Ch51bKU0ykTNcCwHKcazddwjEY mI7Th1MC7eFPDtnWbOTS4Yw1UAF9wvJhofUEuwNpDEWy24GA4Kld0vjqW4Ejm7tj1c5N JYFsZNb30Nm8y7zM5MZDVk71xzFwlaxKIBdjayG81cNBu82apnYDEGFurYH+1lNSailj Xheg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XKQgP4gZTvt4b++ZSM+DxjPg9J0TxcLJRrQHC/0hh0s=; b=y8WBu6zh/4pqeWM76G/IubpmRhoWtaOaom0iAK4s8vZalN8zVNmgkxNbJ+TE6X/A+J 2DT87ycTtmhhp+q/uVWfjKOliLGe/g/8et6EaQG4ri8BNqOPoAHefIK9gDCw4D8W17A3 6B0ua3qzRsUsLkb5tzmYwcT2gwpy9YkcqtvrDN+H1oeXQ8tKcEdFLpBUezyHR9feUuk0 NMKkqFyMvYnWOx4hOu/91cozLtcHNaB6qJVIKTRkSr+s7Ork1K7qUhJHPF0mXSSdvPvs FsjO0/EOZDqT4dwX4c8IvbClzJJEHPIK5txCDR84osXSs4/IxhuF3Xmh5kM4liehL7AG dzag== X-Gm-Message-State: AOAM531Uztcke6GD6RBJKcu0ipgqJtSqVe4YprcGilutPBD3CTdeMKij kr9JQM64QpzdeHLT6v7gsa9nSjOfQrnSSnAmSBIMrE6+Srw= X-Received: by 2002:a17:907:160e:b0:6f4:54c0:657e with SMTP id hb14-20020a170907160e00b006f454c0657emr25501932ejc.253.1653406487255; Tue, 24 May 2022 08:34:47 -0700 (PDT) MIME-Version: 1.0 References: <20220520082940.2984914-1-arnaud.pouliquen@foss.st.com> In-Reply-To: <20220520082940.2984914-1-arnaud.pouliquen@foss.st.com> From: Mathieu Poirier Date: Tue, 24 May 2022 09:34:36 -0600 Message-ID: Subject: Re: [RFC PATCH 00/10] Introduction of rpmsg flow control service To: Arnaud Pouliquen Cc: Bjorn Andersson , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Deepak Kumar Singh , Chris Lew Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaud, I added your patchset to my review list. Unfortunately it sits behind a sizable backlog and as such I won't be able to get to it for some time. Thanks, Mathieu On Fri, 20 May 2022 at 02:30, Arnaud Pouliquen wrote: > > This series proposes an implementation for the rpmsg virtio transport > backend, of the signaling API proposed by Deepak Kumar Singh: > "rpmsg and glink signaling API support" [1] > > The aim of the series is to offer the possibility for an endpoint to inform > a remote endpoint about its state, based on a software flow control[2]. > > For this a new rpmsg service( with a fixed address 64) is proposed. > It is responsible for: > - transmitting local endpoint flow control information to the remote side, > - informing a local endpoint about a remote endpoint flow control. > > For the rpmsg virtio transport layer the service is negotiated thanks to the > virtio feature flag: VIRTIO_RPMSG_F_FC > > Notice that this pull request introduces new feature in the rpmsg protocol, > So it has to be aligned with OpenAMP implementation. > Pending OpenAMP pull request is available here: > https://github.com/OpenAMP/open-amp/pull/394 > > > [1]https://lkml.org/lkml/2022/1/18/867 > [2]https://en.wikipedia.org/wiki/Software_flow_control > > Arnaud Pouliquen (8): > rpmsg: core: Add rpmsg device remote flow control announcement ops > rpmsg: virtio: Implement the announce_remote_fc ops > rpmsg: Introduce flow control channel driver > rpmsg: virtio: Add support of the VIRTIO_RPMSG_F_FC feature > rpmsg: virtio: Implement the set_flow_control ops > rpmsg: Add the destination address in rpmsg_set_flow_control > rpmsg: tty : Add the support of the flow control > rpmsg: virtio: Set default dst address on flow control > > Deepak Kumar Singh (2): > rpmsg: core: Add signal API support > rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support > > drivers/rpmsg/Kconfig | 11 +++ > drivers/rpmsg/Makefile | 1 + > drivers/rpmsg/rpmsg_char.c | 56 +++++++++++++-- > drivers/rpmsg/rpmsg_core.c | 47 +++++++++++++ > drivers/rpmsg/rpmsg_fc.c | 113 +++++++++++++++++++++++++++++++ > drivers/rpmsg/rpmsg_internal.h | 9 +++ > drivers/rpmsg/virtio_rpmsg_bus.c | 111 +++++++++++++++++++++++++++++- > drivers/tty/rpmsg_tty.c | 50 ++++++++++++++ > include/linux/rpmsg.h | 15 ++++ > include/linux/rpmsg/fc.h | 51 ++++++++++++++ > 10 files changed, 456 insertions(+), 8 deletions(-) > create mode 100644 drivers/rpmsg/rpmsg_fc.c > create mode 100644 include/linux/rpmsg/fc.h > > -- > 2.25.1 >