From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 D7DB621954092 for ; Mon, 24 Apr 2017 19:36:40 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2017 19:36:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,247,1488873600"; d="scan'208";a="80504778" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 24 Apr 2017 19:36:40 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 24 Apr 2017 19:36:39 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 24 Apr 2017 19:36:39 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.193]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.217]) with mapi id 14.03.0319.002; Tue, 25 Apr 2017 10:36:35 +0800 From: "Tian, Feng" To: "Fan, Jeff" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Tian, Feng" Thread-Topic: [PATCH 0/2] Borrow the space below 1MB for AP reset vector Thread-Index: AQHSumUjJ2oY56SnQUmnRvV7LRRNZ6HVZJkQ Date: Tue, 25 Apr 2017 02:36:35 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE5699EBFBE@SHSMSX101.ccr.corp.intel.com> References: <20170421060418.12732-1-jeff.fan@intel.com> In-Reply-To: <20170421060418.12732-1-jeff.fan@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 0/2] Borrow the space below 1MB for AP reset vector 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: Tue, 25 Apr 2017 02:36:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Feng Tian Thanks Feng -----Original Message----- From: Fan, Jeff=20 Sent: Friday, April 21, 2017 2:04 PM To: edk2-devel@lists.01.org Cc: Tian, Feng ; Kinney, Michael D Subject: [PATCH 0/2] Borrow the space below 1MB for AP reset vector Current, CpuMpPei will find the available memory space below 1MB for AP res= et vector. And CpuMpPei will build resource HOB on this range to prevent ot= her PEI modules to use this range. However, on some FSP usage model, this range maybe used by the code out of = FSP. CpuMpPei may change the original memory contents and cause other code crash= . We could update CpuMpPei not to change the original contents of this range = around AP waking up. Thus, it will not impact the other code on FSP usage m= odel. This updating is tiny and less impact on performance. https://bugzilla.tianocore.org/show_bug.cgi?id=3D500 Cc: Feng Tian Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Jeff Fan (2): UefiCpuPkg/MpInitLib: save/restore original contents UefiCpuPkg/MpInitLib: needn't to allocate AP reset vector UefiCpuPkg/Library/MpInitLib/MpLib.h | 22 +----- UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 6 +- UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 107 +---------------------= ---- 3 files changed, 5 insertions(+), 130 deletions(-) -- 2.9.3.windows.2