[PATCH 0/2] x86: Fix issues when eXecute Disable (XD) bit is disabled in uEFI firmware

From: Kosuke Tatsukawa
Date: Thu Dec 03 2015 - 19:12:09 EST


The kernel panics early in boot on a x86_64 server if the eXecute
Disable (XD) bit is set to disabled in the uEFI firmware.

The following patches fix the panic and also fix an error in
kernel_map_pages_in_pgd() which would make the EFI runtime service
unavailable when the XD bit is set to disabled.

Kosuke Tatsukawa (2):
x86: Fix kernel panic when booting with XD disabled in uEFI firmware
x86: Fix error in kernel_map_pages_in_pgd() when booting with XD disabled
---
arch/x86/kernel/setup.c | 18 +++++++++---------
arch/x86/mm/ioremap.c | 3 +++
arch/x86/mm/pageattr.c | 6 +-----
3 files changed, 13 insertions(+), 14 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/