summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 17:39:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 17:39:59 +0000
commit27d3313807296c3943a96ceef8c2b7279cb56962 (patch)
tree7d08e78c36ab6437b403fc7cd8c23e41f135c7a3 /debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch
parentMerging upstream version 6.7.7. (diff)
downloadlinux-27d3313807296c3943a96ceef8c2b7279cb56962.tar.xz
linux-27d3313807296c3943a96ceef8c2b7279cb56962.zip
Adding debian version 6.7.7-1.debian/6.7.7-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch')
-rw-r--r--debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch b/debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch
deleted file mode 100644
index 35c88289b1..0000000000
--- a/debian/patches-rt/0122-printk-Atomic-print-in-printk-context-on-shutdown.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: John Ogness <john.ogness@linutronix.de>
-Date: Mon, 23 Oct 2023 17:43:48 +0000
-Subject: [PATCH 122/134] printk: Atomic print in printk context on shutdown
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/6.6/older/patches-6.6.7-rt18.tar.xz
-
-For nbcon consoles, normally the printing is handled by the
-dedicated console printing threads. However, on shutdown the
-printing threads may not get a chance to print the final
-messages.
-
-When shutting down or rebooting (system_state > SYSTEM_RUNNING),
-perform atomic printing from the printk() caller context.
-
-Signed-off-by: John Ogness <john.ogness@linutronix.de>
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- kernel/printk/printk.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
---- a/kernel/printk/printk.c
-+++ b/kernel/printk/printk.c
-@@ -2389,13 +2389,18 @@ asmlinkage int vprintk_emit(int facility
- *
- * - When this CPU is in panic.
- *
-+ * - During shutdown, since the printing threads may not get
-+ * a chance to print the final messages.
-+ *
- * Note that if boot consoles are registered, the
- * console_lock/console_unlock dance must be relied upon
- * instead because nbcon consoles cannot print simultaneously
- * with boot consoles.
- */
-- if (is_panic_context)
-+ if (is_panic_context ||
-+ (system_state > SYSTEM_RUNNING)) {
- nbcon_atomic_flush_all();
-+ }
- }
-
- if (do_trylock_unlock) {