Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754143AbbLDAMF (ORCPT ); Thu, 3 Dec 2015 19:12:05 -0500 Received: from TYO201.gate.nec.co.jp ([210.143.35.51]:32971 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327AbbLDAMD convert rfc822-to-8bit (ORCPT ); Thu, 3 Dec 2015 19:12:03 -0500 From: Kosuke Tatsukawa To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" CC: Matt Fleming , "linux-efi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH 0/2] x86: Fix issues when eXecute Disable (XD) bit is disabled in uEFI firmware Thread-Topic: [PATCH 0/2] x86: Fix issues when eXecute Disable (XD) bit is disabled in uEFI firmware Thread-Index: AdEuJoK/frXWHJjmTJ6PKPHzRjYERw== Date: Thu, 3 Dec 2015 23:58:31 +0000 Message-ID: <17EC94B0A072C34B8DCF0D30AD16044A0288E2C8@BPXM09GP.gisp.nec.co.jp> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.34.125.78] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 20 The kernel panics early in boot on a x86_64 server if the eXecute Disable (XD) bit is set to disabled in the uEFI firmware. The following patches fix the panic and also fix an error in kernel_map_pages_in_pgd() which would make the EFI runtime service unavailable when the XD bit is set to disabled. Kosuke Tatsukawa (2): x86: Fix kernel panic when booting with XD disabled in uEFI firmware x86: Fix error in kernel_map_pages_in_pgd() when booting with XD disabled --- arch/x86/kernel/setup.c | 18 +++++++++--------- arch/x86/mm/ioremap.c | 3 +++ arch/x86/mm/pageattr.c | 6 +----- 3 files changed, 13 insertions(+), 14 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/