From patchwork Wed Apr 25 22:34:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10364339 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 8E3AA6038F for ; Wed, 25 Apr 2018 22:34:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 755BC28877 for ; Wed, 25 Apr 2018 22:34:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 679C828D95; Wed, 25 Apr 2018 22:34:38 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, MAILING_LIST_MULTI, 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 07FD128877 for ; Wed, 25 Apr 2018 22:34:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753349AbeDYWef (ORCPT ); Wed, 25 Apr 2018 18:34:35 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34852 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753252AbeDYWee (ORCPT ); Wed, 25 Apr 2018 18:34:34 -0400 Received: by mail-pf0-f193.google.com with SMTP id j5so16445117pfh.2 for ; Wed, 25 Apr 2018 15:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=6BI/89Xir9ODxty7Okg91rNybhYTYyYX04wSkcRW1MA=; b=Je+GX+8eA7FxWAVv2oz4gJ0Z5+7YyuZ/+ATYfszvvPZ31vEHmKni2lj/IGfGP9Qx5d WXYZEuYgC1Zb53J/brcA6xVHE1aLTkGDMrZhTinp7vVBFWQemZ0LO9IOPWCb2+6JkjcQ v+G21oVwcZ/vWuHocSa4tpl8IkfueLAdy6nvSZxHQj3vKft42/rV8wev22QMWGaFz+Ve /aYkgFiT5OQnRgAsEdwyX45iByenXQaq21WkFRAeN7ep92D3zUsnzT5QpvV6bOTNUYcn USTM+oUsGnp19/A2beBM5rdo/DYof0FjtLymIEy5/hB7MxrS2VWAqWl+8uHj2Uj/eafh wVCg== 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; bh=6BI/89Xir9ODxty7Okg91rNybhYTYyYX04wSkcRW1MA=; b=RLDNgLbfyNOOZN2CvLph2QT0G/H4JusKRi3BAvGlxeM+Y4UWxqeRZhv/KF96JPUWo2 RXBeCGDGJ83yRz2ndoxdkW2pXm5Rh75MlaGNKC1O8foEzVQlV5fmf85x7rwcWcmTEw+N jPt2J6Uh+a2vrkOy+y7UxQO8TNa7L1fk4qenGq43J0e+KQvhLZILgbnb13XyBUMm1BeB zICvNbmqGdtmU/SX8ckvbncwHbhwU9Jt8DsPl/A8AoYphv60IxzSloL8PGZ1j/AjHFrz 5cxaSXorAXc2pqD47hzUmDsLdFVuBjgZe0/s3kgWn73aiche+UgSDlKUiSmG30QnthnH TbmQ== X-Gm-Message-State: ALQs6tDIhi9hWxoUWaBaOeimxyF/dvWncODSsI3M7mzBR3v01gvHePmz 7H22y+E2fwiyLURF8YcT1N88QA== X-Google-Smtp-Source: AB8JxZpwEs5kDZw3oc2t8cvEPOtfMA9ZVFrb9/HsIZIf5a3G3xuS6fLRJFJMpUlEKNRhBA3GO7fFvg== X-Received: by 10.98.147.66 with SMTP id b63mr8357379pfe.130.1524695673190; Wed, 25 Apr 2018 15:34:33 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id q62sm40485746pfd.61.2018.04.25.15.34.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:34:32 -0700 (PDT) From: Greg Thelen To: Doug Ledford , Bart Van Assche , Jason Gunthorpe Cc: Christoph Hellwig , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 5/5] IB: make INFINIBAND_ADDR_TRANS configurable Date: Wed, 25 Apr 2018 15:34:24 -0700 Message-Id: <20180425223424.207228-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog 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 Allow INFINIBAND without INFINIBAND_ADDR_TRANS because fuzzing has been finding fair number of CM bugs. So provide option to disable it. Signed-off-by: Greg Thelen Cc: Tarick Bedeir --- drivers/infiniband/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index ee270e065ba9..2a972ed6851b 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -61,9 +61,12 @@ config INFINIBAND_ON_DEMAND_PAGING pages on demand instead. config INFINIBAND_ADDR_TRANS - bool + bool "RDMA/CM" depends on INFINIBAND default y + ---help--- + Support for RDMA communication manager (CM). + This allows for a generic connection abstraction over RDMA. config INFINIBAND_ADDR_TRANS_CONFIGFS bool