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.100; helo=mga07.intel.com; envelope-from=eric.dong@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 124A9210C0F73 for ; Wed, 25 Jul 2018 00:51:09 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2018 00:51:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,400,1526367600"; d="scan'208";a="75739863" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.9.125]) by orsmga001.jf.intel.com with ESMTP; 25 Jul 2018 00:51:05 -0700 From: Eric Dong To: edk2-devel@lists.01.org Date: Wed, 25 Jul 2018 15:50:17 +0800 Message-Id: <20180725075020.240-1-eric.dong@intel.com> X-Mailer: git-send-email 2.15.0.windows.1 Subject: [Patch V3 0/3] StartAllAPs should not use disabled APs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2018 07:51:10 -0000 This patch series include changes: 1. StartAllAPs should not use disabled APs, this is required by UEFI spec. 2. Refine the code to remove the redundant definitions. V2 changes: Use CpuStateReady to distinguish the AP state from CpuStateIdle. V3 Changes: Only change 3/3 patch. Only not use disabled APs when WakeUpAP called by StartAllAps function. In other cases, also include disabled APs. Eric Dong (3): UefiCpuPkg/MpInitLib: Remove redundant CpuStateFinished State. UefiCpuPkg/MpInitLib: Remove StartCount and volatile definition. UefiCpuPkg/MpInitLib: Not use disabled AP when call StartAllAPs. UefiCpuPkg/Library/MpInitLib/MpLib.c | 33 +++++++++++++++------------------ UefiCpuPkg/Library/MpInitLib/MpLib.h | 4 +--- 2 files changed, 16 insertions(+), 21 deletions(-) -- 2.15.0.windows.1