Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6085632ybp; Tue, 8 Oct 2019 12:48:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyO+PVHTZV7MvUtmOB5/GSs1CFTgb1m3YQ3C8sVHhZjIaxjBLqCnYe3/d58JUjEjNIRxBbD X-Received: by 2002:a17:906:5ad8:: with SMTP id x24mr30026146ejs.107.1570564116053; Tue, 08 Oct 2019 12:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570564116; cv=none; d=google.com; s=arc-20160816; b=dtyphRc5h7drwEEYk7RAFCob/uYRFx6x6j0nLf9OSJVAhEjdFOnTcJlh62wdcywJt2 6pqbOwyG+unKesqKyDKofprEqmUHtdT2BT6yHd7tO1ulYHJtJYgrQZtGDGbl8qUWE60U n6aFyvKPTWcS8AIg/Hp2+FO/A0aLTOWOxUpjqUl0QFk4UItxXimn2XvzeDbtlJRsaCbW 7kXheP/csajJVCRsWBMRwQYPm1dxSkaGjEXInuRaaKNgQ9oUeb3Ohe1p+P7iXniU5hkv DuTxxcFBELKphhcJTwLlgh1y3L1+a2TklhTdCavFVMXiqwesWQWePGKxtfTCQvbZn1Gi flEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=OiLraLEOHVJMQW3DZM6T811AWApI3wm6nU4uAi5YLA4=; b=orLl1gL4QVX3qOJXk1YfH/M/UQ/XHYrogMIVV0z6bUKc4R0GJR4YUo2ys0S5QU1bvD +hbxtUzcUl58CsWx8RS5PKXZzV1rqUhVKBKxhEhW/Kf8XEWf+gow45vEfYNSYmdql3ly YPMPxylIz8/Y60lDENxQV5AwMjf/jHcENQaBBKgUCd4iJgYiaiadGOlRAikIhY5YEUIC wP5iutsIXr1wEuDrNG1bzPKs7MuYbTbfinx6sgSsNDxqgRBkxoEAItptbENbZkhuKkap hdqMNHqsvxb2SMvKOuON8LkKm+Pkn4VbYrdHX8KNzGdtLtKXDVFG5fuBoR8Z9ZUqTBTY nsRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fSjxWfWu; 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=pass (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 g20si15460edb.149.2019.10.08.12.48.11; Tue, 08 Oct 2019 12:48:36 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fSjxWfWu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730409AbfJHTrY (ORCPT + 99 others); Tue, 8 Oct 2019 15:47:24 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:55311 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729385AbfJHTrY (ORCPT ); Tue, 8 Oct 2019 15:47:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1570564043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OiLraLEOHVJMQW3DZM6T811AWApI3wm6nU4uAi5YLA4=; b=fSjxWfWuntY7x4DKEd4necUVWR3P2cL+HGTTsGAoh+5JPGdm7gyg/saXURl8Q/PcQEBIVl p/cSRsaOp8RCSHu5e2KxoFQFHFZTkD21xbBZ5MwDb+lArdy25a9M/FOLKGumPepMfT6Uo7 F2OVKPnrfP5lqafHjhMfTeNG6LUjejo= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-53-beo1XltJNGWqfrB7AIed_Q-1; Tue, 08 Oct 2019 15:47:21 -0400 Received: by mail-wr1-f69.google.com with SMTP id 32so9592008wrk.15 for ; Tue, 08 Oct 2019 12:47:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=9PwM6aqKCiJLV+IIYiBNTz1lzh80V+pvcsEJSuL6Dsk=; b=sp8gbRow5n5OlBohsP/sRBmhXUs9sH3R1sTKDRj0173HPxrtAlJ2hEM3F66osA5b3A BfqbelNKAQr9LO/cUz2z0PD++GYcouL3xO21ymdSxq1ouSxuBzaLwjxcVGw2cfUFcMOg GWe3OouNyz3Ts4kH+D/B2bdgXg5wdYntoDpILZAzBpJvHsjTaf4+s24i8mCP/QZFGTmP frqwMvEawOAUOjrg9mAJ6KUlMFMpr+Y9IHwbaKrzC/oA/ST65+i56MRRA8BhR721UCnO tza/vBWfK7sHxLD9zONlZD06YFIQA46XJBb8D5/j/d472dp+uxlWpDcl6KWvhUi0pFIh YvZg== X-Gm-Message-State: APjAAAVvGIHlPyVqOWrZMBbNK6f2otcrTI6h2xcpWa/IiWzJmKxEndoM FGsCsicUE9kJonlDJmFYbQvRWStfc1aietkdPBH+IGSNCJzhZcegEBoEssaMCaU8jWe4cKBnmyu xf8Csk/oMdK55NwC9VylcRXzM X-Received: by 2002:a7b:cd1a:: with SMTP id f26mr4831610wmj.71.1570564040738; Tue, 08 Oct 2019 12:47:20 -0700 (PDT) X-Received: by 2002:a7b:cd1a:: with SMTP id f26mr4831588wmj.71.1570564040470; Tue, 08 Oct 2019 12:47:20 -0700 (PDT) Received: from vitty.brq.redhat.com ([95.82.135.158]) by smtp.gmail.com with ESMTPSA id x5sm17615412wrt.75.2019.10.08.12.47.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 12:47:19 -0700 (PDT) From: Vitaly Kuznetsov To: Andrea Parri , Dexuan Cui Cc: "linux-kernel\@vger.kernel.org" , "linux-hyperv\@vger.kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Sasha Levin , Michael Kelley Subject: Re: [PATCH 0/2] Drivers: hv: vmbus: Miscellaneous improvements In-Reply-To: <20191008150847.GA15276@andrea> References: <20191007163115.26197-1-parri.andrea@gmail.com> <20191008150847.GA15276@andrea> Date: Tue, 08 Oct 2019 21:47:18 +0200 Message-ID: <87imozyq7t.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 X-MC-Unique: beo1XltJNGWqfrB7AIed_Q-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrea Parri writes: > On Mon, Oct 07, 2019 at 05:41:10PM +0000, Dexuan Cui wrote: >> > From: linux-hyperv-owner@vger.kernel.org >> > On Behalf Of Andrea Parri >> > Sent: Monday, October 7, 2019 9:31 AM >> >=20 >> > Hi all, >> >=20 >> > The patchset: >> >=20 >> > - simplifies/refactors the VMBus negotiation code by introducing >> > the table of VMBus protocol versions (patch 1/2), >> >=20 >> > - enables VMBus protocol versions 5.1 and 5.2 (patch 2/2). >> >=20 >> > Thanks, >> > Andrea >> >=20 >> > Andrea Parri (2): >> > Drivers: hv: vmbus: Introduce table of VMBus protocol versions >> > Drivers: hv: vmbus: Enable VMBus protocol versions 5.1 and 5.2 >>=20 >> Should we add a module parameter to allow the user to specify a lower >> protocol version, when the VM runs on the latest host?=20 >>=20 >> This can be useful for testing and debugging purpose: the variable >> "vmbus_proto_version" is referenced by the vmbus driver itself and >> some VSC drivers: if we always use the latest available proto version, >> some code paths can not be tested on the latest hosts.=20 > > The idea is appealing to me (altough I made no attempt to implement/test > it yet). What do others think about this? Maybe can be considered as a > follow-up patch/work to this series? IMO such debug option makes sense, it shouldn be a simple patch so you may want to squeeze it in this series as it will definitely have code dependencies. --=20 Vitaly