From patchwork Mon Sep 12 04:49:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9325701 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 F1E8E6048B for ; Mon, 12 Sep 2016 04:51:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9F7C28ACC for ; Mon, 12 Sep 2016 04:51:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE21E28B18; Mon, 12 Sep 2016 04:51:43 +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 3F3F228ACC for ; Mon, 12 Sep 2016 04:51:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932664AbcILEvX (ORCPT ); Mon, 12 Sep 2016 00:51:23 -0400 Received: from ex13-edg-ou-001.vmware.com ([208.91.0.189]:38056 "EHLO EX13-EDG-OU-001.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932609AbcILEuv (ORCPT ); Mon, 12 Sep 2016 00:50:51 -0400 Received: from sc9-mailhost1.vmware.com (10.113.161.71) by EX13-EDG-OU-001.vmware.com (10.113.208.155) with Microsoft SMTP Server id 15.0.1156.6; Sun, 11 Sep 2016 21:50:33 -0700 Received: from EX13-CAS-009.vmware.com (ex13-cas-009.vmware.com [10.113.191.61]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 8BDEC184D0; Sun, 11 Sep 2016 21:50:44 -0700 (PDT) Received: from EX13-CAS-003.vmware.com (10.113.191.53) by EX13-MBX-000.vmware.com (10.113.191.20) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Sun, 11 Sep 2016 21:50:44 -0700 Received: from NAM03-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, 11 Sep 2016 21:50:44 -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=QNLwTGg7ovAuCnXkUUMAz2YnU2Odc4xq1/0VgxYzdCM9BlbXuRElyfESa9OurPxtC/OBELuqpYYtzyQvVYfVFmPKej/W5rGw7su4rM39dJP0qfForTPmqoLqRMDjWOerSgPiS9WvrOV2LVeV7ag9+cYwA9VgBS+awjQ0J0cgb+s= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none; redhat.com; dmarc=none action=none header.from=vmware.com; Received: from promb-2s-dhcp95-136.eng.vmware.com (208.91.1.34) by BLUPR0501MB836.namprd05.prod.outlook.com (10.141.251.150) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.619.3; Mon, 12 Sep 2016 04:50:41 +0000 From: Adit Ranadive To: , , CC: Adit Ranadive , , , , , , Subject: [PATCH v4 15/16] IB: Add PVRDMA driver Date: Sun, 11 Sep 2016 21:49:25 -0700 Message-ID: <1473655766-31628-16-git-send-email-aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473655766-31628-1-git-send-email-aditr@vmware.com> References: <1473655766-31628-1-git-send-email-aditr@vmware.com> MIME-Version: 1.0 X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: BY2PR04CA052.namprd04.prod.outlook.com (10.141.249.170) To BLUPR0501MB836.namprd05.prod.outlook.com (10.141.251.150) X-MS-Office365-Filtering-Correlation-Id: 67d081be-f558-494e-e696-08d3dac85a2d X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 2:sPA4yIzuf5l+AvawpuJcYFenfqNn8Qa3h6PiCX9wB/kDnEwzLaTrFqVuMAFnJfPsQotnCh1/hXWTX4D8PQTW7Aaf6FsQoq5/DpNcGod/T6G1ZoEo9xJ9EIzGX1BVrbpzP/XMrkM220Ek0xuqkfHjrwbn8127TbTalcvxeklfPPyJT8KTxWL0eeSppP1uyhqR; 3:H0CekmX1IChxo329/Ot0Xoi5k/aMx/c71PhzufSQuJtsdEf+FwlEy/7AgHLD1p/DSKrR5VFm0rtFAv2UjSqrKAv9ADEgvhJrEnrPKcXCJuWbEeQ5KNdWP3SE2p8U+XNI X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB836; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 25:DG9xlsZluk1q9UfZm6bQkXv1lkmxm2Ic6bgtZEScGVfeSorc77DLiZGcZRaxjRdSKofnLvzQk3IekiXZrxVsV/bFi+bly20nOSLTXXJQmNL24nthoOVqO88AP93heqMSwoFO/uXSaqjmQzyfNS5SMcA58i+mN/yQ0113fQq+r38HGrap4wGoc8yNE9dssbkmweJujkdwEvmJHrPziswuilnyUh4WmYV6vQQ7sBqRwLZ5x1yJQEBEZ3i4eBfIUFHVBPcSb9tYxPC48Nop6wWm9NbydzDqiLHTt+BH0/8G+FAvXtVP11b/HtDRQVZEe0mtwgFKAxPH0tIpw63kAqi+SFF+3qE13DKx4EsCFJkThttnn0tKf49LjjnSgTb/qSmYMbPxJ+tuRQFsmxTMbiWR8cYWuyWH8bdVROOTtt6vLkD9d1fKq8T6jwkBdaZl7Paw9Lwfi/bd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WOlIx2f4jAxcQEUTZnufbplD8K0Kkk3oS8mf/G2Klkj9CqgCN 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)(3002001)(10201501046); SRVR:BLUPR0501MB836; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB836; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 4:AAH7/kJFZ2ZYZBsHS+fJQF0Xlfc+7kzRzeZRllexS4sY/HRtQI0WmALmQ9KEt+ACcw/K56j9hRQCnZkKJsaIS7sqoyQIBOBW66qnrq7kl7A+0ic1BNN4ZAizVhg6etXS7/3E6UYHvluUPIxdXkkC64or32GrWuCWYfy8u3/lmZiSmisQvkVNxwU22MMvjumZzDoEnh2OXZ0neTUO97syCxiI6rnB8STxbVT4uOoWf/QxwBaSGGgjo3etZvTOR5KfZ8DANpFWapGHohxtmZK+gkA/g9deBT5hNKLMtI+bJtDwvSbi+2wV8sg7N7hX+nCHFgjbuZjeLSBZ9FrRNBFoq9XaasKz2uSeTiLA/lziF/VGr8rBc1/2AuQj9V3o5kDqqBBsqUHhQjuMgqxbFC58n6UxhTRzRR4P/nk1/Bfc3ZOvDZQV0NbOXfHRax0Vakn3 X-Forefront-PRVS: 006339698F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(66066001)(107886002)(4001430100002)(5003940100001)(36756003)(47776003)(189998001)(4001450100002)(87386001)(86362001)(48376002)(2201001)(50466002)(2906002)(50226002)(8676002)(81166006)(586003)(4326007)(7846002)(5660300001)(305945005)(42186005)(76176999)(7736002)(50986999)(6116002)(3846002)(4001520100001)(5001770100001)(19580405001)(33646002)(92566002)(19580395003)(2950100001)(77096005)(229853001)(7099028)(5001760100003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0501MB836; H:promb-2s-dhcp95-136.eng.vmware.com; FPR:; SPF:None; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0501MB836; 23:kBEZxN9EOndjF9YkXmtNxvGcVVuCIFfqtE27XpS7?= =?us-ascii?Q?/XcAI7b5TE0/IbbcdcFmEAjEoAoLQRKIZrefDyoDMuE221Uq3mB3qHCUUHkT?= =?us-ascii?Q?lXVY2UyZ9hUu+DgS9b5m2G1KiHAYAvHlw154mAHOBO4+oOVUtMcGbFHAcvJI?= =?us-ascii?Q?YoycxOIzxZbSQ1+HlRsEw4sAZEm2j/DoBGdljnGdhOYH+9Gqq/j3LJ0cFqxP?= =?us-ascii?Q?j51La5w7I7kdtif1Tl7xtzWP86gRYNzg/E3S6ucZgQD9CXiM6+ENIO/0ZMsl?= =?us-ascii?Q?oRO+8yR73bLIVD++AnD5MDO402IPGZr0weivyhhzr/Xvw9f1wRCafrnsESLU?= =?us-ascii?Q?JsX+9G5tQu9bY6bPUdGawUq2v43QYjU6Ut9Vn3EN/03WOyFaLuwgtQmGky34?= =?us-ascii?Q?sY6TbEfEH6Xn++byFeFQTjoCGJjHIPZGJXyK4h2ji6bNjptoUUIGO49Qc/za?= =?us-ascii?Q?GHGl+NFI4Eo6WfyitOMwo0EvDH3t557Jdg4vecoAUWZhvJegmfaJ0UdZHJlK?= =?us-ascii?Q?CkT7rYMNa8wmxPjet3zh++XW+lPQxz9IXOtDoFmFxLB7GEMXMm0ed/0DZChE?= =?us-ascii?Q?mVZC3VkRecyzhDg30IzGjQN9Jfun+k03N7cTKeMPRUX5nSwRoMeDnn5+LrbN?= =?us-ascii?Q?MWMdZUFG0W6I/MoEGAtetD3R7mZu0cVG5nu5xrmw8HfNx1fe4C4ckX4kmHTZ?= =?us-ascii?Q?I/GzbPijwU3Tu2n0qZwI/hcwrvEEPWLKjJjhRBhjlFIPmbxGD03xTlcAUAye?= =?us-ascii?Q?sh/Ot3Nv1pH7NIpZZfs2CqEgfnOq5dI9RY/tZLvYrHn365bwb7ZOTMS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KCBm1AQdfi6MghGKUp/m/BrjvyjnPuwQu/Mu/utUzPEMN/2rYNmgkmQKfLfy/A2U60tscput290+KxKmZF15WS9eM+nQLe4Qzblra3bPl2v9+yzbwkR/hKfsx53eQJ/TAhzpCCJC24WxwHpk09ojaIurCW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 20:l2qV2XPE3lrYg1qWt2DONB33gDvJi9cti9tepVPKHrUq8BMEb0ht+Arm6XK6rGrKTCwUjjB85FqLd+ccr03xsiPzGtlub8yrS2o0FZ4gC9OlfEeCc1/zpZJy5XJpIyEPo6ujS5J6sARSdWd/sAzLywC6byjULCme785mQF4cXr0= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2016 04:50:41.8564 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB836 Received-SPF: None (EX13-EDG-OU-001.vmware.com: aditr@vmware.com does not designate permitted sender hosts) 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/