Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-10 Thread Dave Young
On 10/08/13 at 06:48pm, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de We map the EFI regions needed for runtime services contiguously on virtual addresses starting from -4G down for a total max space of 64G. This way, we provide for stable runtime services addresses across

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-10 Thread Dave Young
On 10/10/13 at 04:06pm, Dave Young wrote: On 10/08/13 at 06:48pm, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de We map the EFI regions needed for runtime services contiguously on virtual addresses starting from -4G down for a total max space of 64G. This way, we provide for

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-10 Thread Borislav Petkov
On Thu, Oct 10, 2013 at 04:14:34PM +0800, Dave Young wrote: Even though I still have no idea why kernel text overlap with efi boot region, anyway map the un-overlapped part is necessary though. I can post the kexec related patches after your mapping patches settle down Right, settle down

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-10 Thread Matt Fleming
On Thu, 10 Oct, at 10:58:28AM, Borislav Petkov wrote: On Thu, Oct 10, 2013 at 04:14:34PM +0800, Dave Young wrote: Even though I still have no idea why kernel text overlap with efi boot region, anyway map the un-overlapped part is necessary though. I can post the kexec related patches

[PATCH] x86/efi: Add EFI framebuffer earlyprintk support

2013-10-10 Thread Matt Fleming
From: Matt Fleming matt.flem...@intel.com It's incredibly difficult to diagnose early EFI boot issues without special hardware because earlyprintk=vga doesn't work on EFI systems. Add support for writing to the EFI framebuffer, via earlyprintk=efi, which will actually give users a chance of

Re: [PATCH] x86/efi: Add EFI framebuffer earlyprintk support

2013-10-10 Thread Ingo Molnar
* Matt Fleming m...@console-pimps.org wrote: From: Matt Fleming matt.flem...@intel.com It's incredibly difficult to diagnose early EFI boot issues without special hardware because earlyprintk=vga doesn't work on EFI systems. Add support for writing to the EFI framebuffer, via

Re: [PATCH] x86/efi: Add EFI framebuffer earlyprintk support

2013-10-10 Thread Ingo Molnar
* Peter Jones pjo...@redhat.com wrote: On Thu, Oct 10, 2013 at 07:28:44PM +0200, Ingo Molnar wrote: Is a non-32-bit framebuffer a possibility? If yes then it might be nice to emit an informative printk() here, so that users who try to enable EFI early-printk can at least see why it's

Re: [PATCH] x86/efi: Add EFI framebuffer earlyprintk support

2013-10-10 Thread Matthew Garrett
On Thu, Oct 10, 2013 at 07:45:21PM +0200, Ingo Molnar wrote: Also, the main question would be, what is the typical value for si-lfb_depth. 32 on almost all EFI systems? All around the map? Depends on what graphics state the EFI bootloader passes us? Microsoft require that it be 32, so in

Re: [PATCH] x86/efi: Add EFI framebuffer earlyprintk support

2013-10-10 Thread Peter Jones
On Thu, Oct 10, 2013 at 07:45:21PM +0200, Ingo Molnar wrote: * Peter Jones pjo...@redhat.com wrote: On Thu, Oct 10, 2013 at 07:28:44PM +0200, Ingo Molnar wrote: Is a non-32-bit framebuffer a possibility? If yes then it might be nice to emit an informative printk() here, so