x86/efi: Add EFI framebuffer earlyprintk support
authorMatt Fleming <matt.fleming@intel.com>
Fri, 4 Oct 2013 08:36:56 +0000 (09:36 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 28 Oct 2013 18:09:58 +0000 (18:09 +0000)
commit72548e836b0c4abbb652e791dee9c91203a9a4c6
tree2eead15738f173ed08ecbedc88adbb0bf2937022
parentc158c3bf59951bbb44bd7ccca9e6665dfd1617c5
x86/efi: Add EFI framebuffer earlyprintk support

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 providing debug output.

Cc: H. Peter Anvin <hpa@zytor.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Jones <pjones@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Documentation/kernel-parameters.txt
arch/x86/Kconfig.debug
arch/x86/include/asm/efi.h
arch/x86/kernel/early_printk.c
arch/x86/platform/efi/Makefile
arch/x86/platform/efi/early_printk.c [new file with mode: 0644]