lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 16 Oct 2013 11:27:44 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Matt Fleming <matt@...sole-pimps.org>
Cc:	"H. Peter Anvin" <hpa@...or.com>, linux-efi@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Matt Fleming <matt.fleming@...el.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Jones <pjones@...hat.com>
Subject: Re: [PATCH] x86/efi: Add EFI framebuffer earlyprintk support


* Matt Fleming <matt@...sole-pimps.org> wrote:

> On Mon, 14 Oct, at 09:57:26AM, Ingo Molnar wrote:
> > 
> > * H. Peter Anvin <hpa@...or.com> wrote:
> > 
> > > On 10/12/2013 10:49 AM, Ingo Molnar wrote:
> > > > 
> > > >>>> +static void early_efi_write_char(void *dst, char c, int h)
> > > >>>> +{
> > > >>>> +	const u8 *src;
> > > >>>> +	u32 fgcolor = 0xaaaaaa;
> > > >>>
> > > >>> That's RGB grey, right? Why not 0xffffff for a very visible white?
> > > >>  
> > > >> The VGA earlyprintk code uses the equivalent grey, AFAIK, which is why I 
> > > >> picked this value.
> > > > 
> > > > The VGA code should be changed to white too I suspect ;-)
> > > > 
> > > 
> > > For compatibility with the classical text console we use light grey as 
> > > the default color and a double-stroked font (which was necessary on the 
> > > CGA display since it didn't have enough bandwidth to handle 
> > > single-stroked fonts well).  The problem with changing that to white is 
> > > that you end up with a mismatch between the earlyprintk console and the 
> > > "real" console, *or* we change the behavior of everyone's consoles...
> > 
> > Btw., I have no problem at all with making the early console look separate 
> > and making it clear when we switch to the 'real' console.
> > 
> > earlyprintk is a debug method, and more information can only be good.
> 
> Have we reached a consensus here? I've no strong opinion either way on 
> the colour of the text.

I'd suggest we go white and see whether anyone complains legitimately ...

In any case:

Acked-by: Ingo Molnar <mingo@...nel.org>

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ