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 415F1740037 for ; Tue, 7 Nov 2023 11:00:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Y/x04h+ltgwCqU+FEJ3y+Y2PEtSlMCKevkyos0MFu0U=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1699354842; v=1; b=dbNUcFV3jelFaCrXtzsY7Y6u2iKwLDW+qOet0pGJE2mLnC7pEz6i3KCRWD2LcIjPlmsSpiEj jc9euc+ZV+yJm4jF1XFHCPjDtc5cRS9iL+vqB9cSjPMUo240lBuZe2d714xHcAFeI2aeU9Oz2g4 rJMVgGhjO5VlZxS2WneXuvUs= X-Received: by 127.0.0.2 with SMTP id 5sLNYY7687511xuij4w4SDeE; Tue, 07 Nov 2023 03:00:42 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.7883.1699354842228136383 for ; Tue, 07 Nov 2023 03:00:42 -0800 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-247-kw64b6aDPP6oxb_vWWwYbQ-1; Tue, 07 Nov 2023 06:00:38 -0500 X-MC-Unique: kw64b6aDPP6oxb_vWWwYbQ-1 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A280B3C1490E; Tue, 7 Nov 2023 11:00:37 +0000 (UTC) X-Received: from [10.39.193.64] (unknown [10.39.193.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 83B4940C6EBA; Tue, 7 Nov 2023 11:00:36 +0000 (UTC) Message-ID: <0f051739-5763-fa51-3bb0-d0ef4908eee8@redhat.com> Date: Tue, 7 Nov 2023 12:00:35 +0100 MIME-Version: 1.0 Subject: Re: [edk2-devel] [PATCH v1 7/7] UefiCpuPkg/PiSmmCpuDxeSmm: Consume SmmCpuSyncLib To: devel@edk2.groups.io, jiaxin.wu@intel.com Cc: Eric Dong , Ray Ni , Zeng Star , Gerd Hoffmann , Rahul Kumar References: <20231103153012.3704-1-jiaxin.wu@intel.com> <20231103153012.3704-8-jiaxin.wu@intel.com> From: "Laszlo Ersek" In-Reply-To: <20231103153012.3704-8-jiaxin.wu@intel.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.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,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: cmanaJqazxxPalKIhtMlMy9Ux7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=dbNUcFV3; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.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 On 11/3/23 16:30, Wu, Jiaxin wrote: > There is the SmmCpuSyncLib Library class define the SMM CPU sync > flow, which is aligned with existing SMM CPU driver sync behavior. > This patch is to consume SmmCpuSyncLib instance directly. >=20 > With this change, SMM CPU Sync flow/logic can be customized > with different implementation no matter for any purpose, e.g. > performance tuning, handle specific register, etc. >=20 > Change-Id: Id034de47b85743c125f0d76420947e0dd9e69518 > Cc: Eric Dong > Cc: Ray Ni > Cc: Zeng Star > Cc: Gerd Hoffmann > Cc: Rahul Kumar > Signed-off-by: Jiaxin Wu > --- > UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 256 +++++----------------= ------ > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 6 +- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 1 + > 3 files changed, 49 insertions(+), 214 deletions(-) I'll first review this in the v2 posting. Laszlo -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110841): https://edk2.groups.io/g/devel/message/110841 Mute This Topic: https://groups.io/mt/102366305/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-