From patchwork Mon Oct 19 12:47:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 1384272 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 4CFGk61yGsz9sV1; Mon, 19 Oct 2020 23:47:26 +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 1kUUZP-00016n-1b; Mon, 19 Oct 2020 12:47:23 +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 1kUUZM-00015O-Qi for kernel-team@lists.ubuntu.com; Mon, 19 Oct 2020 12:47:20 +0000 Received: from mail-qv1-f70.google.com ([209.85.219.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kUUZM-0005zS-G7 for kernel-team@lists.ubuntu.com; Mon, 19 Oct 2020 12:47:20 +0000 Received: by mail-qv1-f70.google.com with SMTP id w1so3052622qvv.0 for ; Mon, 19 Oct 2020 05:47:20 -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=oeCgp9oYgeWw7qXsUcp0ezj+WQN8iyxICMRJ2XOwbeA=; b=PJDT5L6LU3B3hPpnNSUqWrI4t/jsrCH5gGwDZmkFYGfFUjJ8upERpPF0fi6h0bxaVu GrwK4X9F6yxqSCq3zDLPFKtEqYj/xvaBsjshXu7fk48c6rvIPQJtPMzCzMfe481qX1AC b+Z2RPfkenqcQhlfSiGOcyOMokUWpp6YTgMUtW/bqhMKqwdLLKJZ8qEc8ThbQ7h0ogHx opMpGXbdK1cYiVmPhH6O73FrFUPzQLOY3RQHFPAbLdfkF0bJa3m6VxxYdsUZPpNhHMEy xsKre5Rg0WZXlSLcwJkj5WnGYHotw6Cxf1hnR9Y+gr4n6pTIyEJ+ety2IkY+5ePJtJCZ COIg== X-Gm-Message-State: AOAM532XEIVfIhLkFtL/hR1H1yfPxAGKLjAoiPztqPGd9yzVgwslOPX6 EJKuWhsShDCGqVvvPHlLKatuVkVOH8dBCsifD7Y7e5rLI0gcKp+/35m0IZqVM6KhhwQzwSChuKP qjILrPD9hdKnnqgdzDpVYWT8EwX/pSqANyDNMrZqO X-Received: by 2002:a37:a781:: with SMTP id q123mr16204380qke.204.1603111634754; Mon, 19 Oct 2020 05:47:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3QLfhaDt8BDfrvXNDR2dmu7LT4U0VKvVYy4cjCC3vjRTdWycVUTBV+znC/lneKY62ULEpfg== X-Received: by 2002:a37:a781:: with SMTP id q123mr16204084qke.204.1603111630460; Mon, 19 Oct 2020 05:47:10 -0700 (PDT) Received: from valinor.lan ([201.82.181.95]) by smtp.gmail.com with ESMTPSA id 185sm4171436qke.16.2020.10.19.05.47.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 05:47:09 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [{focal, groovy}:linux-azure][PATCH] UBUNTU: [Config] linux-azure: CONFIG_LOOPBACK_TARGET=m (tcm_loop) Date: Mon, 19 Oct 2020 09:47:01 -0300 Message-Id: <20201019124701.1979364-3-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201019124701.1979364-1-marcelo.cerri@canonical.com> References: <20201019124701.1979364-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/1791794 Enable the tcm_loop module, include it to the main modules package and enforce CONFIG_LOOPBACK_TARGET=m in the annotations file to avoid having it changed by mistake when updating the config options. Signed-off-by: Marcelo Henrique Cerri --- debian.azure/config/annotations | 3 +++ debian.azure/config/config.common.ubuntu | 2 +- debian.azure/control.d/azure.inclusion-list | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian.azure/config/annotations b/debian.azure/config/annotations index 3bc52607621a..7b45bc5f2e47 100644 --- a/debian.azure/config/annotations +++ b/debian.azure/config/annotations @@ -183,6 +183,9 @@ CONFIG_SATA_ZPODD mark note CONFIG_HYPERV_IOMMU mark note +CONFIG_LOOPBACK_TARGET policy<{'amd64': 'm'}> +CONFIG_LOOPBACK_TARGET mark note + # Changes made to the generic kernel that are not necessary in the Azure kernel CONFIG_REGULATOR_TWL4030 policy<{'amd64': '-'}> diff --git a/debian.azure/config/config.common.ubuntu b/debian.azure/config/config.common.ubuntu index a143e791d235..84c71bf1ca61 100644 --- a/debian.azure/config/config.common.ubuntu +++ b/debian.azure/config/config.common.ubuntu @@ -2671,7 +2671,7 @@ CONFIG_LOCK_TORTURE_TEST=m # CONFIG_LOGO is not set CONFIG_LOG_BUF_SHIFT=18 CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 -# CONFIG_LOOPBACK_TARGET is not set +CONFIG_LOOPBACK_TARGET=m CONFIG_LPC_ICH=m CONFIG_LPC_SCH=m # CONFIG_LP_CONSOLE is not set diff --git a/debian.azure/control.d/azure.inclusion-list b/debian.azure/control.d/azure.inclusion-list index 4fa3797c2fb9..b12acff945c4 100644 --- a/debian.azure/control.d/azure.inclusion-list +++ b/debian.azure/control.d/azure.inclusion-list @@ -174,6 +174,7 @@ drivers/scsi/sd_mod.ko drivers/scsi/sr_mod.ko drivers/scsi/virtio_scsi.ko drivers/scsi/vmw_pvscsi.ko +drivers/target/loopback/tcm_loop.ko drivers/target/target_core*.ko drivers/tty/serial/jsm/* drivers/uio/uio_hv_generic.ko