From patchwork Wed Dec 4 16:28: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: 1204266 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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 47SknH01BVz9sPn; Thu, 5 Dec 2019 03:28:51 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1icXWB-0005Te-II; Wed, 04 Dec 2019 16:28:47 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1icXWA-0005TQ-Gp for kernel-team@lists.ubuntu.com; Wed, 04 Dec 2019 16:28:46 +0000 Received: from mail-qk1-f198.google.com ([209.85.222.198]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1icXWA-0006qM-6C for kernel-team@lists.ubuntu.com; Wed, 04 Dec 2019 16:28:46 +0000 Received: by mail-qk1-f198.google.com with SMTP id g28so80190qkl.6 for ; Wed, 04 Dec 2019 08:28:46 -0800 (PST) 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=6J1cSqTVzF523tJdvKEfA9bMatDai9yLZFZra/w2USE=; b=VIRTyRUwRKc+OXfmFtbBJqyAOQzCb+k1lVYN6A8RNHF7x/esYi6Ewts2OvoeYWolXf 46okYSLNfBQy1fwnwTvce/H+CsjKapAXi3BzvyOTjwzW0806OK83VJY0bjXzNe9VttlJ 9Ms+pBwNWuniCYv9z1YL4qNArnc+qDmIY8PZnGK3mpeUgBnEmS9joUjsYsz4VaU/tj0m hhMqmZSVin9br3W+QELZYECIB8sjHYamSfhW1mP3c9f00MDQkuXpatRZxLUXd5mRwMpq HrhcZp910V1Qu2RBjMmrRXj2kq+H7rINm9K8cFHPy8kp1VKPbKaeWKIEeZUiqW3Pw5jf 2wsA== X-Gm-Message-State: APjAAAUllRq7mo2sWwBcI30C5wTg9V6abvIUfnPJQEaFbQ0lY8WN4YUD n266vnQ6HBk3X/S6v7jEeDiKbYHdJ+dxndGv1kueBJVR40PBp9BdMSo2hCPQe8b5V0qqmBLffe/ I7osEtfiQ9ISeQsS1bAySukrW8QaF/7PMObgW9z/5 X-Received: by 2002:a05:620a:1666:: with SMTP id d6mr3901610qko.379.1575476924934; Wed, 04 Dec 2019 08:28:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzvcQ7SplpbrBtpaoyexxj+dY8XCQ+F3xEv0P5OLX5E5jnbmpEh4wI157qGVit9V+nR0vmRdQ== X-Received: by 2002:a05:620a:1666:: with SMTP id d6mr3901576qko.379.1575476924610; Wed, 04 Dec 2019 08:28:44 -0800 (PST) Received: from localhost.localdomain ([2804:14c:4e6:1bc:c996:3e2:8668:ca74]) by smtp.gmail.com with ESMTPSA id t15sm3865432qkt.30.2019.12.04.08.28.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 08:28:43 -0800 (PST) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [{eoan, disco, xenial}:linux-azure PATCH 2/2] UBUNTU: [Packaging] linux-azure: Prevent intel_sgx from being automatically loaded Date: Wed, 4 Dec 2019 13:28:35 -0300 Message-Id: <20191204162835.28282-3-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191204162835.28282-1-marcelo.cerri@canonical.com> References: <20191204162437.25733-1-marcelo.cerri@canonical.com> <20191204162835.28282-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: https://bugs.launchpad.net/bugs/1844245 In other to make sure the user is aware they are using the Intel SGX module we are suppressing it from being automatically loaded on systems that reports SGX via ACPI. Signed-off-by: Marcelo Henrique Cerri --- debian.azure/modprobe.d/common.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian.azure/modprobe.d/common.conf b/debian.azure/modprobe.d/common.conf index 734054dc30e3..bcbc8471252b 100644 --- a/debian.azure/modprobe.d/common.conf +++ b/debian.azure/modprobe.d/common.conf @@ -5,3 +5,6 @@ blacklist snd-pcm-oss install vmbus:3daf2e8ca732094bab99bd1f1c86b501 true # LP:1712915 -- [Hyper-V] linux-azure: rdma_ucm should autoload on HPC images softdep hv_network_direct_* post: rdma_ucm +# LP:1844245 -- Integrate Intel SGX driver into linux-azure +# Do not load intel_sgx by default +blacklist intel_sgx