Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2045196imu; Thu, 17 Jan 2019 07:31:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN4OEGldjYpTT7H7d8aG2L9oE7+SZgUHcyrfjRJMyni3oZ1FQOwcL0H/3zfBHMpIaWMrn3pn X-Received: by 2002:a63:f201:: with SMTP id v1mr13079576pgh.232.1547739070144; Thu, 17 Jan 2019 07:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547739070; cv=none; d=google.com; s=arc-20160816; b=QMYNII1olqNSn2vGMPk8AqHolj4cL+2Q/Jd/j2b+LIiEPqltQWwL142M35jjfv1PDU n6nIuivvteRXK1YdRz6YJm+eR8I8bXJkoqvB1sIzBn6AAp7aKQGSzEuGxyUfO/lvsjFQ eflA9z/OheUp+DRmHK9JGW07CLl5CFfHrxvoLdBGoy8dUx3+rhLtCde3bvv6ynh91Sa4 tDiDaRqHnjAJl6aiA77qn5YyQpUdvYYWxFHajo5oKQ7v1gzeMo3T3SrRMJzf6zP6FtVb m0Qrv7+XJdkD4OAELian92yzvSZVdMVB2sfuG1s7Lje3XKwpL/4df7vPBBgzuaFFtxO1 fR2g== 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:dkim-signature; bh=TbPM+0T5PUaCHxphYcTDljSEm9LaSeGiYmuFWn2lMBo=; b=Q9IEAeCGOg4k5WZbLUAF8beTyhfA92dEZAvX29/F0zFd1xreSdXmq+HBm0+mwu8Zd0 +sS3gcocOT5Xr0AhFmIbhROJZakfIgRGvniKLQoOfXKgI8Og/yIZJibHOiJm/xOrgyml mVHtPGwsmMCWnFrx2UpyLyMDsAbtc1odN6O6c+mSrPaBaEc+i70zUUQRtFw1Oc1KXi8H ywVTdLbDdwAZenEr0QrPGUH7jgvtYZNx79Cpv0md0GYtSwCGqkhFjhnp5KXhx3Po9zSu r9LBg0bQjqc0p4Td5nlyQRNAztdYN5f41/7HXRJrqLiJptJpeArE9fADJVo7uraz2Shm 6HMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=qGBhgyCd; 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 x61si1977937plb.303.2019.01.17.07.30.46; Thu, 17 Jan 2019 07:31:10 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=qGBhgyCd; 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 S1728429AbfAQPVq (ORCPT + 99 others); Thu, 17 Jan 2019 10:21:46 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:48364 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727306AbfAQPVq (ORCPT ); Thu, 17 Jan 2019 10:21:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TbPM+0T5PUaCHxphYcTDljSEm9LaSeGiYmuFWn2lMBo=; b=qGBhgyCd6JI4f3oYwcxQrLZZW WvPhaSdj3OLSpeN5vaAA/QK+SqG9pHBYZA72qkMbGAIvEkL+3z7UnnQzsncG7zr89DC61f2BScAc9 76UQL9EDhDYRpY8g8UnfKkTC09ZQmIXMUlV5djzM55U1Fm0flHG8JnpTSi4grgccmhFfl3E4sUgJn NYG41OmXR9P1em8/8TSxTN+doMWzZPDKxTr1XJEnODTzRLfPbbKdAToySEhWA0qp+Nlqh8szEXuHj 2M5JbhParhrncbrmYv3Z2BsyOcLVXuAPGL/fpMKYdK3M8Iq46R/ntgLsiABGMtfaA0WscJyuIZFpS Vu+mbcD9g==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gk9UE-0007OA-Sj; Thu, 17 Jan 2019 15:21:42 +0000 Date: Thu, 17 Jan 2019 07:21:42 -0800 From: Christoph Hellwig To: Vincent Whitchurch 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: <20190117152142.GB20359@infradead.org> References: <20190116163253.23780-1-vincent.whitchurch@axis.com> <20190117105441.eqediwlekofp2srg@axis.com> <20190117151906.odvozs6kz3uvx32y@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117151906.odvozs6kz3uvx32y@axis.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 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.