Re: [PATCH 4.9] x86/pti/efi: broken conversion from efi to kernel page table

From: Jiri Kosina
Date: Fri Jan 12 2018 - 09:28:21 EST


On Thu, 11 Jan 2018, Pavel Tatashin wrote:

> 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@xxxxxxxxxx>
> Reviewed-by: Steven Sistare <steven.sistare@xxxxxxxxxx>

Acked-by: Jiri Kosina <jkosina@xxxxxxx>

We are carrying similar patch in our 4.4 codestream as well.

Please note that this is needed only for those trees that have 67a9108ed43
("x86/efi: Build our own page table structures") backported to it. That
used to be in some -stable releases, and some had it reverted, so please
check that.

--
Jiri Kosina
SUSE Labs