[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457695163-29632-1-git-send-email-matt@codeblueprint.co.uk>
Date: Fri, 11 Mar 2016 11:19:22 +0000
From: Matt Fleming <matt@...eblueprint.co.uk>
To: Ingo Molnar <mingo@...nel.org>, "H . Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Matt Fleming <matt@...eblueprint.co.uk>,
linux-kernel@...r.kernel.org, linux-efi@...r.kernel.org,
Alexis Murzeau <amurzeau@...il.com>,
Ben Hutchings <ben@...adent.org.uk>,
Borislav Petkov <bp@...en8.de>,
Maarten Lankhorst <maarten.lankhorst@...onical.com>,
Matthew Garrett <mjg59@...f.ucam.org>,
Raphael Hertzog <hertzog@...ian.org>,
Roger Shimizu <rogershimizu@...il.com>
Subject: [GIT PULL] EFI urgent fix for v4.6 queue
Folks, the following patch fixes a bug that is triggered with the new
EFI page table code sitting in tip/efi/core and queued up for the
merge window.
It turns out that we were relying on the kernel's mappings for those
regions that are marked E820_RESERVED, etc in the e820 map. The
specific example in the bug report was page zero which was always
"special" on legacy BIOS.
On EFI, legitimate code/data can be placed there and so if it's part
of the EFI memory map, we must make sure we map it into the EFI page
tables. EFI runtime drivers may need to access it.
The following changes since commit 2ad510dc372c2caac9aada9ff6dd10e787616e1d:
x86/efi: Only map kernel text for EFI mixed mode (2016-02-22 08:26:28 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent
for you to fetch changes up to c7af05d993ef60102eea6e0056de7eb5f6d4e52d:
x86/efi: Always map boot service regions into new EFI page tables (2016-03-11 11:08:36 +0000)
----------------------------------------------------------------
* Fix a bug triggered with the new separate EFI page table code where
EFI boot services regions that are marked E820_RESERVED are not
mapped into the page tables, leading to an oops during
SetVirtualAddressMap() - Matt Fleming
----------------------------------------------------------------
Matt Fleming (1):
x86/efi: Always map boot service regions into new EFI page tables
arch/x86/platform/efi/quirks.c | 79 +++++++++++++++++++++++++++++++++---------
1 file changed, 62 insertions(+), 17 deletions(-)
Powered by blists - more mailing lists