summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:11:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:11:49 +0000
commitf25552c1068a054f2d99afd67a671d5991bf19c1 (patch)
treed70de5c7262ad572f8323fc4184b8a10522e81ec /debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch
parentMerging upstream version 6.9.7. (diff)
downloadlinux-f25552c1068a054f2d99afd67a671d5991bf19c1.tar.xz
linux-f25552c1068a054f2d99afd67a671d5991bf19c1.zip
Merging debian version 6.9.7-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch')
-rw-r--r--debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch b/debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch
deleted file mode 100644
index 35c04773c5..0000000000
--- a/debian/patches-rt/0029-panic-Mark-emergency-section-in-warn.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Thomas Gleixner <tglx@linutronix.de>
-Date: Mon, 11 Sep 2023 15:53:04 +0000
-Subject: [PATCH 29/48] panic: Mark emergency section in warn
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/6.8/older/patches-6.8.2-rt11.tar.xz
-
-Mark the full contents of __warn() as an emergency section. In
-this section, the CPU will not perform console output for the
-printk() calls. Instead, a flushing of the console output is
-triggered when exiting the emergency section.
-
-Co-developed-by: John Ogness <john.ogness@linutronix.de>
-Signed-off-by: John Ogness <john.ogness@linutronix.de>
-Signed-off-by: Thomas Gleixner (Intel) <tglx@linutronix.de>
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- kernel/panic.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/kernel/panic.c
-+++ b/kernel/panic.c
-@@ -667,6 +667,8 @@ struct warn_args {
- void __warn(const char *file, int line, void *caller, unsigned taint,
- struct pt_regs *regs, struct warn_args *args)
- {
-+ nbcon_cpu_emergency_enter();
-+
- disable_trace_on_warning();
-
- if (file)
-@@ -697,6 +699,8 @@ void __warn(const char *file, int line,
-
- /* Just a warning, don't kill lockdep. */
- add_taint(taint, LOCKDEP_STILL_OK);
-+
-+ nbcon_cpu_emergency_exit();
- }
-
- #ifdef CONFIG_BUG