Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753708AbcKTV6f (ORCPT ); Sun, 20 Nov 2016 16:58:35 -0500 Received: from mout.gmx.net ([212.227.15.18]:62992 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbcKTV6d (ORCPT ); Sun, 20 Nov 2016 16:58:33 -0500 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= To: plagnioj@jcrosoft.com, tomi.valkeinen@ti.com Cc: manuel.schoelling@gmx.de, jslaby@suse.cz, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrey_utkin@fastmail.com Subject: [PATCH v5 0/2] console: Add persistent scrollback buffers for all VGA console Date: Sun, 20 Nov 2016 22:58:06 +0100 Message-Id: <1479679088-3015-1-git-send-email-manuel.schoelling@gmx.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20161118005309.GC26324@dell-m4800.home> References: <20161118005309.GC26324@dell-m4800.home> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:5157T4Q6rWccCFAffeqDygaT5i+3EQauMx5zC5l7egz+9JdgXQs CVsr7sIcedZLUcUXB+bA2ywhPfloRfwkt2IGv/iwLt7KXaRpzHaio2MMcS0+Gea0u2l4gWT FVOOzg3VGgJqV1HXx6bIppIlD9yAlD6U7blCXMpuvgrAFB6+EdMFeN1+EcKfRzIJzAZ2/mJ AYhLwMFuj8C32fAjIpDFg== X-UI-Out-Filterresults: notjunk:1;V01:K0:zvo0gdJcdnY=:To/vABjb+NO6MBE/Qg7wAi X4y1aWdvcXqjUhqaqb+75SFco0gotyZk89ett607/65Lc7iBkgUY1tO1TI2dnG3g+E81Xd5bV VZ5Y/y86mP12qqz9squ95Iw9X25Hu5HHHctIA/mjcmzuPm+qNoMjc3FJbi2D/ElRL65GS40vc pvi1v/QIcot5f3za6cIYyBQuxA82HDdJE4FoNqLWM1V4FllpOSQWYBmbGGcPxrJDwg3nL6/jt 5nz9ex9/R38CzluOhE3PLRS3/GYA55MZlTxMh4rXXS51AqFm+rR0TelKSqddHwo5CmuegvFTq I8jWE8xmVUg5cMkAHewPXkBW3JySXesZ2jh2hczigPB94YhSDDW8Sbqv5sAb4wcdiaOs5tnqr lyQmAMGz//pwoiA589V95NuGhiy2WlhlHRiFD/L6ihDbLU9evCjdG8fNeZVv9EXMHG5ilORcw GwyAT00rByV/5Gr09J21U00uFH2Cy4SVDS+mMwxvOMTkaqDbMauKW6/ISErdBNM2Qh/ZzTyWi QTp79meM75Ue10mOb7Nv/Q7nAkVSBXvSuos7f8GrKhwFdgoPDQaRBkAtiutRc3rR7Fvcd17pZ Fc4Nh95vZTszVTrD7P+1D20xHdqz/TWoyKzropAHqN9qryg3wqI59bXfuxudMszYtkGBprcBK 97MaWhT4I+VUejxN7G1LczbtlQeV+eDonje/0+O1lz8UmdvLNxQokgTjC497x/B85z2vlCSUm UEyL2tfTI18xIDz3S1gwYNJzNllJ+8GyEbbBD3IA0GYbyK3HoayUOvT+IJo/rYrgufDrdyYcj wz2AFJW Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1234 Lines: 34 Changes in v5: - Clearify documentation - Skip superfluous array initialization - Disable scrollback if buffer allocation fails - Refactor vgacon_switch_scrollback() - Rename vgacon_switch_scrollback() to vgacon_scrollback_switch() - Add check for fg_console in vgacon_scrollback_update Changes in v4.1 to v4.2: - Fix compiler error Changes in v4: - Rename from VGACON_SOFT_SCROLLBACK_FOR_EACH_CONSOLE to VGACON_SOFT_SCROLLBACK_PERSISTENT - Split into two patches - Rework documentation - Remove cosmetic changes in comments (postponed) Changes in v3: - Add config option for this feature - Fallback to old scrollback buffer if kcalloc() fails - Remove ioctl() call again and add documentation about existing escape sequence to flush the scrollback buffer Changes in v2: - Add ioctl() call to flush scrollback buffer - (Patch v2 was not labeled as such, sorry) Manuel Schölling (2): console: Move scrollback data into its own struct console: Add persistent scrollback buffers for all VGA consoles drivers/video/console/Kconfig | 25 ++++++- drivers/video/console/vgacon.c | 146 +++++++++++++++++++++++++++-------------- 2 files changed, 117 insertions(+), 54 deletions(-) -- 2.1.4