From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932896AbbBIKtw (ORCPT ); Mon, 9 Feb 2015 05:49:52 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:54104 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932854AbbBIKtt (ORCPT ); Mon, 9 Feb 2015 05:49:49 -0500 MIME-Version: 1.0 In-Reply-To: References: <1422504685-7864-1-git-send-email-airlied@redhat.com> <20150203155402.4c31c36b@lxorguk.ukuu.org.uk> <20150205113551.48094713@lxorguk.ukuu.org.uk> Date: Mon, 9 Feb 2015 11:49:48 +0100 X-Google-Sender-Auth: 0kI9VwCBlaOlXYFetnfg1IJ4txE Message-ID: Subject: Re: [PATCH] vt_buffer: drop console buffer copying optimisations From: Geert Uytterhoeven To: Daniel Stone Cc: One Thousand Gnomes , Greg Kroah-Hartman , Linux Kernel Mailing List , Tomi Valkeinen , dri-devel@lists.sf.net, Dave Airlie , Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 9, 2015 at 11:35 AM, Daniel Stone wrote: > On 5 February 2015 at 11:35, One Thousand Gnomes > wrote: >>> If I'm not mistaken, that would be as simple as adding >>> >>> #define VT_BUF_HAVE_RW. >>> #define scr_writew(val, addr) (*(addr) = (val)) >>> #define scr_readw(addr) (*(addr)) >>> >>> to arch/x86/include/asm/vga.h. >> >> and stick an >> >> #if defined (CONFIG_SUPPORT_SHITE_VGA_ADAPTERS) >> >> #endif >> >> around that and its sorted as an option everyone can leave off but the >> afflicted. > > Well, given all the distros will enable that, might as well be #if > !defined(CONFIG_BREAK_SOME_HARDWARE_BUT_VGA_SCROLLING_WILL_BE_IMMEASURABLY_FASTER). All distros on 1 out of 29 architectures? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds