Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2538972ybp; Thu, 10 Oct 2019 08:49:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxtAloX1hBsSJl2osl0/IZZ9BmrBPxvhPbpC+hjy9M0hUkZI/qOw+5AwspvA+s6zpg/M9F X-Received: by 2002:a17:906:1e55:: with SMTP id i21mr8964366ejj.47.1570722551188; Thu, 10 Oct 2019 08:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570722551; cv=none; d=google.com; s=arc-20160816; b=h6eWW1tryHsxTLp8ndc4/d23XUYhWh1V/SwCuJrYPTfkbnbN+I8h4stSnMpOLcpCWa 3rCPoaqqOFqG3jr9+FOkGtp/4g6+yv/jd+MZAJE/xwKWpNkIeOWOka/d6ogef++zYYL/ uadafpt2RP3JIF9HFxMTKOp7k9R2RTdLBnnqzhuELL7fHWAwHZwq21jYqYadZyFAZyiD LE69nMAuFSNQJfjpe6pov08RxLLPE9JhRad5y+VVgRmWO8aB8alyTnRy76tohsWztEbg VW9mYW8FbDb7mL9xG+uefhRiyTt8SsfPLwTDjvR4/EYfY138RQYAviG5ZEZsF5HYA9gL 2I3A== 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:subject:cc:to:from:dkim-signature; bh=sC7OgET7WuI6MVv7t9GfPyX9NmB9ODXWMBvtaCRh7aA=; b=s2f+KNZhp2Pb1lG/pCk3McjrX5vln68PYkLVrfkP/yUolcvuVdkLNIHeGlijxlspdQ 7Fs5/EUufKjTaPFmn509LMhRfm2RDyeH8YixblbnNNDWh0jQuby2gDNfjqafuw17MfMZ paXx8mWYbtpeYmxTiw0cWW6FQzAmIWXvRdxDhvm4InxOLY4T4fYAnVXOkbk2zacRn0ST E+OTJyyGN2ZylFh2UAGpx1ps3uQu1ViF1/c71aFxhx263jflxeyXm9ERQI/0Rhsg6Vhm f+nOVXHctRfBA4iToABOAPr9dfAKBcIO5EfttsLyHGI9EEzcAXA8j40PzrfV5ZzD2Zcm rUQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bsDyFOUN; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si3296491ejz.381.2019.10.10.08.48.47; Thu, 10 Oct 2019 08:49:11 -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=@gmail.com header.s=20161025 header.b=bsDyFOUN; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbfJJPqS (ORCPT + 99 others); Thu, 10 Oct 2019 11:46:18 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41975 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbfJJPqS (ORCPT ); Thu, 10 Oct 2019 11:46:18 -0400 Received: by mail-wr1-f67.google.com with SMTP id q9so8502259wrm.8; Thu, 10 Oct 2019 08:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sC7OgET7WuI6MVv7t9GfPyX9NmB9ODXWMBvtaCRh7aA=; b=bsDyFOUNIz0iGZ9C5a6DZWtYVC1f/1+CiyJ6Zkytog2cAj0j51ooR8Ns6sOhpj2NAq zC1x11Thn8EWQCrpgDdS5d10ipSRR/j0RN4PHB5QftXRSUsDaEGMOiJVslkyM8RS8mfj iMEPaDfclD7uV/l0GTaMcscEiM7atfXN84y7SMQjaR/Hjtf0VqDrXq3EBKqMoeS3xs70 ky8e3Ei8gFe9fBzhsL5Z1sxUzRcSLGlVdXsBMnGEO5jyZYK8nMn3DghFrU96jjCWSCso DyDeTR0mrZ2miQBylRqK0naROAdiF1BFmnZC1q01G6tbICB3b3/tNP1kYokQF3Ql+uTV 1zFw== 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:date:message-id:mime-version :content-transfer-encoding; bh=sC7OgET7WuI6MVv7t9GfPyX9NmB9ODXWMBvtaCRh7aA=; b=rBC+GHlyAXT1gkXFdgwMVC12MnWgKkb/0KBEIzd2PKEHp6v6YevnxNZHcXDWcOzeC8 5FrVDpTt+Ioa4Nu+KKEfjt5DY0jl3K2+jL4W2bcBtbCy8Q3TKprd5EthF6Sqnh27gQco r4pnDq3i9qAHwh55ob6tRb1/Gfo168sBYH8q2YunlCpYhWERSpuGTaNP0TD1c7L8P3CC CgXQvBprR4Hg22fueHr4Oz0UKnZPiBwIbmd99FIYcNKUTDW88jkBLJ51oOrzhqRX1Cv5 aQNeBdrHg4IH9eBCgO+xlmKzLKY+QKdx6itg12cyVmgiVyBd+eYzKmnNXr5XHwNis48n 4eXA== X-Gm-Message-State: APjAAAXppnPtUjZmAOD4YrNnOs1nJMylReF2XNBIxxgDnJxF6xcoLEbd LTDDyhpLSnViI7tI48BJT+UXMRwk9gccBQ== X-Received: by 2002:a5d:6246:: with SMTP id m6mr9446584wrv.262.1570722375663; Thu, 10 Oct 2019 08:46:15 -0700 (PDT) Received: from andrea.corp.microsoft.com ([2a01:110:8012:1010:e9a3:da77:7120:dee0]) by smtp.gmail.com with ESMTPSA id u25sm6719807wml.4.2019.10.10.08.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 08:46:14 -0700 (PDT) From: Andrea Parri To: linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org Cc: "K . Y . Srinivasan" , Haiyang Zhang , Stephen Hemminger , Sasha Levin , "David S . Miller" , Michael Kelley , Vitaly Kuznetsov , Dexuan Cui , Andrea Parri Subject: [PATCH v2 0/3] Drivers: hv: vmbus: Miscellaneous improvements Date: Thu, 10 Oct 2019 17:45:57 +0200 Message-Id: <20191010154600.23875-1-parri.andrea@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, The patchset: - refactors the VMBus negotiation code by introducing the table of VMBus protocol versions (patch 1/3), - enables VMBus protocol version 4.1, 5.1 and 5.2 (patch 2/3), - introduces a module parameter to cap the VMBus protocol versions which a guest can negotiate with the hypervisor (patch 3/3). Thanks, Andrea --- Changes since v1 ([1]): - remove the VERSION_INVAL macro (Vitaly Kuznetsov and Dexuan Cui) - make the table of VMBus protocol versions static (Dexuan Cui) - enable VMBus protocol version 4.1 (Michael Kelley) - introduce module parameter to cap the VMBus version (Dexuan Cui) [1] https://lkml.kernel.org/r/20191007163115.26197-1-parri.andrea@gmail.com Andrea Parri (3): Drivers: hv: vmbus: Introduce table of VMBus protocol versions Drivers: hv: vmbus: Enable VMBus protocol versions 4.1, 5.1 and 5.2 Drivers: hv: vmbus: Add module parameter to cap the VMBus version drivers/hv/connection.c | 68 ++++++++++++++++---------------- drivers/hv/vmbus_drv.c | 3 +- drivers/net/hyperv/netvsc.c | 6 +-- include/linux/hyperv.h | 12 +++--- net/vmw_vsock/hyperv_transport.c | 4 +- 5 files changed, 48 insertions(+), 45 deletions(-) -- 2.23.0