From nobody Mon Feb 9 19:52:58 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+91080+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+91080+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1657078731; cv=none; d=zohomail.com; s=zohoarc; b=NRJk6e8BiDg2QHqzIKhDyKBMLFggmsR7uKDhPGlRMFCDeaU7dw064G6dukluOsp00xMewv98kgXI4a0XWxqakgbXxmeoWnabnrWkdh8VEh2CREE1I9qGn/mekF+NfQkyz25bsmgfHGzyPJupdosvor2yzvz+NZciuzDwNvp66bs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657078731; 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=VrrSL7qwNlPCFN8Vb8Tps50qocM0kJENOgegveA3DSc=; b=Bm7XfJr0BvRVNHYbQ3Tnw9IheASO+RVuQ8kboaZ9PxPl2ozCoJFPQ5uHK94BZQOdzM6ty4Yhrq8Wwnh1cCOlxfhLM/QIaVsPt3SiLM+trr14p8DYmpJ8PR5fZyTSIx4eHjWzqZ1WX1xyV16L1tukYM9IrfzLFtKn7K1K3iPPucE= 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+91080+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 1657078731408574.7117744501999; Tue, 5 Jul 2022 20:38:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ukBKYY1788612xVXUXU5a8AP; Tue, 05 Jul 2022 20:38:50 -0700 X-Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web12.2159.1657078729807317453 for ; Tue, 05 Jul 2022 20:38:49 -0700 X-Received: by mail-pj1-f48.google.com with SMTP id fz10so7931991pjb.2 for ; Tue, 05 Jul 2022 20:38:49 -0700 (PDT) X-Gm-Message-State: t1utqZubfl2pwXh8L9zGUUX6x1787277AA= X-Google-Smtp-Source: AGRyM1toYVwAIb3gFLYt9ugqmU1qx448W1qBxL9PCxNO5gcEDSW6sVZhnSkgqZgDnbivKPH6Jswg7Q== X-Received: by 2002:a17:90b:4a0c:b0:1ec:d90c:601d with SMTP id kk12-20020a17090b4a0c00b001ecd90c601dmr46442784pjb.154.1657078729213; Tue, 05 Jul 2022 20:38:49 -0700 (PDT) X-Received: from localhost.localdomain ([192.182.149.255]) by smtp.gmail.com with ESMTPSA id a140-20020a621a92000000b005289fbef7c4sm864251pfa.140.2022.07.05.20.38.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 20:38:49 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Qi Zhang , Rahul Kumar Subject: [edk2-devel] [edk2-staging][PATCH v1 5/7] SecurityPkg: TcgDxe: Replace PcdStatusCodeSubClassTpmDevice Date: Tue, 5 Jul 2022 20:38:16 -0700 Message-Id: <20220706033818.1493-6-kuqin12@gmail.com> In-Reply-To: <20220706033818.1493-1-kuqin12@gmail.com> References: <20220706033818.1493-1-kuqin12@gmail.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,kuqin12@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1657078730; bh=j1c7ob/dmvOMFSxo7O8IbZtQ+hAOhsazUT2XOjtH/mI=; h=Cc:Date:From:Reply-To:Subject:To; b=XCu6SmLlFemUw9CC0uXYjiRzS37/YP2gY660MT12SHQMVv9bPCoxc1sZBKIj6x3H9AW 9BM/zEcQ8OrzhZhQEIOyTqYI1sXwW1712bejn4gir3smQOKi0xXP8MdccQHxPbnToJelI iPtvatcWYyIPCNjOjVLY5WfFN37cbU6WFYY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1657078732365100021 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3966 This change replaces the references of PcdStatusCodeSubClassTpmDevice with newly defined EFI_PERIPHERAL_TPM. Cc: Jiewen Yao Cc: Jian J Wang Cc: Qi Zhang Cc: Rahul Kumar Signed-off-by: Kun Qin --- SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +- SecurityPkg/Tcg/TcgDxe/TcgDxe.inf | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDx= e.c index ee6c6273033b..779125b1beb4 100644 --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c @@ -593,7 +593,7 @@ TcgDxeHashLogExtendEventI ( TcgData->BsCap.TPMPresentFlag =3D FALSE; REPORT_STATUS_CODE ( EFI_ERROR_CODE | EFI_ERROR_MINOR, - (PcdGet32 (PcdStatusCodeSubClassTpmDevice) | EFI_P_EC_INTERFACE_ERRO= R) + (BZ3966_EFI_PERIPHERAL_TPM | EFI_P_EC_INTERFACE_ERROR) ); Status =3D EFI_DEVICE_ERROR; } diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.inf b/SecurityPkg/Tcg/TcgDxe/Tcg= Dxe.inf index c93b377b34ff..be0f4a64958c 100644 --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.inf +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.inf @@ -70,7 +70,6 @@ [Pcd] gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETI= MES_CONSUMES gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETI= MES_CONSUMES gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETI= MES_CONSUMES - gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETI= MES_CONSUMES gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUM= ES =20 [Depex] --=20 2.35.1.windows.2 -=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 (#91080): https://edk2.groups.io/g/devel/message/91080 Mute This Topic: https://groups.io/mt/92200217/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-