From nobody Sun Feb 8 17:48:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78741+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78741+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1628181515; cv=none; d=zohomail.com; s=zohoarc; b=hxOFUV2muZiLiAELjtXSaEtRYxB246RX3IspPqt0+KhqNoNg7CpY3HPA4GeEJ08U0YvlrF63tGiZHGtJHpZMXDMmbGQgdqydZvJVWVyrIRAIPjrR3L8MMluLZrzmsEvhSlenCqCoDwakr0/M6tB1j5WMJuCN/RTkHaKTsjvaqDM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628181515; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=zPQAFNDpHNnGFQSeSTiMc7HMoPyzPO+B2iksrPvYg18=; b=NdLiCy68j4FdMyZX2Cv8VBk8Xq5WaNIKUoaeM3izefn8kg0f0IWtoCyTBiw1NSWgBidRSj4YJEDgnYeZkbDoS2nOEOtvtXep6mr4Cp6vDPV7liftb7v6v2WjBHGPKmppIRGGDLH31latConEAg8VI9UtvHHizA/jM1Vy5KZiOwQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78741+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628181515418792.4474193977325; Thu, 5 Aug 2021 09:38:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id hThEYY1788612xXAypKQqbQc; Thu, 05 Aug 2021 09:38:35 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.11458.1628181514355873412 for ; Thu, 05 Aug 2021 09:38:34 -0700 X-Received: from localhost.localdomain (unknown [167.220.2.74]) by linux.microsoft.com (Postfix) with ESMTPSA id E9387209F5D4; Thu, 5 Aug 2021 09:38:33 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E9387209F5D4 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1 1/4] MinPlatformPkg/AcpiPlatform: Use PCD for WSMT OEM revision Date: Thu, 5 Aug 2021 12:38:13 -0400 Message-Id: <20210805163816.2757-2-mikuback@linux.microsoft.com> In-Reply-To: <20210805163816.2757-1-mikuback@linux.microsoft.com> References: <20210805163816.2757-1-mikuback@linux.microsoft.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,mikuback@linux.microsoft.com X-Gm-Message-State: 1qI1IHcs2HwuxOtaOYvvDuHSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628181515; bh=PdWvFbRqcVtAUHjgbxovfg9lobmJ5a6jEv7RHMvxxRQ=; h=Cc:Date:From:Reply-To:Subject:To; b=WI0p61ZeHjmsfLgQy89Rax6mg4CnV2SsKfzxn7PVJDOLc+jMj1F7fyi07r9TyiV2TDV U14PcS1sTUAdQlvaWl3Vpj0K+spOJ3pxYvTZ04n3qYPktZjWQiMpYdi5kBUQ1T7XiqOWy LyDSe2jPpjD1bIxy0BaSfOB7LELdWYw4aO4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628181516195100005 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3532 Updates the table to use the standard MdeModulePkg PCD PcdAcpiDefaultOemRevision to set the OEM revision in WSMT. This allows board packages to easily configure the OEM revision value. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki --- Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Wsmt/Wsmt.c | 4 +--- Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Wsmt/Wsmt.c b/Pl= atform/Intel/MinPlatformPkg/Acpi/AcpiTables/Wsmt/Wsmt.c index 6880f47fa6a0..1c60ed28a1c4 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Wsmt/Wsmt.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/Wsmt/Wsmt.c @@ -18,8 +18,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // WSMT Definitions // =20 -#define EFI_ACPI_OEM_WSMT_REVISION 0x00000001 - EFI_ACPI_WSMT_TABLE Wsmt =3D { { EFI_ACPI_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE, @@ -37,7 +35,7 @@ EFI_ACPI_WSMT_TABLE Wsmt =3D { { ' ', ' ', ' ', ' ', ' ', ' ' }, =20 0, - EFI_ACPI_OEM_WSMT_REVISION, + FixedPcdGet32 (PcdAcpiDefaultOemRevision), 0, 0 }, diff --git a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf= b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf index 5d9c8cab50d5..7c5173b16d7f 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf +++ b/Platform/Intel/MinPlatformPkg/Acpi/AcpiTables/AcpiPlatform.inf @@ -47,6 +47,7 @@ [LibraryClasses] [Pcd] gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision =20 --=20 2.28.0.windows.1 -=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 (#78741): https://edk2.groups.io/g/devel/message/78741 Mute This Topic: https://groups.io/mt/84688761/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-