printk: Update the printk series.

This is an all-in-one update of the printk series. It updates from the
previous version to the current development version which is under
discussion plus the PREEMPT_RT bits for the atomic console.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
This commit is contained in:
Sebastian Andrzej Siewior
2023-10-04 17:49:27 +02:00
parent 711b625008
commit da042bbb7a
92 changed files with 3473 additions and 3963 deletions
+7
View File
@@ -56,6 +56,7 @@
#include <linux/kprobes.h>
#include <linux/lockdep.h>
#include <linux/context_tracking.h>
#include <linux/console.h>
#include <asm/sections.h>
@@ -3967,9 +3968,13 @@ static void
print_usage_bug(struct task_struct *curr, struct held_lock *this,
enum lock_usage_bit prev_bit, enum lock_usage_bit new_bit)
{
enum nbcon_prio prev_prio;
if (!debug_locks_off() || debug_locks_silent)
return;
prev_prio = nbcon_atomic_enter(NBCON_PRIO_EMERGENCY);
pr_warn("\n");
pr_warn("================================\n");
pr_warn("WARNING: inconsistent lock state\n");
@@ -3998,6 +4003,8 @@ print_usage_bug(struct task_struct *curr, struct held_lock *this,
pr_warn("\nstack backtrace:\n");
dump_stack();
nbcon_atomic_exit(NBCON_PRIO_EMERGENCY, prev_prio);
}
/*