From patchwork Mon Jul 22 17:38:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 1135196 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45spkM63frz9sML; Tue, 23 Jul 2019 03:38:51 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1hpcGu-0002rL-9B; Mon, 22 Jul 2019 17:38:48 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hpcGr-0002qa-Od for kernel-team@lists.ubuntu.com; Mon, 22 Jul 2019 17:38:45 +0000 Received: from mail-qk1-f200.google.com ([209.85.222.200]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hpcGr-0003mS-9Y for kernel-team@lists.ubuntu.com; Mon, 22 Jul 2019 17:38:45 +0000 Received: by mail-qk1-f200.google.com with SMTP id d9so34068796qko.8 for ; Mon, 22 Jul 2019 10:38:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Pk9+F5ezhoQILWjtEkzcm1MuKE7EDY8W0bAG/+X7CoU=; b=g6qonQLYvydf0un9Hp83OZNRkOgGUuQJFOqXHl6d/spXbE4WjTMnVALw8DGyCcLTpL BesMgoD87XnKI+S83akbnrOxgGsSo2jdfCsnrXYFQB9VdETl++c0F2OD27JQLwXLEQJH 10Ma0Sw/bM+x7MTL1HZmqepqBIlhyuNv6ZvdA4v8qoMx/SE5Uu8RJb/Arl0iBpBUgwFB 626jjG9G9gsssjkibHyJfpuFPHw8mUbuhL3X51sPjM0BGKUruCSR4D4tgy3BCO/dKzJu Fh24hu1XUrcGZou87tOpH3DzgbjGgquMWk2233TVTX18mfRWYDoHKTz7QqXeIxbXuS2i FumQ== X-Gm-Message-State: APjAAAUydLOu7e2RvhTV2iB2q8OdyxpsXk9GcBPqkA12vYbc0+uop+Is qxHPU7yQmNVCx7VTW1P5bB6U311BblGGsaDzRAT4+b+GIG/KRRCjD1o6LmCwrS2FgXEMGxvyiFe P2ycC16OhS5kyTObfihjjXy7vqsL+3PvJymUqXMos X-Received: by 2002:ac8:31d6:: with SMTP id i22mr51913500qte.338.1563817124054; Mon, 22 Jul 2019 10:38:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxx2kk1yzmjz5sWYGjKQ58JO7lxCale4T2oxcYIFL5SdRzt4PralJAc0zop787gRA/SoeQhw== X-Received: by 2002:ac8:31d6:: with SMTP id i22mr51913485qte.338.1563817123752; Mon, 22 Jul 2019 10:38:43 -0700 (PDT) Received: from gallifrey.lan ([2804:14c:4e3:5580:d19b:5f47:dd1e:35aa]) by smtp.gmail.com with ESMTPSA id q12sm17115810qkm.126.2019.07.22.10.38.42 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 10:38:43 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [c/azure][PATCH v2 2/2] UBUNTU: [Config] linux-azure: CONFIG_MLX{4, 5}_INFINIBAND=m Date: Mon, 22 Jul 2019 14:38:35 -0300 Message-Id: <20190722173836.31954-3-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190722173836.31954-1-marcelo.cerri@canonical.com> References: <20190722173836.31954-1-marcelo.cerri@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: http://bugs.launchpad.net/bugs/1837397 Make all the necessary mlx* and ib* modules loadable to allow Mellanox OFED drivers to be built and loaded by users. Ensure that all the new .ko files are include into the regular linux-modules package and not into the linux-modules-extra package. Signed-off-by: Marcelo Henrique Cerri --- debian.azure/config/annotations | 26 +++++++++++++-------- debian.azure/config/config.common.ubuntu | 17 +++++++------- debian.azure/control.d/azure.inclusion-list | 4 ++++ 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/debian.azure/config/annotations b/debian.azure/config/annotations index ca3d81e5a17d..49b5f06bf769 100644 --- a/debian.azure/config/annotations +++ b/debian.azure/config/annotations @@ -4,11 +4,23 @@ include "../../debian.master/config/annotations" -CONFIG_MLX4_INFINIBAND policy<{'amd64': 'y'}> -CONFIG_MLX4_INFINIBAND mark note +CONFIG_MLX5_CORE policy<{'amd64': 'm'}> +CONFIG_MLX5_CORE mark note -CONFIG_MLX5_INFINIBAND policy<{'amd64': 'y'}> -CONFIG_MLX5_INFINIBAND mark note +CONFIG_MLX4_CORE policy<{'amd64': 'm'}> +CONFIG_MLX4_CORE mark note + +CONFIG_MLX4_INFINIBAND policy<{'amd64': 'm'}> +CONFIG_MLX4_INFINIBAND mark note + +CONFIG_MLX5_INFINIBAND policy<{'amd64': 'm'}> +CONFIG_MLX5_INFINIBAND mark note + +CONFIG_INFINIBAND_USER_MAD policy<{'amd64': 'm'}> +CONFIG_INFINIBAND_USER_MAD mark note + +CONFIG_INFINIBAND_IPOIB policy<{'amd64': 'm'}> +CONFIG_INFINIBAND_IPOIB mark note CONFIG_BLK_DEV_NVME policy<{'amd64': 'y'}> CONFIG_BLK_DEV_NVME mark note @@ -43,12 +55,6 @@ CONFIG_IOSCHED_BFQ policy<{'amd64': 'm'}> CONFIG_BFQ_GROUP_IOSCHED policy<{'amd64': 'y'}> CONFIG_BFQ_GROUP_IOSCHED mark note -CONFIG_INFINIBAND_USER_MAD policy<{'amd64': 'y'}> -CONFIG_INFINIBAND_USER_MAD note note mark - -CONFIG_INFINIBAND_IPOIB policy<{'amd64': 'y'}> -CONFIG_INFINIBAND_IPOIB note note mark - CONFIG_INFINIBAND_IPOIB_DEBUG policy<{'amd64': 'y'}> CONFIG_INFINIBAND_IPOIB_DEBUG note note mark diff --git a/debian.azure/config/config.common.ubuntu b/debian.azure/config/config.common.ubuntu index 014e52409c29..8bd78ceb2e75 100644 --- a/debian.azure/config/config.common.ubuntu +++ b/debian.azure/config/config.common.ubuntu @@ -1983,7 +1983,7 @@ CONFIG_INET_XFRM_MODE_BEET=m CONFIG_INET_XFRM_MODE_TRANSPORT=m CONFIG_INET_XFRM_MODE_TUNNEL=m CONFIG_INET_XFRM_TUNNEL=m -CONFIG_INFINIBAND=y +CONFIG_INFINIBAND=m CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y # CONFIG_INFINIBAND_BNXT_RE is not set @@ -1991,7 +1991,7 @@ CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y # CONFIG_INFINIBAND_CXGB4 is not set # CONFIG_INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI is not set # CONFIG_INFINIBAND_I40IW is not set -CONFIG_INFINIBAND_IPOIB=y +CONFIG_INFINIBAND_IPOIB=m # CONFIG_INFINIBAND_IPOIB_CM is not set CONFIG_INFINIBAND_IPOIB_DEBUG=y # CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set @@ -2007,8 +2007,8 @@ CONFIG_INFINIBAND_OPA_VNIC=m # CONFIG_INFINIBAND_RDMAVT is not set CONFIG_INFINIBAND_SRP=m # CONFIG_INFINIBAND_SRPT is not set -CONFIG_INFINIBAND_USER_ACCESS=y -CONFIG_INFINIBAND_USER_MAD=y +CONFIG_INFINIBAND_USER_ACCESS=m +CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_USNIC=m CONFIG_INITRAMFS_SOURCE="" @@ -2686,21 +2686,22 @@ CONFIG_MISC_RTSX=m CONFIG_MISC_RTSX_PCI=m # CONFIG_MK8 is not set # CONFIG_MKISS is not set -CONFIG_MLX4_CORE=y +CONFIG_MLX4_CORE=m CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN=m CONFIG_MLX4_EN_DCB=y -CONFIG_MLX4_INFINIBAND=y +CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL=y -CONFIG_MLX5_CORE=y +CONFIG_MLX5_CORE=m CONFIG_MLX5_CORE_EN=y CONFIG_MLX5_CORE_EN_DCB=y CONFIG_MLX5_CORE_IPOIB=y CONFIG_MLX5_EN_IPSEC=y +CONFIG_MLX5_EN_TLS=y CONFIG_MLX5_ESWITCH=y CONFIG_MLX5_FPGA=y -CONFIG_MLX5_INFINIBAND=y +CONFIG_MLX5_INFINIBAND=m CONFIG_MLX5_MPFS=y CONFIG_MLXFW=m CONFIG_MLXREG_HOTPLUG=m diff --git a/debian.azure/control.d/azure.inclusion-list b/debian.azure/control.d/azure.inclusion-list index cb0569fccd6c..693e58e66f8e 100644 --- a/debian.azure/control.d/azure.inclusion-list +++ b/debian.azure/control.d/azure.inclusion-list @@ -61,10 +61,14 @@ drivers/infiniband/core/ib_cm.ko drivers/infiniband/core/ib_core.ko drivers/infiniband/core/ib_mad.ko drivers/infiniband/core/ib_sa.ko +drivers/infiniband/core/ib_umad.ko drivers/infiniband/core/iw_cm.ko drivers/infiniband/core/rdma_cm.ko drivers/infiniband/core/rdma_ucm.ko +drivers/infiniband/hw/mlx4/* +drivers/infiniband/hw/mlx5/* drivers/infiniband/hw/vmbus-rdma/* +drivers/infiniband/ulp/ipoib/ib_ipoib.ko drivers/infiniband/ulp/iser/ib_iser.ko drivers/infiniband/ulp/isert/ib_isert.ko drivers/input/evbug.ko