Received: by 10.192.165.148 with SMTP id m20csp2461954imm; Thu, 26 Apr 2018 11:23:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx48AHfuc5IVgELvUkx0oLHuRUkvlpighi3iOaYwew9dPZJ47c5+KPM0Citlf4E6B91gixAN+ X-Received: by 10.99.143.69 with SMTP id r5mr28867074pgn.159.1524766986725; Thu, 26 Apr 2018 11:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524766986; cv=none; d=google.com; s=arc-20160816; b=0WDQZ6oWxZlGpTIyPoAtSCBjWKwSmdq5R+YhnEwBEjr8/b213p5B6g5Ci4RqY3JMd5 cX3nfE+tWdLQ8XiWIp2NhKSfCXJzuLewm0aNkX53XbuT2N5LT82Q+md8eb3ixWi5mX1T RWrWKB4lUrjuFu6ohU/Nzh+6ynnQDAVUkkfICK+GzfZmSdgqvRLFkeEFGR2r4/OT29Vb ZojScbyaddpCx6yO1ITBfx5EuXHQQhkODUCFrrjm89l4uUoNpdJt4gyFSZgYlkKSNcip psPOSlgLUMpxx+pX6K1hyIoOOEetJm2GeM5aVEyq+h4qbuQR9Bhz35uG3Zk6CWcyjA8U J6ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references:message-id :in-reply-to:date:mime-version:dkim-signature :arc-authentication-results; bh=MBxOOyTQYNxN4ioalPo3OkyR1d8t86IgMMwiQyxH/dM=; b=trx7tRfkP7FcT2crM2wZpm9imx/oqCo79hmO5wkOKxsy860/+Ee43ujnME3LlfvV5v vK2QWqvhw+TYk1Dyss3kL6YfmOqT9iwnJT/zyAH/2oSzDZhyaiy6RhsRs7Hj/7ZyWr2/ OpEUVMmxP+5HqOyQZrX61QE6VVQd6axjfv6X6No3teAALKud/8QMQnITE3tNxdndHIMA Beuzq9jDnCflkUf2CW/2kayF6NA2f0iWFTntj8w2j/peN/UXTrpx9xTFOwvjgcBYoGAx Rj0W2ixjAGA4KowDpTg2KYopLM5Js/IrNSXYnPUZU0J1on7PSvazRKyzUfML3wH9bHtv XnzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ev7cfqqQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o189si1191138pfo.20.2018.04.26.11.22.52; Thu, 26 Apr 2018 11:23:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ev7cfqqQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757227AbeDZSVZ (ORCPT + 99 others); Thu, 26 Apr 2018 14:21:25 -0400 Received: from mail-yb0-f202.google.com ([209.85.213.202]:56605 "EHLO mail-yb0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757200AbeDZSVC (ORCPT ); Thu, 26 Apr 2018 14:21:02 -0400 Received: by mail-yb0-f202.google.com with SMTP id p7-v6so16550453ybo.23 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=NqrGtPzDo7sBmvhcEhKdADL/uivm+LPe9PFw0d8NHi8Z/7XwwE+eX8/7Z+bcwRgXHu AxOB7IJE7bd5plMf156qyA9SC7zdSmodxekMUmJRmaicecKTXCLYI+cSmWsFSoYke8g3 JhKCXRUQ7m3Ao/RpByO6pt0NY3iPbOj/rP4v5KUBKvjIsIJ6i+JEDn+8rmN734fUpSOi AR1XDMXHCltnDek/JPgDPqbP9uX24tl35vZsiAu2hxvA32rjsgiiY5Fhc/ydYOj6iQaY 2SHa2Ii+UCriEvLtoMXoHxFT5etYyZ4nySxgxhZbdSrDN04UDlGActNYYCZcn9yNit2W GF0Q== X-Gm-Message-State: ALQs6tCLDo/FgJzqRymAZihxdDKFr1V6U/7phmlFIcWWKbUb+ipAOeHG W/iuEXhZdmPVlYnFSYtrPdZzBk+BZvqp 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.0.484.g0c8726318c-goog