Received: by 10.192.165.148 with SMTP id m20csp399017imm; Fri, 20 Apr 2018 08:30:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+NJeO6zLFezQDlofMc5AVCbuNNP5J1tdS5gTn8dFcGy7Dsk9c8ffjIUCP85YilJG7JPdv7 X-Received: by 10.101.74.69 with SMTP id a5mr9187820pgu.32.1524238259165; Fri, 20 Apr 2018 08:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524238259; cv=none; d=google.com; s=arc-20160816; b=gpSRdtbg4Gm4dnju55SDWRKn1NLCnajt03is1mF0o4zobGtf1w0V5EcgcJ7qJInmwE SRZNW6e4iQcD4p9wAI1U4oE+jrEJeYveagMpJQImA2ZLA84/+TvCT9Fm4HwMNAxsitpU 0QSY7+4eWhp2c3duuN1iB0CRbeiOeQBpKgelyBcXOsJrujolePkp/zhgRnATBtK4Kjiv 4Y62vx3Bg091Uh1w5jeXxiD+RO36/YqmWqZQCYezk8ZDfh1GKA+K6CXaWLoTeDzkfWLV hGmiUbVuHKaGfSlMGE7LK7It8fHudNUFnz+k5Y2yCJhf1gI+SV2bwbbrJ+pN/2pB9s5t t6Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=LPthsNtalzZv2kzPfxi6cftNYfKqKZx2kKjAW67+424=; b=IcYyCo73E7SYOsbO9ldExfXZCLTalIpXJFNSVvyjk6yAfGFPQz/g1fPX7XxWuStMXK Ra7dIbnfmwVnkrLY/69Qe65M4+w6abobeOl4I13fNjPG1aJ5E02APnAERGIwEcxG/3cZ 2Vb7pus6FFkBkihpO1d3V+ktKsIBl2GYt/RG5eYb8EiSwXqSaawhxUqRvvjwUueTIf8J RyrxBfmwhF8ewlFgH705W2DRw42Mm4vurNZr72T52kp7w8UpmRR1rNUz0MsPDJ2e9Asg JPHyQ3/3HKDf60VlTwtXqierYd7gPnKzVfj55MrcL/Ixrhjk80JVUgQDhv71EyrG2zVT 1D1Q== 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 bb4-v6si1254411plb.169.2018.04.20.08.30.44; Fri, 20 Apr 2018 08:30:59 -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 S1755765AbeDTP24 (ORCPT + 99 others); Fri, 20 Apr 2018 11:28:56 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51194 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755522AbeDTP2y (ORCPT ); Fri, 20 Apr 2018 11:28:54 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2F4EBEC011; Fri, 20 Apr 2018 15:28:53 +0000 (UTC) Received: from redhat.com (ovpn-126-37.rdu2.redhat.com [10.10.126.37]) by smtp.corp.redhat.com (Postfix) with SMTP id 35FE12026980; Fri, 20 Apr 2018 15:28:51 +0000 (UTC) Date: Fri, 20 Apr 2018 18:28:50 +0300 From: "Michael S. Tsirkin" To: Alexander Duyck Cc: "Daly, Dan" , Bjorn Helgaas , "Duyck, Alexander H" , linux-pci@vger.kernel.org, virtio-dev@lists.oasis-open.org, kvm@vger.kernel.org, Netdev , LKML , linux-nvme@lists.infradead.org, Keith Busch , netanel@amazon.com, Don Dutile , Maximilian Heyne , "Wang, Liang-min" , "Rustad, Mark D" , David Woodhouse , Christoph Hellwig , dwmw@amazon.co.uk Subject: Re: [virtio-dev] [pci PATCH v7 2/5] virtio_pci: Add support for unmanaged SR-IOV on virtio_pci devices Message-ID: <20180420180839-mutt-send-email-mst@kernel.org> References: <20180315183449.3102.64791.stgit@localhost.localdomain> <20180315184132.3102.90947.stgit@localhost.localdomain> <20180316183042-mutt-send-email-mst@kernel.org> <20180403161151-mutt-send-email-mst@kernel.org> <20180403212503-mutt-send-email-mst@kernel.org> <20180420030640-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 20 Apr 2018 15:28:53 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 20 Apr 2018 15:28:53 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2018 at 07:56:14AM -0700, Alexander Duyck wrote: > > I think for virtio it should include the feature bit, yes. > > Adding feature bit is very easy - post a patch to the virtio TC mailing > > list, wait about a week to give people time to respond (two weeks if it > > is around holidays and such). > > The problem is we are talking about hardware/FPGA, not software. > Adding a feature bit means going back and updating RTL. The software > side of things is easy, re-validating things after a hardware/FPGA > change not so much. > > If this is a hard requirement I may just drop the virtio patch, push > what I have, and leave it to Mark/Dan to deal with the necessary RTL > and code changes needed to support Virtio as I don't expect the > turnaround to be as easy as just a patch. > > Thanks. > > - Alex Let's focus on virtio in this thread. Involving the virtio TC in host/guest interface changes is a hard requirement. It's just too easy to create conflicts otherwise. So you guys should have just sent the proposal to the TC when you were doing your RTL and you would have been in the clear. Generally adding a feature bit with any extension is a good idea: this way you merely reserve a feature bit for your feature through the TC and are more or less sure of forward and backward compatibility. It's incredibly easy. But maybe it's not needed here. I am not making the decisions myself. Not too late: post to the TC list and let's see what the response is. Without a feature bit you are making a change affecting all future implementations without exception so the bar is a bit higher: you need to actually post a spec text proposal not just a patch showing how to use the feature, and TC needs to vote on it. Voting takes a week, review a week or two depending on change complexity. Hope this helps, -- MST