Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1449832pxv; Fri, 2 Jul 2021 04:12:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIX905OdrgkZynQVDIP4qpylcbwyoGucSYBFX0Bda//WkId6O01cVmDsbw2a/+RNaCsrrz X-Received: by 2002:a17:906:7312:: with SMTP id di18mr3440569ejc.346.1625224353807; Fri, 02 Jul 2021 04:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625224353; cv=none; d=google.com; s=arc-20160816; b=Aw5OLYRojgyT20mvxUHzQGiMXGD+WFPbFGd/3OCgUu1XrPZUTWfJHziRJYGqxUPFZH MWmDEVcexEWd7IJvc6xM3qFznhU8BkbTs5i1G5aFLnzunPWh0VN1/Md/Jkwjrbk3Zdvm 28vMd2ZUXunnv8SKK8NiPKbqoljBVwuE2yKvL1cHcPb6ayNqRf+sFUF8Di0qnQ2t2TAt JMs5zpDimtmPX2pTIvZ40jLfrQIL40A5sewR3hR2QBbI5tUPvX4bhEiSaQI3mHedW7Jb FqRxuPwRoC7yxICtC+a4yBLyLSkYvpgnv3s/3wAgA4Oa01J19292m1i94JA17cECdaDh B3ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=JE7gPe9XcGjzopCju1Dyamc+jbwY/SH05n9p/kvNIPo=; b=PcXIVktNFN2YMS19PWPOE9hevDldeLSUmL43RdhTGvbLGCqSM5VSlRg2BsivzBhySo Kt53gs8MCtSL3ibd7U6VEdcSpdQzmhZcNAdGUYPA8rDUKyqDZZWi16KpZORY2nrfe9/a D7mlcJgfqpdG3OYIl0DteXM3BIpgwV+k7xQ56X92qGQJ0azUTq46wOi3DuAovzxzoZ0A QL0Xss26NDJMjLLmPJoDBonTiMuoEEYzfOHEDVl2Np4ME5vzYz/Wu8H0TSYZptNaBgKG ioYeyEbLSFqst7ynLFX9aMokMPFz6yTiRoUmgSmV3J/bK70UVpzL67TYUJzW6KjRyVEw tbHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@iot.bzh header.s=20180822 header.b="u0Xsb/9T"; 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=QUARANTINE dis=NONE) header.from=iot.bzh Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d25si3014169edv.595.2021.07.02.04.11.57; Fri, 02 Jul 2021 04:12:33 -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=@iot.bzh header.s=20180822 header.b="u0Xsb/9T"; 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=QUARANTINE dis=NONE) header.from=iot.bzh Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231231AbhGBKBs (ORCPT + 99 others); Fri, 2 Jul 2021 06:01:48 -0400 Received: from mail.iot.bzh ([51.75.236.24]:41450 "EHLO mail.iot.bzh" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230299AbhGBKBr (ORCPT ); Fri, 2 Jul 2021 06:01:47 -0400 Received: from localhost.localdomain (lfbn-ren-1-1868-231.w83-199.abo.wanadoo.fr [83.199.51.231]) by mail.iot.bzh (Postfix) with ESMTPSA id 499B340082; Fri, 2 Jul 2021 11:59:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iot.bzh; s=20180822; t=1625219950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JE7gPe9XcGjzopCju1Dyamc+jbwY/SH05n9p/kvNIPo=; b=u0Xsb/9TloZwFPFhIgcejgTw1SV474HjLhxm8Awk8/Gel1BSlEbCzMq71PV/QbW7clU1xY D/zOxTOsy8JNCtxGbDCvze9arRk4RYEVXYDn4WgoRwaeKdMxYf9Cb/5Afma7RP9kXc9l00 1BSCGUa5I6tSBY+DFSKosxL5jUvCXhj737KwAM2p/GnJt1NC9Dn+uQtdRptsI05g1s+1oR u8JbvLHbHeDyv/Zr9gj/EUrbG3TtHIKLX0KbDT28rsgOPFhT0jYQcsKGds9rtwTjCtst9X s9dg+J/iQ/SxPGpVhB2UKmIc7CSXNRTjzfdvJ9RpfBc2FOBR3plEsH2yi3b/FA== Subject: Re: [PATCH v3 0/4] rpmsg: char: introduce the rpmsg-raw channel To: Arnaud Pouliquen , Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20210701090413.3104-1-arnaud.pouliquen@foss.st.com> From: Julien Massot Message-ID: Date: Fri, 2 Jul 2021 11:59:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210701090413.3104-1-arnaud.pouliquen@foss.st.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > How to test it: > - This series can be applied on git/andersson/remoteproc.git for-next branch (7486f29e5e60) > + the "Restructure the rpmsg char to decorrelate the control part" series[3] > > [1] https://patchwork.kernel.org/project/linux-remoteproc/list/?series=475217 > [2] https://patchwork.kernel.org/project/linux-remoteproc/list/?series=505873 > [3] https://patchwork.kernel.org/project/linux-remoteproc/list/?series=483793Just did test this patchset v3 again. With the same protocol Works for me, /dev/rpmsg0 is created on NS announcement, and removed when stopping the remote processor. I can do a repeated series of open /read/write/close, and got EBUSY if I try to open it more than once at a time. Firmware used for testing is derived from: https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table with: #define RPMSG_CHAN_NAME "rpmsg-raw" Thanks Arnaud for your work. Tested-by: Julien Massot -- Julien Massot [IoT.bzh]