From patchwork Mon Oct 3 02:10:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9359929 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 56C0960459 for ; Mon, 3 Oct 2016 02:11:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A1AC28904 for ; Mon, 3 Oct 2016 02:11:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EF7528977; Mon, 3 Oct 2016 02:11:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D0ECC289AD for ; Mon, 3 Oct 2016 02:11:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752142AbcJCCLX (ORCPT ); Sun, 2 Oct 2016 22:11:23 -0400 Received: from ex13-edg-ou-001.vmware.com ([208.91.0.189]:24870 "EHLO EX13-EDG-OU-001.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbcJCCLW (ORCPT ); Sun, 2 Oct 2016 22:11:22 -0400 Received: from sc9-mailhost3.vmware.com (10.113.161.73) by EX13-EDG-OU-001.vmware.com (10.113.208.155) with Microsoft SMTP Server id 15.0.1156.6; Sun, 2 Oct 2016 19:10:45 -0700 Received: from EX13-CAS-008.vmware.com (smtp-inbound.vmware.com [10.113.191.58]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 037FE404FA; Sun, 2 Oct 2016 19:11:22 -0700 (PDT) Received: from EX13-MBX-036.vmware.com (10.113.191.77) by EX13-MBX-018.vmware.com (10.113.191.38) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Sun, 2 Oct 2016 19:11:21 -0700 Received: from EX13-CAS-003.vmware.com (10.113.191.53) by EX13-MBX-036.vmware.com (10.113.191.77) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Sun, 2 Oct 2016 19:11:21 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (10.113.170.11) by EX13-CAS-003.vmware.com (10.113.191.53) with Microsoft SMTP Server (TLS) id 15.0.1156.6 via Frontend Transport; Sun, 2 Oct 2016 19:11:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=K4qq0LGx3qzKn/4SfdZTNTjDEgeRt21YlQwKJ7kVRGQ=; b=orR2O0igB5lvCA+auJ29VYUREDvExYgjBk5yrXtzgXhFMh1kdFV55Wq8ho3fMmdU5zMpDfcSf3CNfELja/8kcsPRIPm/PjW00d2riVuJXmlKgNPziHZHFHwlguxqHCgX5v414duOaVZuMIUpGUpF4yOCVuLOi8HQXRHZOu8s+7E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aditr@vmware.com; Received: from promb-2s-dhcp95-136.eng.vmware.com (208.91.1.34) by DM2PR0501MB841.namprd05.prod.outlook.com (10.242.115.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.6; Mon, 3 Oct 2016 02:11:15 +0000 From: Adit Ranadive To: , , CC: Adit Ranadive , , , , Subject: [PATCH v6 15/16] IB: Add PVRDMA driver Date: Sun, 2 Oct 2016 19:10:35 -0700 Message-ID: <82ef1265c0134b52f2611cf6d8c318accd776a6c.1475458407.git.aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: CY1PR1101CA0039.namprd11.prod.outlook.com (10.169.17.49) To DM2PR0501MB841.namprd05.prod.outlook.com (10.242.115.147) X-MS-Office365-Filtering-Correlation-Id: 0436d668-4c08-4e8c-6834-08d3eb328ef7 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0501MB841; 2:TwFED3dOoWGWPW10WUObogK77P56GDzegMJWLyi7reirofjwc6O2/ePb5HUjXXHTL6goaFd7pAsmxENwWN22nD6Np6uXziFGa97W7CdkB7oPPbetSojHjnor2SbzTDRCeJdqhRhqHAP6ACN4dkBSAepFwiYnfFdDn9bQLR4C7/gwEzUh5kGGRYjYLqJE61489v4lIjwIYf1siX8JKZU58Q==; 3:zcijiyqlN3MVJWhKt5/cBQtsBSo5fGM5ZRHyJeKNdLCmVq+6thHfIiJ55ZJMqLgt6nF/l6VCRUs0omQaGixHL6eyv8YYdwi6YMT647O8p1v6jEtA/mTJDc/lfWqsuMfqxCMlKYgeLbdcxnAEvV8Lvw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0501MB841; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0501MB841; 25:no2CPEdiooqzHzYU0ch2pQPortNrkEY1cCrIT2jEY5SNBQ+Gw0CRnscCSZJ5vlPN67pWAQVyYnXYzqb7X6O8CAkxNoxR4dI2gcHoO4FzUCW+EUlwB2ozxXEpYP1tMqZxu9KRy/YISDIB1H2KZtM1IZl+aIvMRfAtUgNDwltvzdoDZNy2QcJd0PbZxJmXbAzyyx0kM7nz6LvJTEuprtNEmaPZfydfDHggaNrUXmHAnUQYtDC9eXkGrejEyGw+4JBpAGig9OolfC3tsF9lklzFCe2fdTe7atBl41W2JEuf4D7iMebTQzIUmrjwMZB26fJtXfI13Jd7XkzjHueyzVhvUPx0pC7A1552sxuaBO4MloPzeG6j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dHQDK/Ny3mKrnopPsH9hMBDy8fzqvS33VypcUy7anYhltTOO87JOwJ+fNba8lJLyzRIdRRYwD41r5uUHnSbkRQWkI6bzlT4+PTR2x8nSvPHKEIXsFSJgujkrHRf/vgPrhdZBKXvQ1LtClwO8WFKWzn4I1LOaaiuMs9zE+8yGBbieM5n/E5lqV7pPsq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:DM2PR0501MB841; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0501MB841; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0501MB841; 4:/1VtFb1b5euZYnQDgLavnZJwdW8wE1LKnNWOfr/3UqrJ2kvJXzYvwEgS/1Hjh4dN24uwhiYcuVdFUfwugPIhjtHSzQs2uyOtgm+Sp7+R1GtFNzr7XCYoFWtpN7/zUm6NJjEbUVxCRf53dpXNLm3YCL2VfZpSeNrtlaXgzjVFNtscgf0fpWCKiTHNwV+WNNQ7UZM19swtl6gmG8VTMUdl/ay4T168lrxVVDbcJQaQS7y6ULOLNloCP5hGEy3uvYJ7aZFoly+kUTrE2BHTkoq873N5PFj63VV7cOAXnmwe9WxyLAJDGcEX1GLevfhMvCSSBeutqIG+96f/9GHKEbff8LkvzZagqykpY67QjXC2+5x8O4uSiJzbLBuiFxigmDbSU3TZ2VDr7VcZmRYy67tnKVaQLVjIqlLX56O7yeWU5M4dTpNFXjuCFrp3BeoxSoWM7Bvmb04WwHxSDPDodtvPFQ== X-Forefront-PRVS: 008421A8FF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(189002)(199003)(97736004)(189998001)(42186005)(19580405001)(47776003)(8676002)(5001770100001)(33646002)(2906002)(19580395003)(77096005)(6862003)(50986999)(76176999)(106356001)(2950100002)(101416001)(5003940100001)(4326007)(5660300001)(107886002)(105586002)(92566002)(7846002)(7736002)(586003)(118296001)(229853001)(68736007)(4001430100002)(305945005)(2201001)(48376002)(6636002)(50466002)(66066001)(86362001)(50226002)(6116002)(3846002)(81156014)(6666003)(36756003)(81166006)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0501MB841; H:promb-2s-dhcp95-136.eng.vmware.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (EX13-EDG-OU-001.vmware.com: aditr@vmware.com does not designate permitted sender hosts) Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0501MB841; 23:ne3t3N8brWO8n2qY+FOvIN4NN0n8S1xa+Eqr1Tz3?= =?us-ascii?Q?6nayKh09rHUT4klBNpuWreDlERlEfWEgWbaxrcm2bVvjrYh3hiVija69p6hH?= =?us-ascii?Q?UE19VL1GYLmbhQotCzBh0xsgD+yZi9sYZ0ZdiuLdyBVguJjzOGXhHzyYkMpy?= =?us-ascii?Q?rlAtvAKdGcqq16ak8cUTCIq+9b7Osuuusztw5S9slfEVBvT413fqozMbV4Nr?= =?us-ascii?Q?lby4GML6smUx1fRLYMO423FFdnJrM+KewQ4zLDVM5Oy7TouiFUR3D25KcSN8?= =?us-ascii?Q?j01J67UvyTmH9hqpro5bO2hoxskP45mT7o8GDcGojMatsiN9YNB2lVWUHwDA?= =?us-ascii?Q?KU25TNXmBdTVj+AW8Jk6V5FgHuDT4aXAGVVd2oG16ET/uQY0d867rtW5ubmw?= =?us-ascii?Q?xJaMFMTEEDrtPvJfjSsGXF6CCSTmJ+Gy0dU3uWlpgkdRUezjWN5RcponqROi?= =?us-ascii?Q?LB/+Jr0ih2+M89JDDqng9v2vGYHltao14Jp40dKX0v2NbmzW8IKrWUjRgmwL?= =?us-ascii?Q?GANrT16NlSErmM2WG2CcPBF+hsNe4c9fXGdQ8gaxZDQGd2ZhD5fzCmeYmvYI?= =?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G3DhU4rxwv+OVAB2FEOiUA3Ny2gNDgRshOdMqUCrMEwy8jq18HHYn8gYmxmKkDonLdTIjX34R/VkiAEXP27kRb6lhrxnBYuq4ljZlx0pM+kCfOtXH; 5:6/tBdWPqA3ItJni7vEKNAlsdPXX9ipeeBq2Gx0R0XTNCMeNEY/KPuC+Zb8dN0brsHgb1s7pZNoIqxiw4GtTkbwkSWnFkc1hpoCnIguW79DfxFQBmP3FaJvmKV2D6DAUAwK09zFnVeEfCCW90AiEmw22qKVkEFEYPTlVK4e/68cg=; 24:ZRT3gW2p7Yld3TNV/u4rUFXun+dTWPuTic4xhi4ceYqRXCRGAUzvtEGSnI+SpP1j8jwsxpNVRfNS64FNo/M/rTB1l4xuwS+n48Hu/xTlqAY=; 7:ENJUkjmueVdKhMEmhxmR7NhflFCCraGuBpvC7njkhZlgDx3kIDnDg7hY8XL9168l/fhDRHgqzDrWpuUQH3v8VamuqAe/VK9Koj9T3UZXrjUduoeJCqUOO67pwqES0WiiJJIwzYKuHvaxpmfwZYtUNWvVFiCUlv5DMk6yfthGZrLeJvVLmYlvNslmeu7xk8myL2eFI46e4JbhnTfgB8pORzFvlM3KujaXzoNEp+vukcf8/fvM55W+GEsWHKxT7poMv8nUgp6ib8CcmCRlzmopklO7Gw4is5aHd3KzJhYUmMa8/zKmYk9lWKGLtiPQEzCZ9z58gsG Jo6MIiEcobJRlkw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0501MB841; 20:5Bd3ks7Z2dHDwQ+j7wLdZBplKHA8QTRrshRxNcDx8qLw9bb2+uV8L672gHmSDLgMxX7rDn90+Nv+g/vtotuTXlTYTy5Ozhl1UnFIS6rvWFpiIMYEKcQ+sxvvlAjnyWzVlaP2qdBamXEPdjXiKHCjKYsvC6C980VVjZ1oyCK2bi0= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2016 02:11:15.9685 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0501MB841 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch updates the InfiniBand subsystem to build the PVRDMA driver. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade Reviewed-by: Bryan Tan Signed-off-by: Adit Ranadive --- drivers/infiniband/Kconfig | 1 + drivers/infiniband/hw/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 19a418a..dff4bcf 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -88,5 +88,6 @@ source "drivers/infiniband/sw/rdmavt/Kconfig" source "drivers/infiniband/sw/rxe/Kconfig" source "drivers/infiniband/hw/hfi1/Kconfig" +source "drivers/infiniband/hw/pvrdma/Kconfig" endif # INFINIBAND diff --git a/drivers/infiniband/hw/Makefile b/drivers/infiniband/hw/Makefile index 21fe401..c8a7a36 100644 --- a/drivers/infiniband/hw/Makefile +++ b/drivers/infiniband/hw/Makefile @@ -10,3 +10,4 @@ obj-$(CONFIG_INFINIBAND_OCRDMA) += ocrdma/ obj-$(CONFIG_INFINIBAND_USNIC) += usnic/ obj-$(CONFIG_INFINIBAND_HFI1) += hfi1/ obj-$(CONFIG_INFINIBAND_HNS) += hns/ +obj-$(CONFIG_INFINIBAND_PVRDMA) += pvrdma/