From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "Gao, Liming" <liming.gao@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"Wang, Jian J" <jian.j.wang@intel.com>,
"Zhang, Chao B" <chao.b.zhang@intel.com>
Subject: Re: [Patch] SecurityPkg Tcg2Dxe: Add Variable Arch protocol dependency
Date: Wed, 16 Oct 2019 23:52:00 +0000 [thread overview]
Message-ID: <4B03EEAD-D998-4CBC-AF4B-554C6D1388BB@intel.com> (raw)
In-Reply-To: <1571269577-20416-1-git-send-email-liming.gao@intel.com>
reviewed-by: jiewen Yao <jiewen.yao@intel.com>
thank you!
Yao, Jiewen
> 在 2019年10月17日,上午7:47,Gao, Liming <liming.gao@intel.com> 写道:
>
> commit a7e2d20193e853020a1415c25b53280955055394 introduces the code to
> get PcdTpm2AcpiTableRev in the driver entry point. This PCD is designed as
> DynamicHii or DynamicHiiEx PCD. So, this PCD depends on Variable service.
> To make sure PcdTpm2AcpiTableRev value be got, add Variable service as Depex.
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Chao Zhang <chao.b.zhang@intel.com>
> Signed-off-by: Liming Gao <liming.gao@intel.com>
> ---
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> index c41c50a7a2..0127a31e97 100644
> --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> @@ -107,7 +107,11 @@
> gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableLasa ## PRODUCES
>
> [Depex]
> - TRUE
> + # According to PcdTpm2AcpiTableRev definition in SecurityPkg.dec
> + # This PCD should be configured at DynamicHii or DynamicHiiEx.
> + # So, this PCD read operation depends on GetVariable service.
> + # Add VariableArch protocol dependency to make sure PCD read works.
> + gEfiVariableArchProtocolGuid
>
> [UserExtensions.TianoCore."ExtraFiles"]
> Tcg2DxeExtra.uni
> --
> 2.13.0.windows.1
>
prev parent reply other threads:[~2019-10-16 23:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-16 23:46 [Patch] SecurityPkg Tcg2Dxe: Add Variable Arch protocol dependency Liming Gao
2019-10-16 23:52 ` Yao, Jiewen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B03EEAD-D998-4CBC-AF4B-554C6D1388BB@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox