Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2113281imu; Thu, 17 Jan 2019 08:35:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN4KCixzmMuwQ078wz2sZdJtIfvtzjcl6cAsA3ghZQADzI33YufvtNPPmPpseyzMPpQomFsu X-Received: by 2002:a62:33c1:: with SMTP id z184mr15534066pfz.104.1547742954724; Thu, 17 Jan 2019 08:35:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547742954; cv=none; d=google.com; s=arc-20160816; b=zXL2xOfp6cGSh+seyMBHtqJjN5H+uiaT/mOYq47xWuSye7K3cqs0Fj9WMXwXKAKcDG 7AyT4mLqGluOP7GfnqctuwG3YmaIJc3E0aFa77CuDGj7LhfQyA0FCVu2qdRugRyacUjJ PwzxyHBOH2IFqsaXix3AqLrr+EofvxmGi9js4cX4uELbmcb4xkD9g2s3RKec8gSo34iR 7ojlrc20+Vs/IGHauBaOJXRYb2qURYX3jwZkpHoR7bGpcroTxvwQqt001S/1YNg5Qr3m tyXYg8g78NwRKeeTZvB3TXpsUR0pEPOlbwa7y+hy6FZKwekCb0KQWcQEzV/Mydf+S9g9 OGwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=hUO7lExNQVYdMiiSDFiWk5Lp0j1l6DWAJJFEEl3Aahk=; b=G5K9tfgkEwqebvIzxSWyYI/w4fhYBnge1UEGE6amHDa+91jM1VmqN2NTpREKd1bhkd j0NvmPhzyGUoFVvocGjX+8DdYlNM7nKGcR+6Si3BRQqpyrMqrYzIu7cVhZKHF7MghaAN JhM0jW2cR2ZV/rg9XlWPOflY4aJ/PfOoO9buJQfhv5leBihoqcMwa7LTWTu1CcclYrqQ CdLIlyRxPcZ/t26z6dDx/QAfP2dtuuTl8RMZVQWJe7xRMpMMyqpBsf8EOjjJ5kQavS0v htNs8Usv7MvIh78FaDqNLRXymr9G/obZsajuQG2kUa6bTXEjbfgWP38jVx988ScWTojx MfGA== 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 r12si2077184pgf.22.2019.01.17.08.35.38; Thu, 17 Jan 2019 08:35:54 -0800 (PST) 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 S1728750AbfAQQe2 (ORCPT + 99 others); Thu, 17 Jan 2019 11:34:28 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:32918 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfAQQe2 (ORCPT ); Thu, 17 Jan 2019 11:34:28 -0500 Received: by mail-qk1-f194.google.com with SMTP id d15so6387625qkj.0; Thu, 17 Jan 2019 08:34:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hUO7lExNQVYdMiiSDFiWk5Lp0j1l6DWAJJFEEl3Aahk=; b=DUQsi8Me/LivjJFnPZ1+MA5QkBLgnSoN9PjxQcjpU2AYszRTSISnPtwlOXjxB1ripD wbqexaXLzQg4m8YNlQXHq0R6hbkQhKw8/oQC3X5868F3sT4dN5rbBS76ruAL51iJodgT VtB2PWrZ975UGO9SATUuW9OygvvPqGeEX5LYbLyWbxSnbfvC1PdRPAXN1tDeo2V59uHt 5WzvBn1O6hcEmROgxM8PV0JFFap3cGtb1CE+dzax7Ck57DAYLIS9IAfkski2RDQ0lN96 GHTGa9VdX31cEXjWPfc05fWkoCR0qA8GIO0e3DvOgEBjmTqRx9RJjVzM1jGr6/HJz5oU q2XQ== X-Gm-Message-State: AJcUukcd1yJfGEk54PvhIx2LN/zdvXmBQc6ayNd5W96io5DExGD4wxzm b1b/rfriJP+Qbrgs2NvDoAbG61bED+0OFqQGJoo= X-Received: by 2002:a37:bdc6:: with SMTP id n189mr11338192qkf.330.1547742866885; Thu, 17 Jan 2019 08:34:26 -0800 (PST) MIME-Version: 1.0 References: <20190116163253.23780-1-vincent.whitchurch@axis.com> <20190117105441.eqediwlekofp2srg@axis.com> <20190117151906.odvozs6kz3uvx32y@axis.com> <20190117162601.tbmi4ounrnktzjga@axis.com> In-Reply-To: <20190117162601.tbmi4ounrnktzjga@axis.com> From: Arnd Bergmann Date: Thu, 17 Jan 2019 17:34:10 +0100 Message-ID: Subject: Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC To: Vincent Whitchurch Cc: sudeep.dutt@intel.com, ashutosh.dixit@intel.com, gregkh , Linux Kernel Mailing List , Kishon Vijay Abraham I , Lorenzo Pieralisi , linux-pci , linux-ntb@googlegroups.com, Jon Mason , Dave Jiang , Allen Hubbe Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 17, 2019 at 5:26 PM Vincent Whitchurch wrote: > On Thu, Jan 17, 2019 at 04:53:25PM +0100, Arnd Bergmann wrote: > > On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch > > Ok, this seems fine so far. So the vop-host-backend is a regular PCI > > driver that implements the VOP protocol from the host side, and it > > can talk to either a MIC, or another guest-backend written for the PCI-EP > > framework to implement the same protocol, right? > > Yes, but just to clarify: the placement of the device page and the way > to communicate the location of the device page address and any other > information needed by the guest-backend are hardware-specific so there > is no generic vop-host-backend implementation which can talk to both a > MIC and to something else. I'm not sure I understand what is hardware specific about it. Shouldn't it be possible to define at least a vop-host-backend that could work with any guest-backend running on the PCI-EP framework? This may have to be different from the interface used on MIC, but generally speaking that is what I expect from a PCI device. Arnd