Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755756AbcKVQon (ORCPT ); Tue, 22 Nov 2016 11:44:43 -0500 Received: from mout.gmx.net ([212.227.15.19]:52568 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753149AbcKVQok (ORCPT ); Tue, 22 Nov 2016 11:44:40 -0500 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= To: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, =?UTF-8?q?Manuel=20Sch=C3=B6lling?= Subject: [PATCH v6 0/2] console: Add persistent scrollback buffers for all VGA consoles Date: Tue, 22 Nov 2016 17:43:36 +0100 Message-Id: <1479833018-20021-1-git-send-email-manuel.schoelling@gmx.de> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:AZRWhecuWzJGXNga5y9LbqTJdJyUsvAS2z425VAu5OePUoN07dQ mgkElCXf/4ESgafoIaN0MDAwqa73XEpglpSxtZlY1M+Pj3CMnJiPvHy/Xg6pPnyd+K2ROEz dvte5KWM4ZYWR7IBnxO2rqMvCY7XNOnX6OSqLbkEgXfuiTbw3HOkj2C5dorVQAwrqUyOnX1 XahjQef4WNzbVpxNYD04g== X-UI-Out-Filterresults: notjunk:1;V01:K0:0e3xRlHJqR0=:3hD2ZNF3I3na3kgthWmVXR BIY3N+NZy4AxL5AEfpMnNJsWwdBZYsQqyeUQsuEwKh+0E59gFPFR4vKNM7DPn9/dPZ31od8x8 hs2nik6mzU3tBEoT3+ccrw3Lr0d7oNJjKbQyQubpdMOoScqxb1PUNFaBvJgDQvFrDBvEO2qWn MS4a3w82neXayydcoUbbgRwTPoo0S8+kdjaB77QkcJMBHIBv6fjPExxnWnpfm43Hsf5VZ4UN7 wZHU3JqGFyw6QoMkEPnocUIhH0EQcQHtb4xfAOvPqPUI1rp0FVwN3XPX/T4l/L1Qtz8/rRtEw qYIEbaOnlLFUi0X4hS7ojXKv2foPZy4p7YDdO1G8FCVZs6SedRyX33bksmnAAvvrvCplm35gp LU2NL81d3n+cHxvej2EC69ziB/QyeQEOLX+k4UFM94TYfSVkvMn1IUG4a26644JPuJIy0Ajhv JqYKxcen/iOPUP577ud3adiRtI1t7lR6cRa/gcwGxMphMhXbfW1A6vWWdmh16Nwn5m6MiRfkP 000DthIJPGxhA9x7NmjIsRRwdLcfWnUnILixchKZThJrJw0z3UXVHtwlKpsIKs45Df9UFxvQk NLhv96iJsUnwcj2EJH6YwMelsx5pr5R/GCdx7YfApNdOiOdClN7alDXKmchnQq0bDtOSVBed+ rR+vRPVI7iO4HZsFx3BYh4eO0u+sMGrzJMFaUk0S3y6hS3RwYIXZ6uldjWPsspHzxutxwOwXe ep8XL828joZPlsSEVPBQQfoDLiYJMJrhMv2cm6KlCokEm6SlRzUBOUoFKKBG0tNbNfgWBZeyp c9ALjSZ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1318 Lines: 37 Changes in v6: - Change of check if feature is enabled in vgacon_scrollback_switch() 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: - 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 | 149 +++++++++++++++++++++++++++-------------- 2 files changed, 120 insertions(+), 54 deletions(-) -- 2.1.4