Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4423505imm; Wed, 30 May 2018 05:31:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKlCcSpu2qdNfgbBmmvv3IyhQNxZq6p7ZJ8BlqPWlFCXhtjMb44bOJ/jjGUHpvM/MKAOcg/ X-Received: by 2002:a17:902:748b:: with SMTP id h11-v6mr2744506pll.12.1527683491175; Wed, 30 May 2018 05:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527683491; cv=none; d=google.com; s=arc-20160816; b=0pOpCEDjFZITHuQun+d3eCClrjHoNJtTxWCJ7npf8ttkndMyvTwARd9Au1hMo3fEs7 4QzKs6mMCfo88DqaLm49HHR91+vt9itIxjw8TVVPcfQKACY5gvJXKMJAOqwFTQFBJyT9 AS+DrgCh0xniY/VrEQDEpd/CzWN6+FaVKXjzFPynxMUwLXJxQHZW61nPO9k0Yab2srKz Trw4ecmv9BJu8cQQbj2P2V5qivTjZbeSTL8lcIZhrvhixGzKvN+aEt5xpsY9BgOJ1gab /O/DikcJDRnb0tlptZGXUqJSYTnIs3FLVAlPfs1eXD9vub3OSc4MLeSTWNQ0ZWjG6vc0 DQyQ== 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:arc-authentication-results; bh=/CKszuYCchNGIPwxdGjrd2HKrpKkfLye/zcr50nLxbE=; b=Clsg+2casWTM7QPg6I2j3tXbIij9IZndQCZ3BjmwDwrZe6hb9rwalHx7aF+KXYGDd/ uVXU78lxtJ2kxC91qJan55bYBHUwXMke7dDjLGFPZqMCv9jHiga2v9ElyLpNGQ0vRByz rIFv64YRwDXw4YhZdozgAXAOcfhxvbjI1Z43tiUADOIhFaXLsmFylWnmqNlgjhRYQd/x HCZvs+CPbPZbRLTLIkcEkOvB/hXy/moL92w6s9MC/eBsX50Rh/oh7nwRF50sIpm3RQRi Hym4B+RaMShzqicuemAxQTlh6vSmwxzPJc7gB/aisOA3lCcRtSWbfn0BvAgmrhqH0HPN YP+w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4-v6si33923585plt.561.2018.05.30.05.31.16; Wed, 30 May 2018 05:31:31 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752660AbeE3M3q (ORCPT + 99 others); Wed, 30 May 2018 08:29:46 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:54416 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750790AbeE3M3o (ORCPT ); Wed, 30 May 2018 08:29:44 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 83F645BCBE; Wed, 30 May 2018 12:29:43 +0000 (UTC) Received: from localhost (ovpn-117-228.ams2.redhat.com [10.36.117.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id E896A217B409; Wed, 30 May 2018 12:29:42 +0000 (UTC) Date: Wed, 30 May 2018 13:29:40 +0100 From: Stefan Hajnoczi To: Tiwei Bie Cc: mst@redhat.com, bhelgaas@google.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtio-dev@lists.oasis-open.org, linux-pci@vger.kernel.org, dan.daly@intel.com, mark.d.rustad@intel.com, alexander.h.duyck@intel.com, cunming.liang@intel.com, zhihong.wang@intel.com Subject: Re: [virtio-dev] [PATCH] virtio_pci: support enabling VFs Message-ID: <20180530122940.GI14623@stefanha-x1.localdomain> References: <20180530085521.26583-1-tiwei.bie@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cf0hFtnykp6aONGL" Content-Disposition: inline In-Reply-To: <20180530085521.26583-1-tiwei.bie@intel.com> User-Agent: Mutt/1.9.5 (2018-04-13) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 30 May 2018 12:29:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 30 May 2018 12:29:43 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'stefanha@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cf0hFtnykp6aONGL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 30, 2018 at 04:55:21PM +0800, Tiwei Bie wrote: > There is a new feature bit allocated in virtio spec to > support SR-IOV (Single Root I/O Virtualization): >=20 > https://github.com/oasis-tcs/virtio-spec/issues/11 >=20 > This patch enables the support for this feature bit in > virtio driver. >=20 > Signed-off-by: Tiwei Bie > --- > This patch depends on below proposal: > https://lists.oasis-open.org/archives/virtio-dev/201805/msg00154.html >=20 > This patch depends on below patch: > https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit/?h= =3Dpci/virtualization&id=3D8effc395c2097e258fcedfc02ed4a66d45fb4238 >=20 > drivers/virtio/virtio_pci_common.c | 20 ++++++++++++++++++++ > drivers/virtio/virtio_pci_modern.c | 14 ++++++++++++++ > include/uapi/linux/virtio_config.h | 7 ++++++- > 3 files changed, 40 insertions(+), 1 deletion(-) Looks good and matches the virtio spec change, but I'm not familiar with PCI SR-IOV details, so not a full Reviewed-by. Acked-by: Stefan Hajnoczi --cf0hFtnykp6aONGL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbDpk0AAoJEJykq7OBq3PI/a8IAMXdX7W1thOJsCpPYJN/TuyS wPDyYhx5+Xs35iJreLG2AIQ73SnLOgfdz/OGzHhpe+yAbH3P+JyWjmAPCXXVHDwu S01KRyn8xp60ZYqGhAxbCnmynOLGZS69h5PhnQgiQmr85+B/7O2k+6M6RHTKGE0k HwcB8kIid3ixIxjMlH9MiC8GKL5H/VWQ/nCwMTl1YRRvzb2e/9vB+JdyJo/+S/Ni /YAyP2hYSkbxRaKJM/GPuDkWt5oDsnfGFWyxlihwccTlI7e3eA2fIDxLz+9bIHO6 NzhcNg/4WC28wenhr+F+jeP8NKtIKnwh+vDs1GSKXa94mj/nvHF3z7Ypcya8PdQ= =E2BM -----END PGP SIGNATURE----- --cf0hFtnykp6aONGL--