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.93; helo=mga11.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org 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 1F4B2211B15AA for ; Mon, 7 Jan 2019 23:56:38 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jan 2019 23:56:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,453,1539673200"; d="scan'208";a="265358423" Received: from ray-dev.ccr.corp.intel.com (HELO [10.239.9.15]) ([10.239.9.15]) by orsmga004.jf.intel.com with ESMTP; 07 Jan 2019 23:56:36 -0800 To: Eric Dong , edk2-devel@lists.01.org References: <20190108052519.22976-1-eric.dong@intel.com> From: "Ni, Ruiyu" Message-ID: <0591937e-70fc-6d39-bbed-d5fa52169d75@Intel.com> Date: Tue, 8 Jan 2019 15:58:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190108052519.22976-1-eric.dong@intel.com> Subject: Re: [Patch v4 0/2] Avoid AP calls PeiServices table. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 07:56:39 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 1/8/2019 1:25 PM, Eric Dong wrote: > AP should not use PeiServices. The patch serial fix one issue related to this. > This serial also include one patch used to refine the debug message. > > Cc: Ruiyu Ni > Eric Dong (2): > UefiCpuPkg/RegisterCpuFeaturesLib: Enhance debug message. > UefiCpuPkg/RegisterCpuFeaturesLib: Avoid AP calls PeiService. > > .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 39 +++++++----- > .../DxeRegisterCpuFeaturesLib.c | 59 ++++++++++-------- > .../PeiRegisterCpuFeaturesLib.c | 70 +++++++++------------- > .../RegisterCpuFeaturesLib/RegisterCpuFeatures.h | 25 +++++++- > 4 files changed, 110 insertions(+), 83 deletions(-) > Reviewed-by: Ray Ni -- Thanks, Ray