Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1890389imu; Thu, 17 Jan 2019 05:06:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN4kCC8gKmf3GnXfJ7B+Gr3SIAFsHVL4lDzf1EbVbwssbXjohbKdgF4aDxsBCm7tc52iWQhC X-Received: by 2002:a17:902:4d46:: with SMTP id o6mr14344102plh.302.1547730390371; Thu, 17 Jan 2019 05:06:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547730390; cv=none; d=google.com; s=arc-20160816; b=hrnF30TMcKS9fuoQ6C1K61ragNmthQMViH7k3puXszDsCuJhbMpdJDO8anL3dOoRO3 oeh2xivUVe1vm0EtKXLfG6kO2BDd/Z4PttAg9bsiWqslW9SYOwq0nmPe1DAcnKWeANie 0so01tR6qNWr4vUT/VMrmIBcJh0i0O4/wS/+qYTSWwcD9f+PUZ/n1cANNuZmLrj5HEts CK3GAg2Sd0kSi0SO59mrwv01uOp69bibWVNFkrWQY5KSZ9OGlekrFBm+pIoyNvNKVSi8 URWDp4ZxiQeEswSZbXU53RvSLg8wMvuWub2vAK774hbBEbcR3t5jghJfiCL7uuos9jmH XtEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=hzGGz0SBHPxmYidYw+rSZ0HB8+5POWajvNbifDvdJ1o=; b=DdeU1mxBGqUyqdGKn7KWNaCe4Yac6OBZWhj2Zuv1W40cXtBkdMrBY5PyJ5AC6P6QbO OcavSXBz4YyWewP2iiLz2qUSh4ZPEGRpDafl++iQ7GcWiLB6IOIc0FSW8w2kbHRxIosS 10OvdIsy2D57d0pnBpgttVa4A8ijPkTkNVzbi70c1hfGFpIDbP4DV3MoKnzokQKd4GdM eidVAVgLkcx/M3S72onBJ1BdIzX2LIUJHxm21LgInbZwxWt6V6tldQp2hQND5GRdl/Rs fB7T3MYTguFjFmGyz7z3juvf3v4XekL8EVswqzTwNwAIJzZ77fxs8spNVpwAnlFySK3V g1DQ== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si1605674pfw.200.2019.01.17.05.06.08; Thu, 17 Jan 2019 05:06:30 -0800 (PST) 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727855AbfAQNCz (ORCPT + 99 others); Thu, 17 Jan 2019 08:02:55 -0500 Received: from ex13-edg-ou-002.vmware.com ([208.91.0.190]:2125 "EHLO EX13-EDG-OU-002.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfAQNCz (ORCPT ); Thu, 17 Jan 2019 08:02:55 -0500 X-Greylist: delayed 904 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Jan 2019 08:02:54 EST Received: from sc9-mailhost2.vmware.com (10.113.161.72) by EX13-EDG-OU-002.vmware.com (10.113.208.156) with Microsoft SMTP Server id 15.0.1156.6; Thu, 17 Jan 2019 04:47:39 -0800 Received: from akaher-lnx-dev.eng.vmware.com (unknown [10.110.19.203]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id AEBC4B1341; Thu, 17 Jan 2019 07:47:47 -0500 (EST) From: Ajay Kaher To: , CC: , , , Ajay Kaher Subject: [PATCH 0/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9 Date: Fri, 18 Jan 2019 02:17:15 +0530 Message-ID: <1547758038-5255-1-git-send-email-akaher@vmware.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: None (EX13-EDG-OU-002.vmware.com: akaher@vmware.com does not designate permitted sender hosts) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For now, please consider these patches for review and suggest if these can be merged to mainline kernel v4.9. These patches add support for vPCI protocol version 1.2, by baqkpotring from v4.14 to v4.9. Individual patches are summarised below: Patch 1: PCI: hv: Allocate physically contiguous hypercall params buffer Backported as is. Patch 2: PCI: hv: Add vPCI version protocol negotiation Backported as is. Patch 3: PCI: hv: Use vPCI protocol version 1.2 for v4.9 Change: Replaced hv_tmp_cpu_nr_to_vp_nr() with vmbus_cpu_number_to_vp_number() to make this patch compatible for linux v4.9. drivers/pci/host/pci-hyperv.c | 387 +++++++++++++++++++++++++++++++++--------- 1 file changed, 311 insertions(+), 76 deletions(-) -- 2.7.4