Received: by 10.192.165.148 with SMTP id m20csp1301645imm; Thu, 10 May 2018 08:36:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoUfgUKWOSV56hrNiLc0r00zLhW/eaVr61k1xf6M0MGlzNaQXK7j9Qedx6FtiRvltYtjKmB X-Received: by 2002:a62:d044:: with SMTP id p65-v6mr1879841pfg.64.1525966610816; Thu, 10 May 2018 08:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525966610; cv=none; d=google.com; s=arc-20160816; b=1BZ9F8fxkiif1RSrKo4++QCB0SF2jUxO4cbNg6lxi2Jom1Diz10VuCA6ahSGbKEorx z3ej5J9Mixd0EjpNmYqqTU8f09FrBeU8hYKkxHv07kAgUAETtm/X+vDeHLXAQ0NiWUMG bQJ64489gklioedPmnePoW77GNZP+0Hbacp37KhRvfeZXiRK5kldi4qD0dCqPbHEPgcy /Z1k0svbruii2zp8R+C1+qFIOWKNVKsJNAkc7oFLdbGT+6TwWmratZLYykqT7/ZVfoGJ 5hXBrWZnSq55IPkAQRZM2f3yt3Ghycz8Slh6hegL47lp3Edz/DlEyp/tcOI2/YFphv2c MEOQ== 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=hU3RwQZo2dVFdHsZsIbJef8/CMKy+qNFG1+RA7QXZKY=; b=B1oWiB7cXH7PBQr4DfGyh/piaDAYZhEe32g2TjQaibZHsLhqMWCAu2NigYl/j20toF G9WkI7+g2gH1cXYkkPDvrmCzhGJSp0e7WH7AtgO7ak0euKKLeyQrtjKI9vOqV57v4Icr zJNhpdB20OcRsTb8NCb3L/3l0yezE8PemX+hw5H+Bs54XLXaudO/KL8K/YlxsODzNFzv OHUTEbhEdLwj4M9ck8/ic0a6pbZIMwNdsvmyW87ReXsmHv5tVoq6EboQ9TN9bKvmAgef 0xJ23N+CvqA0X8ku++TGePW+unOtswKXlBuj4QiIqIkcaA+6chsDXOyqbkwoiejMi8O7 05sA== 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 s3-v6si1031764plq.87.2018.05.10.08.36.33; Thu, 10 May 2018 08:36:50 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966250AbeEJPgY (ORCPT + 99 others); Thu, 10 May 2018 11:36:24 -0400 Received: from mga12.intel.com ([192.55.52.136]:41879 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966093AbeEJPgX (ORCPT ); Thu, 10 May 2018 11:36:23 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 08:36:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,385,1520924400"; d="scan'208";a="227408200" Received: from debian.sh.intel.com (HELO debian) ([10.67.104.164]) by fmsmga005.fm.intel.com with ESMTP; 10 May 2018 08:36:21 -0700 Date: Thu, 10 May 2018 23:36:54 +0800 From: Tiwei Bie To: Stefan Hajnoczi Cc: mst@redhat.com, jasowang@redhat.com, pbonzini@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtio-dev@lists.oasis-open.org, dan.daly@intel.com, cunming.liang@intel.com, zhihong.wang@intel.com Subject: Re: [virtio-dev] Re: [PATCH v1] virtio: support VIRTIO_F_IO_BARRIER Message-ID: <20180510153654.ysy6kehqhbqljgiy@debian> References: <20180504045915.17693-1-tiwei.bie@intel.com> <20180510095317.GO1296@stefanha-x1.localdomain> <20180510103941.znxka65iluybktuq@debian> <20180510150258.GB9308@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180510150258.GB9308@stefanha-x1.localdomain> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 10, 2018 at 04:02:58PM +0100, Stefan Hajnoczi wrote: > On Thu, May 10, 2018 at 06:39:41PM +0800, Tiwei Bie wrote: > > On Thu, May 10, 2018 at 10:53:17AM +0100, Stefan Hajnoczi wrote: > > > On Fri, May 04, 2018 at 12:59:15PM +0800, Tiwei Bie wrote: > > > > diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h > > > > index 308e2096291f..9fb519a9df28 100644 > > > > --- a/include/uapi/linux/virtio_config.h > > > > +++ b/include/uapi/linux/virtio_config.h > > > > @@ -49,7 +49,7 @@ > > > > * transport being used (eg. virtio_ring), the rest are per-device feature > > > > * bits. */ > > > > #define VIRTIO_TRANSPORT_F_START 28 > > > > -#define VIRTIO_TRANSPORT_F_END 34 > > > > +#define VIRTIO_TRANSPORT_F_END 37 > > > > > > Have you updated "2.2 Feature Bits" in the VIRTIO spec? > > > > > > In 1.0 it says: > > > > > > 24 to 32 > > > Feature bits reserved for extensions to the queue and feature negotiation mechanisms > > > > > > This information is out-of-date. > > > > > > > No. In the latest spec draft, it's 24 to 33. And it > > becomes out-of-date since VIRTIO_F_RING_PACKED(34) > > and VIRTIO_F_IN_ORDER(35) were introduced. Do you > > want me to update it in the IO_BARRIER patch or do > > you want me to update it in a new patch? > > Please update it to 37 in the IO_BARRIER patch. Will do it! Thanks! Best regards, Tiwei Bie