On Tue, Sep 29, 2020 at 08:24:49AM +0200, Jiri Slaby wrote: > On 28. 09. 20, 14:17, gregkh@xxxxxxxxxxxxxxxxxxx wrote: > > > > This is a note to let you know that I've just added the patch titled > > > > tty: vt, consw->con_scrolldelta cleanup > > > > to the 4.4-stable tree which can be found at: > > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > > > The filename of the patch is: > > tty-vt-consw-con_scrolldelta-cleanup.patch > > and it can be found in the queue-4.4 subdirectory. > > > > If you, or anyone else, feels it should not be added to the stable tree, > > please let <stable@xxxxxxxxxxxxxxx> know about it. > > > > > > From 97293de977365fe672daec2523e66ef457104921 Mon Sep 17 00:00:00 2001 > > From: Jiri Slaby <jirislaby@xxxxxxxxxx> > > Date: Thu, 23 Jun 2016 13:34:26 +0200 > > Subject: tty: vt, consw->con_scrolldelta cleanup > > > > From: Jiri Slaby <jslaby@xxxxxxx> > > > > commit 97293de977365fe672daec2523e66ef457104921 upstream. > > > > * allow NULL consw->con_scrolldelta (some consoles define an empty > > hook) > > * => remove empty hooks now > > * return value of consw->con_scrolldelta is never checked => make the > > function void > > * document consw->con_scrolldelta a bit > > > > Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> > > Cc: Thomas Winischhofer <thomas@xxxxxxxxxxxxxxxx> > > Cc: linux-usb@xxxxxxxxxxxxxxx > > Cc: Jean-Christophe Plagniol-Villard <plagnioj@xxxxxxxxxxxx> > > Cc: Tomi Valkeinen <tomi.valkeinen@xxxxxx> > > Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxxxxx> > > Cc: Helge Deller <deller@xxxxxx> > > Cc: linux-fbdev@xxxxxxxxxxxxxxx > > Cc: linux-parisc@xxxxxxxxxxxxxxx > > Cc: Ajay Kaher <akaher@xxxxxxxxxx> > > [ for 4.4.y backport, only do the first change above, to prevent > > .con_scrolldelta from being called if not present - gregkh] > > But in 4.4, every console defines con_scrolldelta. Is this a > prerequisite for a scrollback drop? That already happened in the 4.4.237 release with the backport of 50145474f6ef ("fbcon: remove soft scrollback code") thanks, greg k-h