x86/pti/efi: broken conversion from efi to kernel page table
authorPavel Tatashin <pasha.tatashin@oracle.com>
Mon, 15 Jan 2018 16:44:14 +0000 (11:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:39:00 +0000 (09:39 +0100)
commit1b92c48a2eeb8e4c77a27c93052ba95dc6e1cdda
tree151dcd613c9f071b88260ce155ea3348fd784e85
parent92e8f204947484f642b77836c0ce9f710d83f836
x86/pti/efi: broken conversion from efi to kernel page table

The page table order must be increased for EFI table in order to avoid a
bug where NMI tries to change the page table to kernel page table, while
efi page table is active.

For more disccussion about this bug, see this thread:
http://lkml.iu.edu/hypermail/linux/kernel/1801.1/00951.html

Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/pgalloc.h
arch/x86/mm/pgtable.c
arch/x86/platform/efi/efi_64.c