From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=jian.j.wang@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by ml01.01.org (Postfix) with ESMTP id D2E1B2035A7AD for ; Thu, 16 Nov 2017 08:36:02 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2017 23:27:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,402,1505804400"; d="scan'208";a="174145278" Received: from jwang36-mobl2.ccr.corp.intel.com ([10.239.192.64]) by orsmga005.jf.intel.com with ESMTP; 15 Nov 2017 23:27:05 -0800 From: Jian J Wang To: edk2-devel@lists.01.org Date: Thu, 16 Nov 2017 15:26:58 +0800 Message-Id: <20171116072700.11456-1-jian.j.wang@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 Subject: [PATCH v6 0/2] Fix multiple entries of RT_CODE in memory map X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 16:36:05 -0000 > v6 > a. Add workaround in core to filter out all paging related capabilities. > This is to fix boot issue in Fedora 26 and Windows Server 2016. > b. Add code to check if EFI_MEMORY_XP should be added for GCD memory map More than one entry of RT_CODE memory might cause boot problem for some old OSs. This patch will fix this issue to keep OS compatibility as much as possible. Jian J Wang (2): MdeModulePkg/DxeCore: Filter out all paging capabilities UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map MdeModulePkg/Core/Dxe/Mem/Page.c | 17 ++++++++ UefiCpuPkg/CpuDxe/CpuPageTable.c | 94 +++++++++++++++++++++++++++++++--------- 2 files changed, 90 insertions(+), 21 deletions(-) -- 2.14.1.windows.1