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 DA62BAC0BAC for ; Tue, 19 Dec 2023 07:18:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9iWFY2PUZmz24Yc47SMAMFPdqxd6yPeznZLj0rAgCZ8=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Date:Message-Id:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe; s=20140610; t=1702970326; v=1; b=wiDccNHam9x7lzp542YUBc8SYmrVDEAHuWdu6lHpAVuRCayQKW+5HczCyS47BYmtZQlRaJ5V eSaSClGAoyYno6rFe+d7VyFCkqRktBaPSRvwjzfuMeQOO73oTeFmaAUfc0fecLOQ9fs3rxcx7A2 HAT7XSTQmnkNIOcjT4cK1WMQ= X-Received: by 127.0.0.2 with SMTP id E1X9YY7687511xMcr5LehC6P; Mon, 18 Dec 2023 23:18:46 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mx.groups.io with SMTP id smtpd.web10.7322.1702970325397750965 for ; Mon, 18 Dec 2023 23:18:45 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="2830899" X-IronPort-AV: E=Sophos;i="6.04,287,1695711600"; d="scan'208";a="2830899" X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 23:18:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="899262013" X-IronPort-AV: E=Sophos;i="6.04,287,1695711600"; d="scan'208";a="899262013" X-Received: from sh1gapp1009.ccr.corp.intel.com ([10.239.189.219]) by orsmga004.jf.intel.com with ESMTP; 18 Dec 2023 23:18:43 -0800 From: "Wu, Jiaxin" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH v5 0/8] Refine SMM CPU Sync flow and abstract SmmCpuSyncLib Date: Tue, 19 Dec 2023 15:18:31 +0800 Message-Id: <20231219071839.4248-1-jiaxin.wu@intel.com> Precedence: Bulk 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,jiaxin.wu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: fSgWcMytImMNPoDHCx0pu1G2x7686176AA= X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=wiDccNHa; 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 series patches are to refine SMM CPU Sync flow. After the refinement, SmmCpuSyncLib is abstracted for any user to provide different SMM CPU Sync implementation. Jiaxin Wu (8): UefiCpuPkg/PiSmmCpuDxeSmm: Optimize Semaphore Sync between BSP and AP UefiCpuPkg: Adds SmmCpuSyncLib library class MdePkg/MdeLibs.dsc.inc: Add SafeIntLib instance UefiCpuPkg: Implements SmmCpuSyncLib library instance OvmfPkg: Specifies SmmCpuSyncLib instance UefiPayloadPkg: Specifies SmmCpuSyncLib instance UefiCpuPkg/PiSmmCpuDxeSmm: Simplify RunningApCount decrement UefiCpuPkg/PiSmmCpuDxeSmm: Consume SmmCpuSyncLib MdePkg/MdeLibs.dsc.inc | 1 + OvmfPkg/CloudHv/CloudHvX64.dsc | 1 + OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + UefiCpuPkg/Include/Library/SmmCpuSyncLib.h | 290 +++++++++ UefiCpuPkg/Library/SmmCpuSyncLib/SmmCpuSyncLib.c | 652 +++++++++++++++++++++ UefiCpuPkg/Library/SmmCpuSyncLib/SmmCpuSyncLib.inf | 34 ++ UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 234 +++----- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 6 +- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 1 + UefiCpuPkg/UefiCpuPkg.dec | 3 + UefiCpuPkg/UefiCpuPkg.dsc | 2 + UefiPayloadPkg/UefiPayloadPkg.dsc | 1 + 14 files changed, 1057 insertions(+), 171 deletions(-) create mode 100644 UefiCpuPkg/Include/Library/SmmCpuSyncLib.h create mode 100644 UefiCpuPkg/Library/SmmCpuSyncLib/SmmCpuSyncLib.c create mode 100644 UefiCpuPkg/Library/SmmCpuSyncLib/SmmCpuSyncLib.inf -- 2.16.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112701): https://edk2.groups.io/g/devel/message/112701 Mute This Topic: https://groups.io/mt/103259032/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-