]> git.apps.os.sepia.ceph.com Git - ceph-client.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>
Sun, 17 Aug 2025 10:50:30 +0000 (12:50 +0200)
commitcfd956dcb101aa3d25bac321fae923323a47c607
treead6769e27bd2da0671274ce07f3b49b0d87930f2
parenta1b51534b532dd4f0499907865553ee9251bebc3
tty: hvc_console: Call hvc_kick in hvc_write unconditionally

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