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: 10366651 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 7E8ED601BE for ; Thu, 26 Apr 2018 18:21:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EEF928A6C for ; Thu, 26 Apr 2018 18:21:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62556291BA; Thu, 26 Apr 2018 18:21:13 +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 E575328A6C for ; Thu, 26 Apr 2018 18:21:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757173AbeDZSVH (ORCPT ); Thu, 26 Apr 2018 14:21:07 -0400 Received: from mail-yw0-f201.google.com ([209.85.161.201]:33252 "EHLO mail-yw0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757198AbeDZSVC (ORCPT ); Thu, 26 Apr 2018 14:21:02 -0400 Received: by mail-yw0-f201.google.com with SMTP id b21-v6so13276073ywe.0 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=p8A487v2jISITlIoMDQFbHfF+yjP4L3qY63mzvx7oLBYkJpylsHNfPzz1HQObfJKbr 2HzN7CA0A0YrmzBWLonUbr1O7maAadWFpCMamfrWtjeaiVox28IbWT95BiKeGX/y2SD2 f16B6WpJHbTb41AP4N4ckR4sOPxk5ynZO+Sa7zR2ZGooHwhCW3/5jfuzKe5DVE/dsIgw xjz55napTxi9/HSM0s2NoO73IMPwPZGuROBVb1M+P3ucqWe/XUXpa/Bd52KEtgSL8RcZ cZO7ChBinrlxIye4JpEw3qtppu14Zgjofmv1TiHrsgRbTjtdybb38z+RACVOihXnP0qF pfwg== X-Gm-Message-State: ALQs6tAA02aoJ8PMGSMumxUFd+LMihq5yim/vmfNRT7vkyp+IsbxAZ8X cTdaLYPauxt9C2oZjoCVWA+XpFSiQXxb 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-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 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