Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3620772imm; Sun, 10 Jun 2018 21:42:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLUDtw2IxJc9jfmTywmYhujpFMvu2dvI4yjsXCYlsZ5X8FqeJwv+PacrFF5ug6JXXKFtQd+ X-Received: by 2002:a17:902:8b8c:: with SMTP id ay12-v6mr16724418plb.74.1528692170953; Sun, 10 Jun 2018 21:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528692170; cv=none; d=google.com; s=arc-20160816; b=jizbWXXOKMMah+yzl3Fy7Byw2YGoqFdWj+VY83C/8NThjqrRlVK5GcoJVjc2CPZtGb jsovgDRAyUk8dRmOsgWsRewFrH/kKi9tBvVuUKuf7s6LFn79tIjc2k/oA4tLT8KkTUW7 DaecmHCJiJUx1az2SJ28t3C5zG24AgDcpF1z/XZFu23O8PKYyD3W0XOwWwo5A00dxC9V nxQFbZ27jBd8tLhb0JImLLSwENj+x91vpYRYM3b+ySIE4B6IeFpl/BuWJDvhN5aFkjy0 PIXdZtstC3m9oGScqL9smhrQZPvZh8kHELDzxR/D7nbPCTJFPKPTJvsG2o4vEK8K1n8I irDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=m4IQdh9BmJ+oKeCDf1YP3qnw6HNVoULn6zfbX5wHBVk=; b=YSHKaDNKwG2SjGPVRos3sdp6gy9gSUKhu9RgOpy/hjJWgCxttEz77ETc4ZuaDDtwdc I3qmml3CszmmU+bi4svX6uApmbmXJyS3gKeIS1Okv+QBKkB6wSrGCZzAhC08V7jK6NOw 9IZj/juagNBLEwhqAP77rdU1If6RjRI7N0Et6oCRsS+/U6ACBNCVIYKS6YqW0hnPvMpV WQEN6baBZA7H7oDwTqd1bkrnfUovxKkKhO7eYt7ArgkGixNWYjQirJ0JmkFTeyx1Imib SPg4w7lMm1z0+UhA5LmrUruXkyHzndOk3/t4tlRZiTM8esfqHzgVch+S+esSolDR8dpb e2Ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17-v6si19027628pfi.179.2018.06.10.21.42.36; Sun, 10 Jun 2018 21:42:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753926AbeFKEmC (ORCPT + 99 others); Mon, 11 Jun 2018 00:42:02 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:37227 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752735AbeFKEmB (ORCPT ); Mon, 11 Jun 2018 00:42:01 -0400 Received: from soja.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:13da]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1fSEeU-0000Os-KE; Mon, 11 Jun 2018 06:41:58 +0200 Subject: Re: [PATCH 0/5] can: enable multi-queue for SocketCAN devices To: "Jonas Mark (BT-FIR/ENG1)" , Andy Shevchenko Cc: Wolfgang Grandegger , Marc Kleine-Budde , "linux-can@vger.kernel.org" , netdev , Linux Kernel Mailing List , Heiko Schocher , "ZHU Yi (BT-FIR/ENG1-Zhu)" References: From: Oleksij Rempel Message-ID: Date: Mon, 11 Jun 2018 06:41:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iPDzjAqulvdlORRS6c4TpbJGYXVfqPPT6" X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:13da X-SA-Exim-Mail-From: o.rempel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iPDzjAqulvdlORRS6c4TpbJGYXVfqPPT6 Content-Type: multipart/mixed; boundary="vFlihA8LetR5Egt2HfyGeVsnZa4kIHP84"; protected-headers="v1" From: Oleksij Rempel To: "Jonas Mark (BT-FIR/ENG1)" , Andy Shevchenko Cc: Wolfgang Grandegger , Marc Kleine-Budde , "linux-can@vger.kernel.org" , netdev , Linux Kernel Mailing List , Heiko Schocher , "ZHU Yi (BT-FIR/ENG1-Zhu)" Message-ID: Subject: Re: [PATCH 0/5] can: enable multi-queue for SocketCAN devices References: In-Reply-To: --vFlihA8LetR5Egt2HfyGeVsnZa4kIHP84 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, On 07.06.2018 17:14, Jonas Mark (BT-FIR/ENG1) wrote: > Hi Andy, >=20 >>> The functionality bases on an external peripheral chip named Companio= n. >>> It offers two CAN interfaces, each has 8 prioritized transmit FIFOs a= s >>> well as one receive FIFO. Besides CAN, undisclosed additional functio= ns >>> can be accessed through the char device. >>> >>> A standard SPI interface with two additional lines for flow control i= s >>> used. The Companion chip is the SPI slave. >> >> Can remoteproc API be utilized here? >=20 > So far I wasn't aware of the remoteproc API. It appears to me that is > limited to power on/off and loading firmware in an AMP scenario. Here, > the Companion has a fixed firmware in it. It must already be running > quickly after power-up, even before the boot loader. yes, remoteproc is not quite suitable for this task. > Does remoteproc also contain a communication framework? it is using VirtIO > Do you mean rpmsg? Here, I do not see how we could benefit from it. using same message format instead of inventing new one will be really good step: https://github.com/OpenAMP/open-amp/wiki/RPMsg-Messaging-Protocol (less code duplicating same functionality) Looks like every company trying to solve the same problem over and over again. We have point to point link between two systems. Each system has multiple functionalities/applications so we should be able to address this functionality. So we end to some thing with source address and destination address. In all protocols used for inter processor/chip communication, the difference is only the layout of 3 common fields: source, destination and size. In many cases the ISO/OSI layer model is badly broken and > Can you point me to an example where rpmsg is used over SPI? RPMsg is just transport layer, 5 or 6 wire SPI is in this case Physical layer with flow control support. Currently i'm not sure if VirtIO with queue support do make sense here. > Greetings, > Mark --vFlihA8LetR5Egt2HfyGeVsnZa4kIHP84-- --iPDzjAqulvdlORRS6c4TpbJGYXVfqPPT6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEpENFL0P3hvQ7p0DDdQOiSHVI77QFAlsd/ZUACgkQdQOiSHVI 77TaMwf/X4Yl2Mi0EqVaL5X7z4/3gXNhpJxAohpOLwR+/Nks1SLGVANiarkzrDOg Ojj6Ejrc2ycctLBPCOl83W/CfmlHN1py6bQN/WhvABa8ykRPmBctgQYOeIDtvwTy bvKXziu25g7I4RDUw2I6OmHRe93LlHOv/bHTBScZrXsfwFlYbRzkKfy03Ih1qwf2 rUmjexMxUcXn8ud5cFXC0tJ2Qs72QUaZ7iYhp6Yww6fnCNg+rbwEBhDO2TBHQVtL cO5TrvTJPrq0WNdX858zFtZqVQvz5IyUyrWAg1MjPoRoT+Edw1tLUc4pq/1x8pPZ CC4D5U0KG7/eYNyinYh7dqpLYM2aJg== =mEgW -----END PGP SIGNATURE----- --iPDzjAqulvdlORRS6c4TpbJGYXVfqPPT6--