]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tty: hvc_console: Call hvc_kick in hvc_write unconditionally
authorFabian Vogt <fvogt@suse.de>
Fri, 15 Aug 2025 11:33:28 +0000 (13:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:29:58 +0000 (16:29 +0200)
commit535ba4549c76fac8b143db0210a30941c6d16d2f
treeae13b5edb121262eabc3fca2efffa0947db9e1bb
parent02468e9795eb0dc0b414e4e9ad1624b98255d2ee
tty: hvc_console: Call hvc_kick in hvc_write unconditionally

commit cfd956dcb101aa3d25bac321fae923323a47c607 upstream.

After hvc_write completes, call hvc_kick also in the case the output
buffer has been drained, to ensure tty_wakeup gets called.

This fixes that functions which wait for a drained buffer got stuck
occasionally.

Cc: stable <stable@kernel.org>
Closes: https://bugzilla.opensuse.org/show_bug.cgi?id=1230062
Signed-off-by: Fabian Vogt <fvogt@suse.de>
Link: https://lore.kernel.org/r/2011735.PYKUYFuaPT@fvogt-thinkpad
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_console.c