From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=eric.dong@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 D31BB211B15AA for ; Mon, 7 Jan 2019 21:25:31 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jan 2019 21:25:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,453,1539673200"; d="scan'208";a="132545121" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.9.125]) by fmsmga002.fm.intel.com with ESMTP; 07 Jan 2019 21:25:30 -0800 From: Eric Dong To: edk2-devel@lists.01.org Cc: Ruiyu Ni Date: Tue, 8 Jan 2019 13:25:17 +0800 Message-Id: <20190108052519.22976-1-eric.dong@intel.com> X-Mailer: git-send-email 2.15.0.windows.1 Subject: [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 05:25:32 -0000 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(-) -- 2.15.0.windows.1