From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: ray.ni@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Mon, 01 Jul 2019 18:54:09 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 18:54:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,441,1557212400"; d="scan'208";a="174414503" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 01 Jul 2019 18:54:08 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 1 Jul 2019 18:54:08 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 1 Jul 2019 18:54:08 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.55]) with mapi id 14.03.0439.000; Tue, 2 Jul 2019 09:54:05 +0800 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Kinney, Michael D" CC: "Sun, Zailiang" , "Qian, Yi" , "Steele, Kelly" Subject: Re: [edk2-devel] [edk2-platforms Patch 4/4] QuarkPkatformPkg: Update MemoryTypeInformation to reduce reboots Thread-Topic: [edk2-devel] [edk2-platforms Patch 4/4] QuarkPkatformPkg: Update MemoryTypeInformation to reduce reboots Thread-Index: AQHVMGDctnd2Akt8L0aHJEeRFZTLvqa2kNCQ Date: Tue, 2 Jul 2019 01:54:04 +0000 Deferred-Delivery: Tue, 2 Jul 2019 01:53:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C20CDC1@SHSMSX104.ccr.corp.intel.com> References: <20190701230049.21448-1-michael.d.kinney@intel.com> <20190701230049.21448-5-michael.d.kinney@intel.com> In-Reply-To: <20190701230049.21448-5-michael.d.kinney@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Michael > D Kinney > Sent: Tuesday, July 2, 2019 7:01 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi = ; Ni, > Ray ; Steele, Kelly > Subject: [edk2-devel] [edk2-platforms Patch 4/4] QuarkPkatformPkg: > Update MemoryTypeInformation to reduce reboots >=20 > Adjust size of bins in Memory Type Information HOB to eliminate extra > reboot after first boot. >=20 > Cc: Zailiang Sun > Cc: Yi Qian > Cc: Ray Ni > Cc: Kelly Steele > Signed-off-by: Michael D Kinney > --- > .../Platform/Pei/PlatformInit/MrcWrapper.h | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) >=20 > diff --git > a/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper. > h > b/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper. > h > index e24eb4b475..129330d954 100644 > --- > a/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper. > h > +++ > b/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapp > +++ er.h > @@ -1,7 +1,7 @@ > /** @file > Framework PEIM to initialize memory on an DDR2 SDRAM Memory > Controller. >=20 > -Copyright (c) 2013 - 2016 Intel Corporation. > +Copyright (c) 2013 - 2019 Intel Corporation. >=20 > SPDX-License-Identifier: BSD-2-Clause-Patent >=20 > @@ -16,12 +16,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // // > Define the default memory areas required // > -#define EDKII_RESERVED_SIZE_PAGES 0x20 > -#define ACPI_NVS_SIZE_PAGES 0x60 > -#define RUNTIME_SERVICES_DATA_SIZE_PAGES 0x20 > +#define EDKII_RESERVED_SIZE_PAGES 0x40 > +#define ACPI_NVS_SIZE_PAGES 0x40 > +#define RUNTIME_SERVICES_DATA_SIZE_PAGES 0xC0 > #define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x80 > #define ACPI_RECLAIM_SIZE_PAGES 0x20 > -#define EDKII_DXE_MEM_SIZE_PAGES 0x20 >=20 > // > // Maximum number of "Socket Sets", where a "Socket Set is a set of > matching > -- > 2.21.0.windows.1 >=20 >=20 >=20