[ANNOUNCE] 5.10.168-rt83

From: Luis Claudio R. Goncalves
Date: Sun Feb 19 2023 - 10:13:48 EST


Hello RT-list!

I'm pleased to announce the 5.10.168-rt83 stable release.

You can get this release via the git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

branch: v5.10-rt
Head SHA1: d9e23cb3164dffbb59cd995fb652d99cb8e3bc56

Or to build 5.10.168-rt83 directly, the following patches should be applied:

https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz

https://www.kernel.org/pub/linux/kernel/v5.x/patch-5.10.168.xz

https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patch-5.10.168-rt83.patch.xz

Signing key fingerprint:

9354 0649 9972 8D31 D464 D140 F394 A423 F8E6 7C26

All keys used for the above files and repositories can be found on the
following git repository:

git://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git

Enjoy!
Luis

RT Changes since v5.10.165-rt81:
---

John Ogness (1):
printk: ignore consoles without write() callback
---
kernel/printk/printk.c | 6 +
1 file changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index d2205872304d..64747c72fbea 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -2267,6 +2267,10 @@ static int printk_kthread_func(void *data)
/* Must be called within console_lock(). */
static void start_printk_kthread(struct console *con)
{
+ /* No need to start a printing thread if the console cannot print. */
+ if (!con->write)
+ return;
+
con->thread = kthread_run(printk_kthread_func, con,
"pr/%s%d", con->name, con->index);
if (IS_ERR(con->thread)) {
@@ -3566,6 +3570,8 @@ bool pr_flush(int timeout_ms, bool reset_on_progress)
for_each_console(con) {
if (!(con->flags & CON_ENABLED))
continue;
+ if (!con->write && !con->write_atomic)
+ continue;
printk_seq = atomic64_read(&con->printk_seq);
if (printk_seq < seq)
diff += seq - printk_seq;