From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.26627.1679887040165897366 for ; Sun, 26 Mar 2023 20:17:20 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=bxM3TEWx; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: yuanhao.xie@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679887040; x=1711423040; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=FBLYfNy20dIm/W+6w8s4X8sbZjH9roAC3TAVcN80ALo=; b=bxM3TEWxqrm2AlDggbIqoKNu3XlgZnl6tdNR4OYFyeEwaDGdhkz4Rkdz q6D2g5kAarRv1GFefNp9x3U6pI/j0TNfsfGvq9STofiVWs77ySdVdbmoN ncwstZ9zTL+j+UQIOzqHzzkZ6n8zXhG8+HxN3l86wutB2KMlOqfIP6CZW K2f2EYMvEnQc1EivsXLgtJagy73UxGtmqHf5oFZhrZci1ecIE9y5dYMWN ibicIIbXppRVPkFTPvZ9a7G/ClsXjCUXHc/SeYBJ6JOYRLMCFKJV/6FV5 uCXpzWdEErW7zdSzBv9TuSOjlOhdW60sRoEkcjONulBuzCuB/g/da2EvG A==; X-IronPort-AV: E=McAfee;i="6600,9927,10661"; a="367910176" X-IronPort-AV: E=Sophos;i="5.98,293,1673942400"; d="scan'208";a="367910176" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2023 20:17:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10661"; a="747836736" X-IronPort-AV: E=Sophos;i="5.98,293,1673942400"; d="scan'208";a="747836736" Received: from xieyuanh-mobl.ccr.corp.intel.com ([10.238.0.208]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2023 20:17:19 -0700 From: "Yuanhao Xie" To: devel@edk2.groups.io Subject: [PATCH 0/2] Wake up APs by a single SIPI. Date: Mon, 27 Mar 2023 11:17:09 +0800 Message-Id: <20230327031711.1575-1-yuanhao.xie@intel.com> X-Mailer: git-send-email 2.39.1.windows.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After a power-up or reset, all application processors (APs) are in a state where they are waiting for sipi. In this state, the bootstrap processor (BSP) send a single SIPI Inter-Processor Interrupt (IPI) to all the APs. Yuanhao Xie (2): UefiCpuPkg: Add SendStartupIpiAllExcludingSelf UefiCpuPkg: After reset, wake up APs by SIPI. UefiCpuPkg/Include/Library/LocalApicLib.h | 17 +++++++- .../Library/BaseXApicLib/BaseXApicLib.c | 43 +++++++++++++------ .../BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 43 +++++++++++++------ UefiCpuPkg/Library/MpInitLib/MpLib.c | 9 +++- 4 files changed, 84 insertions(+), 28 deletions(-) -- 2.36.1.windows.1