From: Peter Georg <peter.ge...@physik.uni-regensburg.de>

ARK: Remove code marking drivers as tech preview

Upstream Status: RHEL only

Remove code marking drivers as tech preview in ARK.

Signed-off-by: Peter Georg <peter.ge...@physik.uni-regensburg.de>

diff --git a/drivers/net/wireguard/main.c b/drivers/net/wireguard/main.c
index blahblah..blahblah 100644
--- a/drivers/net/wireguard/main.c
+++ b/drivers/net/wireguard/main.c
@@ -54,7 +54,6 @@ static int __init wg_mod_init(void)
        pr_info("WireGuard " WIREGUARD_VERSION " loaded. See www.wireguard.com 
for information.\n");
        pr_info("Copyright (C) 2015-2019 Jason A. Donenfeld <ja...@zx2c4.com>. 
All Rights Reserved.\n");
 
-       mark_tech_preview("WireGuard", THIS_MODULE);
        return 0;
 
 err_netlink:
diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c
index blahblah..blahblah 100644
--- a/drivers/virtio/virtio_mem.c
+++ b/drivers/virtio/virtio_mem.c
@@ -2792,19 +2792,6 @@ static int virtio_mem_probe(struct virtio_device *vdev)
 
        /* trigger a config update to start processing the requested_size */
        if (!vm->in_kdump) {
-#ifdef CONFIG_RHEL_DIFFERENCES
-               static bool printed;
-
-               /*
-                * virtio-mem, and especially its memory hot(un)plug
-                * functionality, is tech-preview.
-                */
-               if (!printed) {
-                       printed = true;
-                       mark_tech_preview("virtio_mem", THIS_MODULE);
-               }
-#endif /* CONFIG_RHEL_DIFFERENCES */
-
                atomic_set(&vm->config_changed, 1);
                queue_work(system_freezable_wq, &vm->wq);
        }
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index blahblah..blahblah 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4760,7 +4760,6 @@ static int __ext4_fill_super(struct fs_context *fc, 
struct super_block *sb)
        }
 
        if (sbi->s_mount_opt & EXT4_MOUNT_DAX_ALWAYS) {
-               static bool printed = false;
                if (ext4_has_feature_inline_data(sb)) {
                        ext4_msg(sb, KERN_ERR, "Cannot use DAX on a filesystem"
                                        " that may contain inline data");
@@ -4771,10 +4770,6 @@ static int __ext4_fill_super(struct fs_context *fc, 
struct super_block *sb)
                                "DAX unsupported by block device.");
                        goto failed_mount;
                }
-               if (!printed) {
-                       mark_tech_preview("ext4 direct access (dax)", NULL);
-                       printed = true;
-               }
        }
 
        if (ext4_has_feature_encrypt(sb) && es->s_encryption_level) {
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index blahblah..blahblah 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1602,14 +1602,9 @@ xfs_fs_fill_super(
                sb->s_flags |= SB_I_VERSION;
 
        if (xfs_has_dax_always(mp)) {
-               static bool printed = false;
                error = xfs_setup_dax_always(mp);
                if (error)
                        goto out_filestream_unmount;
-               if (!printed) {
-                       mark_tech_preview("xfs direct access (dax)", NULL);
-                       printed = true;
-               }
        }
 
        if (xfs_has_discard(mp)) {
diff --git a/mm/cma.c b/mm/cma.c
index blahblah..blahblah 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -125,12 +125,6 @@ static void __init cma_activate_area(struct cma *cma)
        spin_lock_init(&cma->mem_head_lock);
 #endif
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-       /* s390x and ppc64 has been using CMA already in RHEL 8 as default. */
-       if (!IS_ENABLED(CONFIG_S390) && !IS_ENABLED(CONFIG_PPC64))
-               mark_tech_preview("CMA", NULL);
-#endif /* CONFIG_RHEL_DIFFERENCES */
-
        return;
 
 not_in_zone:
@@ -443,10 +437,6 @@ struct page *cma_alloc(struct cma *cma, unsigned long 
count,
        if (!cma || !cma->count || !cma->bitmap)
                goto out;
 
-#ifdef CONFIG_RHEL_DIFFERENCES
-       pr_info_once("Initial CMA usage detected\n");
-#endif /* CONFIG_RHEL_DIFFERENCES */
-
        pr_debug("%s(cma %p, count %lu, align %d)\n", __func__, (void *)cma,
                 count, align);
 

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1610
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to