From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751284AbeAORuq (ORCPT + 1 other); Mon, 15 Jan 2018 12:50:46 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44658 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbeAORul (ORCPT ); Mon, 15 Jan 2018 12:50:41 -0500 Date: Mon, 15 Jan 2018 18:49:54 +0100 From: Greg KH To: Pavel Tatashin Cc: steven.sistare@oracle.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jkosina@suse.cz, hughd@google.com, dave.hansen@linux.intel.com, luto@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 4.9 v2] x86/pti/efi: broken conversion from efi to kernel page table Message-ID: <20180115174954.GA4943@kroah.com> References: <20180115164414.19778-1-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180115164414.19778-1-pasha.tatashin@oracle.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Mon, Jan 15, 2018 at 11:44:14AM -0500, 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 > Reviewed-by: Steven Sistare > Acked-by: Jiri Kosina > --- > arch/x86/include/asm/pgalloc.h | 11 +++++++++++ > arch/x86/mm/pgtable.c | 7 ------- > arch/x86/platform/efi/efi_64.c | 2 +- > 3 files changed, 12 insertions(+), 8 deletions(-) > > Changelog: > v1 - v2: Fixed compiling warning Many thanks for this, now queued up. greg k-h