[PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-03 Thread Yinghai Lu
Now could use kexec to place kernel/boot_params/cmd_line/initrd above 4G, but that is with legacy interface with startup_64 directly. This patch will allow 64bit EFI kernel to be loaded above 4G and use EFI HANDOVER PROTOCOL to start the kernel. Current code32_start is used for passing around

[PATCH v11 13/19] x86_64: kasan: add interceptors for memset/memmove/memcpy functions

2015-02-03 Thread Andrey Ryabinin
Recently instrumentation of builtin functions calls was removed from GCC 5.0. To check the memory accessed by such functions, userspace asan always uses interceptors for them. So now we should do this as well. This patch declares memset/memmove/memcpy as weak symbols. In mm/kasan/kasan.c we have

Re: [PATCH] x86/efi: Avoid triple faults during EFI mixed mode calls

2015-02-03 Thread Borislav Petkov
On Tue, Jan 27, 2015 at 04:12:04PM +, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com Andy pointed out that if an NMI or MCE is received while we're in the middle of an EFI mixed mode call a triple fault will occur. This can happen, for example, when issuing an EFI mixed