summaryrefslogtreecommitdiffstats
path: root/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2020-04-23 16:47:21 -0400
committerJeremy Cline <jcline@redhat.com>2020-04-23 16:47:21 -0400
commitd1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236 (patch)
tree842b7a6410c2572bc8c1643196f83d2e19d80e1e /0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch
parent4f478aae8055f932b9a8fdd88d93db6b9da5709e (diff)
downloadkernel-d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236.tar.gz
kernel-d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236.tar.xz
kernel-d1b6f8c7af0eb9a0a44b2d4723e58dde5eafa236.zip
kernel-5.7.0-0.rc2.20200423git7adc4b399952.1
* Thu Apr 23 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc2.20200423git7adc4b399952.1] - 7adc4b399952 rebase - Match template format in kernel.spec.template ("Justin M. Forbes") - Break out the Patches into individual files for dist-git ("Justin M. Forbes") - Break the Red Hat patch into individual commits (Jeremy Cline) - Adjust module filtering so CONFIG_DRM_DP_CEC can be set (Jeremy Cline) - Add a script to generate release tags and branches (Jeremy Cline) - Set CONFIG_VDPA for fedora ("Justin M. Forbes") - Provide defaults in ark-rebase-patches.sh (Jeremy Cline) - Default ark-rebase-patches.sh to not report issues (Jeremy Cline) Resolves: rhbz# Signed-off-by: Jeremy Cline <jcline@redhat.com>
Diffstat (limited to '0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch')
-rw-r--r--0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch b/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch
new file mode 100644
index 000000000..3ba0a5d0f
--- /dev/null
+++ b/0001-Introduce-CONFIG_RH_DISABLE_DEPRECATED.patch
@@ -0,0 +1,64 @@
+From 7f1dcaa76502498b932c61acf0d3388ae9ee911b Mon Sep 17 00:00:00 2001
+From: Laura Abbott <labbott@redhat.com>
+Date: Wed, 13 Nov 2019 14:44:28 -0500
+Subject: [PATCH] Introduce CONFIG_RH_DISABLE_DEPRECATED
+
+Message-id: <20191113144431.9403-2-labbott@redhat.com>
+Patchwork-id: 286080
+O-Subject: [ARK INTERNAL PATCHv2 1/4] [redhat] Introduce CONFIG_RH_DISABLE_DEPRECATED
+Bugzilla:
+RH-Acked-by: Don Zickus <dzickus@redhat.com>
+RH-Acked-by: Prarit Bhargava <prarit@redhat.com>
+RH-Acked-by: Jiri Benc <jbenc@redhat.com>
+
+For many drivers that RHEL doesn't want to support, we've typically deleted
+PCI ids from the tree. This precludes those drivers from being used at all
+which is fine for RHEL but a problem if we want to use a similar source base
+for Fedora. Instead of just deleting IDs, introduce a config
+CONFIG_RH_DISABLE_DEPRECATED. This way RHEL can remove IDs while still allowing
+kernels to be built with the option off from the same source.
+
+Upstream Status: RHEL only
+Signed-off-by: Laura Abbott <labbott@redhat.com>
+---
+ Kconfig | 2 ++
+ Kconfig.redhat | 17 +++++++++++++++++
+ 2 files changed, 19 insertions(+)
+ create mode 100644 Kconfig.redhat
+
+diff --git a/Kconfig b/Kconfig
+index e10b3ee084d4..01c0df787518 100644
+--- a/Kconfig
++++ b/Kconfig
+@@ -32,3 +32,5 @@ source "lib/Kconfig"
+ source "lib/Kconfig.debug"
+
+ source "Documentation/Kconfig"
++
++source "Kconfig.redhat"
+diff --git a/Kconfig.redhat b/Kconfig.redhat
+new file mode 100644
+index 000000000000..733a26bd887a
+--- /dev/null
++++ b/Kconfig.redhat
+@@ -0,0 +1,17 @@
++# SPDX-License-Identifier: GPL-2.0-only
++#
++# Red Hat specific options
++#
++
++menu "Red Hat options"
++
++config RH_DISABLE_DEPRECATED
++ bool "Remove support for deprecated features"
++ help
++ Red Hat may choose to deprecate certain features in its kernels.
++ Enable this option to remove support for hardware that is no
++ longer supported.
++
++ Unless you want a restricted kernel, say N here.
++
++endmenu
+--
+2.26.0
+