Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp306464pxx; Thu, 29 Oct 2020 03:10:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4dZhPBpcnJV4V5SQL0/rsadjd6CE1P1C5UWHVkFXgVGs5V0QttVNtvLxjeRru7ab0uc77 X-Received: by 2002:a05:6402:143:: with SMTP id s3mr2943314edu.267.1603966251085; Thu, 29 Oct 2020 03:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966251; cv=none; d=google.com; s=arc-20160816; b=hxWS6VztBokzA+mO9jNn59ZJMGUet+atn1Jcm+vfnajday7XXcTaQFkgCNQtYx0sL4 nYd7bprjXfOfM6BaRkfyp9iFHLzICwtDQE2geMAo8/rRlokEHUgxvGxBuvZQhAclqKTy 3uUtLZwhvoIO3Pv2CobWkZkMTGsJ06iAmgTuat0xWQh81c23xvMEHM2WfGmirclxgQpG McRMsRufM2AsR0DECzSJBqnQc+5gdOAwPNoSdeCfU62KKv8KOxIQi9lbytU4TJ3RLa/s CRUWgrewYG8Z+Vx85mq9HeC902Ms5NdQ2iE+uGLJe2Tbz6oWfbIHMtfI9FfuCl6MtCw/ Fipg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:dkim-signature; bh=3dDfRpZrXdi2h9cyLECrD8Pi4UfPbqkN/AeqV38WhpY=; b=nHF7j9BlmQWIn5Gw4QEIsd4PF8d18+5aWXMD5ZrjNy3lTbdwAC/nM79HDiYIPfImIG 89EQ6G6Fm4dprMyZRqd0kH93ljmfKE0hwkFx/oLIsQKaztAzcsv+aMaw9+NHCIGDUt+N PKoO7E5laxLs0YXUqmelQYRtrL/yo/FjZhmkPtXDOdns5g/I6TYlcOZOktN23teOcNoN 0mszz+RrYsaH/KcOMMfDw0JGz0FCoxObQsepfuYIxBowiJVyV04zy7b8IEOyNhhjduNV eGR4L6/bDVCFfpAPTeyECuY99wH9Bmb2ELOwJHENArzngqIh7XejBPJevds5g2Yr1pBQ Vs/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=F6eKyWXO; 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=axis.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n13si1534465edy.429.2020.10.29.03.10.28; Thu, 29 Oct 2020 03:10:51 -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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=F6eKyWXO; 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=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726321AbgJ2KHb (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:31 -0400 Received: from smtp2.axis.com ([195.60.68.18]:63878 "EHLO smtp2.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725984AbgJ2KHa (ORCPT ); Thu, 29 Oct 2020 06:07:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; l=1235; q=dns/txt; s=axis-central1; t=1603966049; x=1635502049; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3dDfRpZrXdi2h9cyLECrD8Pi4UfPbqkN/AeqV38WhpY=; b=F6eKyWXOkleM/r0Mfnqe1Aw5wmvWH6QHiRdzY7j6MONzqEuyLuFXU5jw TX/Y793eUC87QxsyJHVOXR4kFobVJaB0Fg2DzU4KT4tdm+TSqCmDs0Xnx rDHr+HbgfmfYuUJdq6GkUm4GQdJR94b1OYB7YM2+1Pcxk47SoZGSjYIgb /NZVmefHwRO20PNqPhOOio66ucTMev313AYOhZJPlzzZ3YHkUFplYTGoQ YNTg8w0ggZGtrEZjjq74r/1C9Y86vYK1vpdKF6e6Be3R8k0GtoO4NQRt8 6IAQka70ZMHeBcsK9PnGBgzVObce0zcvKdymFjtoXVIvDfGY0zzDlEInN w==; IronPort-SDR: cYyEylfPzxmDd4ZhHRuVfvgvp2Zcdmv3PoASyiieKb4bE8CRzutBYe8oqq+FRwKO3Ew26Z24iA vI+jqeGTsC/njYhc7yudJuhSJESfkNevUfqq8wmigJcb0pxCAWVPEkB5LwAOGNYWTliqxaRB2O HGFaLFoopbJF3DQEl9HjhHyNLrs9wahjlBIrXBkjJThypoheDAjqgVgWt0B7AKrBBca8ULrI8Q eyKe6qnjQvU/NW7gQX9Ejrs2AusAkTchZTY7zMnzJ1Ug954iC0KmSGxDffqLO6wJ7J7kOybGeW HqQ= X-IronPort-AV: E=Sophos;i="5.77,429,1596492000"; d="scan'208";a="14036188" Date: Thu, 29 Oct 2020 11:07:27 +0100 From: Vincent Whitchurch To: Arnd Bergmann CC: Sherry Sun , "Dutt, Sudeep" , dl-linux-imx , "linux-kernel@vger.kernel.org" , "hch@infradead.org" , "kishon@ti.com" , "lorenzo.pieralisi@arm.com" , "gregkh@linuxfoundation.org" , "Dixit, Ashutosh" Subject: Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring Message-ID: <20201029100727.trbppgbusd5vogpz@axis.com> References: <20201023092650.GB29066@infradead.org> <20201027062802.GC207971@kroah.com> <20201027151106.e4skr6dsbwvo4al6@axis.com> <93bd1c60ea4d910489a7592200856eaf8022ced0.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2020 at 04:50:36PM +0100, Arnd Bergmann wrote: > I think we should try to do something on top of the PCIe endpoint subsystem > to make it work across arbitrary combinations of host and device > implementations, > and provide a superset of what the MIC driver, (out-of-tree) Bluefield endpoint > driver, and the NTB subsystem as well as a couple of others used to do, > each of them tunneling block/network/serial/... over a PCIe link of some > sort, usually with virtio. VOP is not PCIe-specific (as demonstrated by the vop-loopback patches I posted a while ago [1]), and it would be a shame for a replacement to be tied to the PCIe endpoint subsystem. There are many SOCs out there which have multiple Linux-capable processors without cache-coherency between them. VOP is (or should I say was since I guess it's being deleted) the closest we have in mainline to easily get generic virtio (and not just rpmsg) running between these kind of Linux instances. If a new replacement framework were to be PCIe-exclusive then we'd have to invent one more framework for non-PCIe links to do pretty much the same thing. [1] https://lore.kernel.org/lkml/20190403104746.16063-1-vincent.whitchurch@axis.com/