summaryrefslogtreecommitdiffstats
path: root/0001-kernel-add-SUPPORT_REMOVED-kernel-taint.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-kernel-add-SUPPORT_REMOVED-kernel-taint.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-kernel-add-SUPPORT_REMOVED-kernel-taint.patch')
-rw-r--r--0001-kernel-add-SUPPORT_REMOVED-kernel-taint.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/0001-kernel-add-SUPPORT_REMOVED-kernel-taint.patch b/0001-kernel-add-SUPPORT_REMOVED-kernel-taint.patch
new file mode 100644
index 000000000..539a083a5
--- /dev/null
+++ b/0001-kernel-add-SUPPORT_REMOVED-kernel-taint.patch
@@ -0,0 +1,53 @@
+From d312a43dd323205fc681cbeaa800da2ada9e16dc Mon Sep 17 00:00:00 2001
+From: Tomas Henzl <thenzl@redhat.com>
+Date: Thu, 9 Aug 2018 13:44:15 -0400
+Subject: [PATCH] kernel: add SUPPORT_REMOVED kernel taint
+
+Message-id: <e9a9812a-6a4c-a205-e66a-1d47de58306a@redhat.com>
+Patchwork-id: 226423
+O-Subject: [RHEL-8.0 V4 01/10] kernel: add SUPPORT_REMOVED kernel taint
+Bugzilla: 1602033
+RH-Acked-by: Maurizio Lombardi <mlombard@redhat.com>
+RH-Acked-by: Jiri Benc <jbenc@redhat.com>
+RH-Acked-by: Rob Evers <revers@redhat.com>
+
+Upstream Status: RHEL only
+
+rh_taint, pci : add information about removed hardware
+
+Upstream Status: RHEL only
+Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
+---
+ include/linux/kernel.h | 2 +-
+ kernel/panic.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/linux/kernel.h b/include/linux/kernel.h
+index b372b2daae7f..8c1ace147540 100644
+--- a/include/linux/kernel.h
++++ b/include/linux/kernel.h
+@@ -605,7 +605,7 @@ extern enum system_states {
+ #define TAINT_24 24
+ #define TAINT_25 25
+ #define TAINT_26 26
+-#define TAINT_27 27
++#define TAINT_SUPPORT_REMOVED 27
+ /* Bits 28 - 31 are reserved for Red Hat use only */
+ #define TAINT_RESERVED28 28
+ #define TAINT_RESERVED29 29
+diff --git a/kernel/panic.c b/kernel/panic.c
+index fa06b8cbc457..4f08e4f4a6b0 100644
+--- a/kernel/panic.c
++++ b/kernel/panic.c
+@@ -385,7 +385,7 @@ const struct taint_flag taint_flags[TAINT_FLAGS_COUNT] = {
+ [ TAINT_24 ] = { '?', '-', false },
+ [ TAINT_25 ] = { '?', '-', false },
+ [ TAINT_26 ] = { '?', '-', false },
+- [ TAINT_27 ] = { '?', '-', false },
++ [ TAINT_SUPPORT_REMOVED ] = { 'h', ' ', false },
+ [ TAINT_RESERVED28 ] = { '?', '-', false },
+ [ TAINT_RESERVED29 ] = { '?', '-', false },
+ [ TAINT_RESERVED30 ] = { '?', '-', false },
+--
+2.26.0
+