Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp280638pxx; Thu, 29 Oct 2020 02:24:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd1J7y1ENOH1dYUPYC8o8qAkMiNu+mMSb5uVBHDWvW9KPrFuPZa+WCPBdUe8RNxmd62RZM X-Received: by 2002:aa7:df0c:: with SMTP id c12mr3046020edy.234.1603963466837; Thu, 29 Oct 2020 02:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603963466; cv=none; d=google.com; s=arc-20160816; b=lrXfJ0xXlPMWKtXu8V+9v3OluOFCNT0qIzRq4d9sGGchWOWfgy5maNOnfcNEse1Htu 28F/G/J8OaDcotIJRHvdNd7NAyIgpDke3/bN9T5ZpiEcnFBQ4PAVTCkNYCzkNKp/95/s wTSh9FyccJVNO63VA2lIevuQtTXDdujprwLKRoyTPdJVpOnRRXBSLuVOu2VzfLeSzQvp OB0d6T5mDGkHuRtSaboossmjnpWZo9iqAg9+cr3uGgi5XEAVrcD877q4rw/f7QugbOke kMreln+kHPqGMn7pw1urLF2NQIokJbirezlnmT3QTqP/HBsJsXACAlrPZqBCo0pxQ/zr ivpQ== 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=I+JfE52zyx1csacgv/0IQYA0erh6v8dJ8yND/ig6KnA=; b=kUM5itFjk8BihLKIWVIv5rRGjDNngY8F/UHj9RvhU0ToKUPg1fnstiTxz4jkDzrAYK CCvkBxkrpXSipgo0BKn++l1lNDBHGFZmi0u2KyLsJhLPo9Zswmf2jaY4QJbf+yaIXUQp OVK4FdCdt4CwwZrqMegLvf5Lk9BzHW8jRF4j2Zde2ySqjokSSx0n5MWPzglpjUCBniMq Vr2lcHSOYn1Lgfbgsg052N8GByUXH0a5IFV5CLMKy6ViIeV/rG+BcdToIrYx2VxQuupD ju/n9hJ480Jd+ZwrrYuPsanBXLIZKe7mDjPByjmoBRgDwv+NM7sT92D/kBzmCTjiTuSK xScw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="tzI/GTy+"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si1568583edi.75.2020.10.29.02.24.04; Thu, 29 Oct 2020 02:24:26 -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=@kernel.org header.s=default header.b="tzI/GTy+"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726162AbgJ2JU1 (ORCPT + 99 others); Thu, 29 Oct 2020 05:20:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:56154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgJ2JU1 (ORCPT ); Thu, 29 Oct 2020 05:20:27 -0400 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E95CB2080C for ; Thu, 29 Oct 2020 09:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603963226; bh=sq4zrpqihkj72WQb7U9Zm2j4j3kuiJ5BTdpvt1LjO7g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tzI/GTy+KrNPawVjjOLRD48StQHPH/7xIIyvtPPQ0RoQaq/KRBg2OU+zbdE3+IHuP SNAp5DW2iNt4GzymQnXleBjUdz8nVaIdo3YzokUIXzVW+DWZxydLkCOj7DPVMyqV7P 9VQYJk1LxA5NwbFOQVAFEVu4MkDDJFTZ6MLxQW1k= Received: by mail-qk1-f172.google.com with SMTP id p3so1422056qkk.7 for ; Thu, 29 Oct 2020 02:20:25 -0700 (PDT) X-Gm-Message-State: AOAM533Fgq0dryNBmL+4IVZ/bmdPyvhCRWfA6phpkPTiemRr7SdEASu/ LRwMy4pIGVVLlf0zjCOzYjxnYAJB/YV8ialyOCs= X-Received: by 2002:a05:620a:215d:: with SMTP id m29mr2736869qkm.138.1603963224989; Thu, 29 Oct 2020 02:20:24 -0700 (PDT) MIME-Version: 1.0 References: <20201022050638.29641-1-sherry.sun@nxp.com> <20201022050638.29641-3-sherry.sun@nxp.com> <20201023092650.GB29066@infradead.org> <20201027062802.GC207971@kroah.com> <20201027151106.e4skr6dsbwvo4al6@axis.com> <93bd1c60ea4d910489a7592200856eaf8022ced0.camel@intel.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 29 Oct 2020 10:20:08 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring To: Sherry Sun Cc: "Dutt, Sudeep" , "vincent.whitchurch@axis.com" , dl-linux-imx , "linux-kernel@vger.kernel.org" , "hch@infradead.org" , "kishon@ti.com" , "lorenzo.pieralisi@arm.com" , "gregkh@linuxfoundation.org" , "Dixit, Ashutosh" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 3:42 AM Sherry Sun wrote: > > Subject: Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring > > Thanks for your detailed reply. > Yes, the PCIe endpoint subsystem is the base code, actually we have implemented a set > of pci endpoint code similar to pci-epf-test.c, combine with vop (Virtio Over PCIe). > > But now the vop code is going to be removed, we planned to change to NTB framework, > I saw Kishon has done some jobs based on NTB and PCIe endpoint subsystem, will get > a deep look. Maybe it is a good solution. Ok, great. Regarding the VoP code, I think nothing stops you from reusing anything you find useful in there and build on top of it, but we should consider it as a new submission then, which means that you are free to change the interfaces without worrying about backwards compatibility. On the flip side, this also means we need to carefully review the interface to make sure we can cover the requirements of as many users as possible without adding too much complexity for cases that we do not care about. Arnd