Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933278AbcCNKdO (ORCPT ); Mon, 14 Mar 2016 06:33:14 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:33182 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752705AbcCNKdF (ORCPT ); Mon, 14 Mar 2016 06:33:05 -0400 From: Matt Fleming To: Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" Cc: Matt Fleming , Ard Biesheuvel , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Ben Hutchings , Borislav Petkov , Brian Gerst , Denys Vlasenko , Linus Torvalds , Maarten Lankhorst , Matthew Garrett , Peter Zijlstra , Raphael Hertzog , Roger Shimizu , Scott Ashcroft Subject: [GIT PULL] EFI urgent fix for v4.6 queue Date: Mon, 14 Mar 2016 10:33:00 +0000 Message-Id: <1457951581-27353-1-git-send-email-matt@codeblueprint.co.uk> X-Mailer: git-send-email 2.6.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1618 Lines: 38 Scott has reported another bug in the EFI mapping code which caused page faults during SetVirtualAddressMap() because we're using 1GB pages at the PUD level even though they may not be supported by the cpu. This patch is against tip/efi/core even though the bug has existed since populate_pud() was first written in 2013. The reason I didn't base it on tip/x86/urgent is because it would generate conflicts when the stuff in tip/efi/core gets merged and since no one has ever reported hitting it until now. Let me know if you'd like me to respin this patch on top of something else. 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 a239b3605abff1457005b413047ddeef057a0831: x86/mm/pat: Fix boot crash when 1GB pages are not supported by cpu (2016-03-14 10:13:05 +0000) ---------------------------------------------------------------- * We currently always assume that 1GB PUD pages are supported by the cpu which has resulted in reports of boot crashes (PF_RSVD faults) during SetVirtualAddressMap() when that assumption turns out to be false. Only use 1GB pages if supported by the cpu - Matt Fleming ---------------------------------------------------------------- Matt Fleming (1): x86/mm/pat: Fix boot crash when 1GB pages are not supported by cpu arch/x86/mm/pageattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)