From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0B3977803DF for ; Thu, 20 Jul 2023 07:07:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=DpuC4SQ+4bWdfz5byvWhUUw3y4B2cRv2KbR2/d02ofU=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-IronPort-AV:X-IronPort-AV:X-Received:X-ExtLoop1:X-IronPort-AV:X-IronPort-AV:X-Received:From:To:Subject:Date:Message-Id:MIME-Version:Precedence:List-Unsubscribe:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:X-Gm-Message-State:Content-Transfer-Encoding; s=20140610; t=1689836872; v=1; b=edHolzQR0ZKbvqjnxKr3mrjAQlzFY9mBXvf6rTPEcycBgvDyEzu6rM2nc1v78ko6ja4RzE5C iIVrcjxoBsbyRQeLV0IU6KsZmDGsvcGjGpWbY28KY/1PTEkTbUOFxgE0iI1mWGWWNwhxjBfErtm EdtIbXGOEuvXdgHTo75+ATHY= X-Received: by 127.0.0.2 with SMTP id Wz74YY7687511xXV7PpBh5I1; Thu, 20 Jul 2023 00:07:52 -0700 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.7517.1689836871629003338 for ; Thu, 20 Jul 2023 00:07:51 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="453029628" X-IronPort-AV: E=Sophos;i="6.01,218,1684825200"; d="scan'208";a="453029628" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2023 00:07:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="814407467" X-IronPort-AV: E=Sophos;i="6.01,218,1684825200"; d="scan'208";a="814407467" X-Received: from shwdeopenlab705.ccr.corp.intel.com ([10.239.55.55]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2023 00:07:49 -0700 From: "Yuanhao Xie" To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V3 0/4] Wake up APs after power-up or RESET through SIPI. Date: Thu, 20 Jul 2023 15:07:32 +0800 Message-Id: <20230720070736.4562-1-yuanhao.xie@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,yuanhao.xie@intel.com X-Gm-Message-State: CoqpYcApQvxNRS6yVsjM93Q3x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=edHolzQR; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io The implementation of this new behavior aligns with the guidelines outlined in the Intel SDM. Following a power-up or RESET of an MP system, system hardware dynamically selects one of the processors on the system bus as the BSP. The remaining processors are designated as APs. The APs complete a minimal self-configuration, then wait for a startup signal (a SIPI message) from the BSP processor. Yuanhao Xie (1): UefiCpuPkg: Add SendStartupIpiAllExcludingSelf YuanhaoXie (3): UefiCpuPkg: Add PcdFirstTimeWakeUpAPsBySipi OvmfPkg: Disable PcdFirstTimeWakeUpAPsBySipi. UefiCpuPkg:Wake up APs after power-up or RESET through SIPI. OvmfPkg/OvmfPkgIa32.dsc | 4 +++- OvmfPkg/OvmfPkgIa32X64.dsc | 2 ++ OvmfPkg/OvmfPkgX64.dsc | 2 ++ UefiCpuPkg/Include/Library/LocalApicLib.h | 17 ++++++++++++++++- UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 43 ++++++++++++++++++++++++++++++------------- UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 43 ++++++++++++++++++++++++++++++------------- UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 1 + UefiCpuPkg/Library/MpInitLib/MpLib.c | 9 ++++++++- UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 1 + UefiCpuPkg/UefiCpuPkg.dec | 11 +++++++++++ 10 files changed, 104 insertions(+), 29 deletions(-) -- 2.36.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107082): https://edk2.groups.io/g/devel/message/107082 Mute This Topic: https://groups.io/mt/100251413/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-