From patchwork Wed Aug 30 13:55:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 807644 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=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3xj6Ts1CVnz9sRW; Wed, 30 Aug 2017 23:55:45 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1dn3T1-00083M-0N; Wed, 30 Aug 2017 13:55:39 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1dn3Sv-000839-Ft for kernel-team@lists.ubuntu.com; Wed, 30 Aug 2017 13:55:33 +0000 Received: from mail-qt0-f199.google.com ([209.85.216.199]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1dn3Sv-0002uR-4u for kernel-team@lists.ubuntu.com; Wed, 30 Aug 2017 13:55:33 +0000 Received: by mail-qt0-f199.google.com with SMTP id w42so19692840qtg.2 for ; Wed, 30 Aug 2017 06:55:33 -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:cc:subject:date:message-id; bh=SrEf9g4d/vt7XYgXAiQXHhpiN/sRUuGdyWGTEr2KNvE=; b=q2PeTVEtFIOUwJEgXOriRyS5WOyiS6XLQLLZ2YV5yBrHFmyhtpR8DUZoOkGNW1Evg0 ZVc2VzzrSIZZpr7KvKjtStxrTtoYldZ+25ZBL+a5GWmmkXHtCOiRz0vzCdJuVmtRej9b UyqW8DUqXSDVLN7ZfrTGMDgneGOJi2pdJXLygwn/lfNVQj1hWhHQewderrQup+oXB6y3 Sa7rFqTvCYxBHmZx5aXU7QZdl8Hm5FIQPi1JXWH4FP0Xkq0kZO3+c6mjs9ZbJezaldhW NTVQURLO3Wjt5qpneMpUdbCF5/1VV89Jko/MAKMliVQhp3hVoEf+tZmRRagrkVlqIvG7 Z4JA== X-Gm-Message-State: AHYfb5h+0INpRvjUinEHwj6TIu/ygG3nmeHGjIFUT7BGWgyWrTobOUze mHwns7eT6dp8DPek1WRg6COxJFkjtJk0CjkCCQDKXHwV799zFJtZ/+pWZI8sdDNcCjD/lhV1NHR yz+273Jbx382zPcixvihMOZgTOD3C3Sx3 X-Received: by 10.200.47.73 with SMTP id k9mr2259742qta.137.1504101332132; Wed, 30 Aug 2017 06:55:32 -0700 (PDT) X-Received: by 10.200.47.73 with SMTP id k9mr2259698qta.137.1504101331729; Wed, 30 Aug 2017 06:55:31 -0700 (PDT) Received: from localhost.localdomain ([187.56.50.65]) by smtp.gmail.com with ESMTPSA id n1sm3568770qkf.51.2017.08.30.06.55.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Aug 2017 06:55:30 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [azure][PATCH] UBUNTU: azure: force rdma_ucm to be loaded when hv_network_direct_* is loaded Date: Wed, 30 Aug 2017 10:55:26 -0300 Message-Id: <1504101326-27031-1-git-send-email-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.7.4 Cc: Josh Poulson X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com BugLink: http://bugs.launchpad.net/bugs/1712915 Create a soft dependency to automatically load rdma_ucm when a Hyper-V RDMA driver is loaded. Since the RDMA drivers are usually loaded by WALinuxAgent, the agent must be installed on the system for rdma_ucm to be loaded during the boot. The wildcard used in the softdep directive covers all RDMA driver versions and it's also triggered when the driver is loaded via an alias, i.e. "hv_network_direct". Signed-off-by: Marcelo Henrique Cerri Acked-by: Marcelo Henrique Cerri --- debian.azure/modprobe.d/common.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian.azure/modprobe.d/common.conf b/debian.azure/modprobe.d/common.conf index 57acdd4be025..734054dc30e3 100644 --- a/debian.azure/modprobe.d/common.conf +++ b/debian.azure/modprobe.d/common.conf @@ -3,3 +3,5 @@ blacklist snd-mixer-oss blacklist snd-pcm-oss # LP:1708699 -- prevent RDMA drivers from being hot plugged install vmbus:3daf2e8ca732094bab99bd1f1c86b501 true +# LP:1712915 -- [Hyper-V] linux-azure: rdma_ucm should autoload on HPC images +softdep hv_network_direct_* post: rdma_ucm