[edk2-devel] [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled

Qi Zhang posted 1 patch 2 years, 9 months ago
Failed in applying to current master (apply log)
.../IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf    | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[edk2-devel] [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled
Posted by Qi Zhang 2 years, 9 months ago
add gEfiTcg2ProtocolGuid to Depex

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3472

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
---
 .../IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
index b51b843bb5..076c49a4b0 100644
--- a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
+++ b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
@@ -41,4 +41,5 @@
   gEdkiiDeviceIdentifierTypePciGuid       ## COMSUMES
 
 [Depex]
-  gEdkiiDeviceSecurityPolicyProtocolGuid
+  gEdkiiDeviceSecurityPolicyProtocolGuid AND
+  gEfiTcg2ProtocolGuid
-- 
2.26.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#77397): https://edk2.groups.io/g/devel/message/77397
Mute This Topic: https://groups.io/mt/83910638/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled
Posted by Chaganty, Rangasai V 2 years, 9 months ago
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>     

-----Original Message-----
From: Zhang, Qi1 <qi1.zhang@intel.com> 
Sent: Wednesday, June 30, 2021 11:23 PM
To: devel@edk2.groups.io
Cc: Zhang, Qi1 <qi1.zhang@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Ni, Ray <ray.ni@intel.com>; Chaganty, Rangasai V <rangasai.v.chaganty@intel.com>
Subject: [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled

add gEfiTcg2ProtocolGuid to Depex

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3472

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
---
 .../IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
index b51b843bb5..076c49a4b0 100644
--- a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
+++ b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
@@ -41,4 +41,5 @@
   gEdkiiDeviceIdentifierTypePciGuid       ## COMSUMES

 

 [Depex]

-  gEdkiiDeviceSecurityPolicyProtocolGuid

+  gEdkiiDeviceSecurityPolicyProtocolGuid AND

+  gEfiTcg2ProtocolGuid

-- 
2.26.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#77561): https://edk2.groups.io/g/devel/message/77561
Mute This Topic: https://groups.io/mt/83910638/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled
Posted by Michael D Kinney 2 years, 9 months ago
Pushed:

https://github.com/tianocore/edk2-platforms/commit/31a4bb942aefd90b465953be772ee7b41a9dd279

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chaganty, Rangasai V
> Sent: Wednesday, July 7, 2021 11:40 AM
> To: Zhang, Qi1 <qi1.zhang@intel.com>; devel@edk2.groups.io
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Ni, Ray <ray.ni@intel.com>
> Subject: Re: [edk2-devel] [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled
> 
> Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
> 
> -----Original Message-----
> From: Zhang, Qi1 <qi1.zhang@intel.com>
> Sent: Wednesday, June 30, 2021 11:23 PM
> To: devel@edk2.groups.io
> Cc: Zhang, Qi1 <qi1.zhang@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Ni, Ray <ray.ni@intel.com>; Chaganty, Rangasai V
> <rangasai.v.chaganty@intel.com>
> Subject: [PATCH] IntelSiliconPkg/PcieSecurity: don't measure the device when TPM disabled
> 
> add gEfiTcg2ProtocolGuid to Depex
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3472
> 
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
> Cc: Qi Zhang <qi1.zhang@intel.com>
> Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
> ---
>  .../IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf    | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
> b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
> index b51b843bb5..076c49a4b0 100644
> --- a/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
> +++ b/Silicon/Intel/IntelSiliconPkg/Feature/PcieSecurity/IntelPciDeviceSecurityDxe/IntelPciDeviceSecurityDxe.inf
> @@ -41,4 +41,5 @@
>    gEdkiiDeviceIdentifierTypePciGuid       ## COMSUMES
> 
> 
> 
>  [Depex]
> 
> -  gEdkiiDeviceSecurityPolicyProtocolGuid
> 
> +  gEdkiiDeviceSecurityPolicyProtocolGuid AND
> 
> +  gEfiTcg2ProtocolGuid
> 
> --
> 2.26.2.windows.1
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#77564): https://edk2.groups.io/g/devel/message/77564
Mute This Topic: https://groups.io/mt/83910638/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-