From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 72CD3802B8 for ; Sun, 5 Mar 2017 18:33:34 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2017 18:33:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,251,1484035200"; d="scan'208";a="71954484" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 05 Mar 2017 18:33:33 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Mar 2017 18:33:33 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Mar 2017 18:33:32 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.177]) with mapi id 14.03.0248.002; Mon, 6 Mar 2017 10:33:31 +0800 From: "Gao, Liming" To: Ard Biesheuvel , "edk2-devel@lists.01.org" , "Kinney, Michael D" CC: "Zeng, Star" , "Yao, Jiewen" Thread-Topic: [PATCH v4 0/4] MdePkg, MdeModulePkg: Enforce page allocation granularity Thread-Index: AQHSlDCEMkak9eB8UUW3uFfRaN/nIaGHG7EQ Date: Mon, 6 Mar 2017 02:33:30 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6E848A@shsmsx102.ccr.corp.intel.com> References: <1488553894-3520-1-git-send-email-ard.biesheuvel@linaro.org> In-Reply-To: <1488553894-3520-1-git-send-email-ard.biesheuvel@linaro.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v4 0/4] MdePkg, MdeModulePkg: Enforce page allocation granularity X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 02:33:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] >Sent: Friday, March 03, 2017 11:12 PM >To: edk2-devel@lists.01.org; Gao, Liming ; Kinney, >Michael D >Cc: Zeng, Star ; Yao, Jiewen ; >Ard Biesheuvel >Subject: [PATCH v4 0/4] MdePkg, MdeModulePkg: Enforce page allocation >granularity > >This is now a 4-piece series, so that the allocation granularity used by >PEI core, which is defined per-architecture in the UEFI spec, is not defin= ed >locally but centrally for all modules in all phases. > >Ard Biesheuvel (4): > MdePkg/ProcessorBind: add defines for page allocation granularity > MdeModulePkg/DxeCore: switch to MdePkg allocation granularity macros > MdeModulePkg/PiSmmCore: switch to MdePkg allocation granularity macros > MdeModulePkg/PeiCore: honour minimal runtime allocation granularity > > MdeModulePkg/Core/Dxe/DxeMain.h | 25 ------------- > MdeModulePkg/Core/Dxe/Mem/Page.c | 22 +++++------ > MdeModulePkg/Core/Dxe/Mem/Pool.c | 8 ++-- > MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c | 2 +- > MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 4 +- > MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 8 ++-- > MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 39 >+++++++++++++++++++- > MdeModulePkg/Core/PiSmmCore/MemoryAttributesTable.c | 6 +-- > MdeModulePkg/Core/PiSmmCore/Page.c | 4 +- > MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 6 --- > MdePkg/Include/AArch64/ProcessorBind.h | 6 +++ > MdePkg/Include/Arm/ProcessorBind.h | 6 +++ > MdePkg/Include/Ebc/ProcessorBind.h | 6 +++ > MdePkg/Include/Ia32/ProcessorBind.h | 6 +++ > MdePkg/Include/Ipf/ProcessorBind.h | 6 +++ > MdePkg/Include/X64/ProcessorBind.h | 6 +++ > 16 files changed, 100 insertions(+), 60 deletions(-) > >-- >2.7.4