Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2244166imu; Thu, 17 Jan 2019 10:43:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN6EPNERYktte6Mot92HJobPxKeITpQ91FKe/9tRgEnzQDWsO2JsndQE8Rl8sASMnf3IHmxL X-Received: by 2002:a63:9501:: with SMTP id p1mr14520372pgd.149.1547750626572; Thu, 17 Jan 2019 10:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547750626; cv=none; d=google.com; s=arc-20160816; b=TRDE4ZT9DKIiHM27w08JnnJ7ePWwXf4tr+oV3Z4Z9N2MFiWUOC0lFn/qkbn/lrnx9/ mFTs5Y5a6Eh/MoI6HYQ283rwak1csg/3sSXx90ZiVLs8bHfRyxIhUXkXSVrUuEYFaiFf vph9ZJ/JLwwnpDgvlxFQPpHIB4Gsifl+HKHjidnVqlt9ySDRtq8cBco7yLyvyxIiLscu s4VsQ4ewvl3+b7lbRJo1vikw+NfkWmQO46dYHTuBYaYg0kNT9CJc0RTQGbxUgcBMjFs1 Uxp1/dUYjlTxviTPkuy9C5zqIWIQOUtUfoGcWSaSlm+yP1DOAxG5zJjhXLfAqcZCXO1a plLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=nH4MJLg3WdjC3TgL20M29+zMXv3BoxkhNgg07gDpv2U=; b=mdP9plJMp1f6ive67U3kXCS/9fcGR+x97xFPoHerAja6M5PrW8pKOXlauDa5fyChA1 AQmLTUP+FCPZZpHXWts9KXHSeF+yBC3qgjE8RJUNHGLEOjWh/J1u4yIbYsqEzGJ4616A TRYciv8aAmyyO3C9iCX2KHArCHzOjGJR0BeN446dX3sfNvnrug3hD8DLd05R9Qid6AUg wpQhQQtiKnS1KyZ+b1BFulukQB7CInDhvP9QTelCAdviVzzF2huzUKp+c95FHB8VoWGl NN2mrlMWzD4BToA1jFBap8xzys9KB2xQQbTiCG8Lbp28BXUzQFuOLepdepgPjBsVHHoC oadw== 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 m20si2195632pgk.323.2019.01.17.10.43.30; Thu, 17 Jan 2019 10:43:46 -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 S1727951AbfAQPcL (ORCPT + 99 others); Thu, 17 Jan 2019 10:32:11 -0500 Received: from bastet.se.axis.com ([195.60.68.11]:50999 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfAQPcL (ORCPT ); Thu, 17 Jan 2019 10:32:11 -0500 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 37C8C185AB; Thu, 17 Jan 2019 16:32:09 +0100 (CET) X-Axis-User: NO X-Axis-NonUser: YES X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id PhmqNlTYOiv4; Thu, 17 Jan 2019 16:32:07 +0100 (CET) Received: from boulder03.se.axis.com (boulder03.se.axis.com [10.0.8.17]) by bastet.se.axis.com (Postfix) with ESMTPS id D96CC185A1; Thu, 17 Jan 2019 16:32:06 +0100 (CET) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BB9701E08A; Thu, 17 Jan 2019 16:32:06 +0100 (CET) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ACFB21E07E; Thu, 17 Jan 2019 16:32:06 +0100 (CET) Received: from seth.se.axis.com (unknown [10.0.2.172]) by boulder03.se.axis.com (Postfix) with ESMTP; Thu, 17 Jan 2019 16:32:06 +0100 (CET) Received: from lnxartpec.se.axis.com (lnxartpec.se.axis.com [10.88.4.9]) by seth.se.axis.com (Postfix) with ESMTP id 9ED3A3135; Thu, 17 Jan 2019 16:32:06 +0100 (CET) Received: by lnxartpec.se.axis.com (Postfix, from userid 10564) id 91ED880B46; Thu, 17 Jan 2019 16:32:06 +0100 (CET) Date: Thu, 17 Jan 2019 16:32:06 +0100 From: Vincent Whitchurch To: Christoph Hellwig Cc: Arnd Bergmann , 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 Subject: Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC Message-ID: <20190117153206.2flxqb26tbdrwp4z@axis.com> References: <20190116163253.23780-1-vincent.whitchurch@axis.com> <20190117105441.eqediwlekofp2srg@axis.com> <20190117151906.odvozs6kz3uvx32y@axis.com> <20190117152142.GB20359@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117152142.GB20359@infradead.org> User-Agent: NeoMutt/20170113 (1.7.2) X-TM-AS-GCONF: 00 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 07:21:42AM -0800, Christoph Hellwig wrote: > On Thu, Jan 17, 2019 at 04:19:06PM +0100, Vincent Whitchurch wrote: > > On the RC, a vop-host-backend driver (PCI driver) sets up some shared > > memory area which the RC and the endpoint can use to communicate the > > location of the MIC device descriptors and other information such as the > > MSI address. It implements vop callbacks to allow the vop framework to > > obtain the address of the MIC descriptors and send/receive interrupts > > to/from the guest. > > Why would we require any work on the RC / host side? A properly > setup software controlled virtio device should just show up as a > normal PCIe device, and the virtio-pci device should bind to it. If I understand you correctly, I think you're talking about the RC running the virtio drivers and the endpoint implementing the virtio device? This vop stuff is used for the other way around: the virtio device is implement on the RC and the endpoint runs the virtio drivers.