From patchwork Thu Apr 26 18:19:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Thelen X-Patchwork-Id: 10366649 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 C515B60542 for ; Thu, 26 Apr 2018 18:21:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6F8C28A6C for ; Thu, 26 Apr 2018 18:21:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A91F3291BA; Thu, 26 Apr 2018 18:21:10 +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 5223F28CD3 for ; Thu, 26 Apr 2018 18:21:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757219AbeDZSVH (ORCPT ); Thu, 26 Apr 2018 14:21:07 -0400 Received: from mail-yw0-f202.google.com ([209.85.161.202]:49082 "EHLO mail-yw0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757197AbeDZSVC (ORCPT ); Thu, 26 Apr 2018 14:21:02 -0400 Received: by mail-yw0-f202.google.com with SMTP id d9-v6so2792147ywd.15 for ; Thu, 26 Apr 2018 11:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:in-reply-to:message-id:references:subject:from:to :cc; bh=MBxOOyTQYNxN4ioalPo3OkyR1d8t86IgMMwiQyxH/dM=; b=Ev7cfqqQQ5KlQj3gpgGdYQOkeITvs8cxLXL1JTPwbnHb+kUbAvHT8i2R8cYNIlWt3Y blPXSVNUvbSRGNG869Zb/dl+Dc0kvksvyJRdAKaL/Q58pMg4X1vWhX09766h5pZo3m4D yv5h52rLfVsiDm05sc4mnV9vPz7E/uQES66EwIDAzAv2+Q06MZplmWpm+69yNKH8HcCu 8sWMqrMeyznwLE4SXgb1ndQnSuI534W4YCEIurfjgiXzkeUxF/YUv764eTbFrhLLp7xj L0si9G2ZiBcKfLNC+YKJJGuQZ3tpRpEQp5xZm6tALM9Tiep0dSYWJx8Z38iJtzdbd9NH 3hQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=MBxOOyTQYNxN4ioalPo3OkyR1d8t86IgMMwiQyxH/dM=; b=KwRnBriPWaaorztHM7F1ZV7S8uye+3CEcvXSmMrkyKwK6dP5wjXogmJpY06liB8cfE 22e2wwg1U6ztm+38SCXH9parq/DylZrgZalevcRo4XbG8owfTziPdx9JjudSTGPWuOGV ZyUNeFAbdAB4EyTqusf9bJC+5W4UWnW9CMGrsF+MQC9/dr01doF7Di9aRfWRpMPyA2WH XR3uIr5qVSuIXKkWgy0WWCxXoj+Hqgl0GMOenF0ke03DgYmkxfHoc8/7/H8E4LULDMCR hcpbJToaSbywnau+uunSk9D3uvHCX4+RwS3HpdGGSgT7+J9cRiUAcFcCJ4MT7noKXjbT TsTA== X-Gm-Message-State: ALQs6tBjuYfd/40Bi96zSblJLBjs9xtTJBhqsFqS0WvJ7Ob35VEZnnno m4N3kEmX5iknjT1xXS/0DVmCDUTRJwiH X-Google-Smtp-Source: AIpwx4/us4jPxYxJgPbvvOJra8c1kwFswOZM4dfC6jp3a6ERQZsqmtBFEcGd1f2XYPuhypJRYtvm0uuornw6 MIME-Version: 1.0 X-Received: by 2002:a25:bf91:: with SMTP id l17-v6mr11908361ybk.32.1524766861916; Thu, 26 Apr 2018 11:21:01 -0700 (PDT) Date: Thu, 26 Apr 2018 11:19:35 -0700 In-Reply-To: <20180426181935.32977-1-gthelen@google.com> Message-Id: <20180426181935.32977-7-gthelen@google.com> References: <20180426181935.32977-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-goog Subject: [PATCH 6/6] IB: make INFINIBAND_ADDR_TRANS configurable From: Greg Thelen To: Bart.VanAssche@wdc.com, hch@lst.de, dledford@redhat.com, jgg@ziepe.ca, axboe@fb.com, keith.busch@intel.com, sagi@grimberg.me, sfrench@samba.org, linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, gthelen@google.com, tarick@google.com Cc: linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen , Tarick Bedeir Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@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 Reviewed-by: Bart Van Assche --- 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