From: "Long, Qin" <qin.long@intel.com>
To: "Zhang, Chao B" <chao.b.zhang@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH] SecurityPkg: TcgPei: Sync TCG PP lifetime lock state
Date: Fri, 6 Jan 2017 01:51:48 +0000 [thread overview]
Message-ID: <BF2CCE9263284D428840004653A28B6E53F522DC@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20170106013327.21552-1-chao.b.zhang@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>
> -----Original Message-----
> From: Zhang, Chao B
> Sent: Friday, January 06, 2017 9:33 AM
> To: edk2-devel@lists.01.org
> Cc: Long, Qin; Zhang, Chao B
> Subject: [PATCH] SecurityPkg: TcgPei: Sync TCG PP lifetime lock state
>
> Sync TCG lifetime lock state after performing PP command.
> Later logic checks such state.
>
> Cc: Long Qin <qin.long@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
> ---
> SecurityPkg/Tcg/TcgPei/TcgPei.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/SecurityPkg/Tcg/TcgPei/TcgPei.c
> b/SecurityPkg/Tcg/TcgPei/TcgPei.c index 25724a6..63807f4 100644
> --- a/SecurityPkg/Tcg/TcgPei/TcgPei.c
> +++ b/SecurityPkg/Tcg/TcgPei/TcgPei.c
> @@ -1,7 +1,7 @@
> /** @file
> Initialize TPM device and measure FVs before handing off control to DXE.
>
> -Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR>
> This program and the accompanying materials are licensed and made
> available under the terms and conditions of the BSD License which
> accompanies this distribution. The full text of the license may be found at
> @@ -591,6 +591,7 @@ PhysicalPresencePpiNotifyCallback (
> // Lock TPM LifetimeLock is required, and LifetimeLock is not locked yet.
> //
> PhysicalPresenceValue = TPM_PHYSICAL_PRESENCE_LIFETIME_LOCK;
> + TpmPermanentFlags.physicalPresenceLifetimeLock = TRUE;
>
> if (PcdGetBool (PcdPhysicalPresenceCmdEnable)) {
> PhysicalPresenceValue |= TPM_PHYSICAL_PRESENCE_CMD_ENABLE;
> --
> 1.9.5.msysgit.1
prev parent reply other threads:[~2017-01-06 1:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 1:33 [PATCH] SecurityPkg: TcgPei: Sync TCG PP lifetime lock state Zhang, Chao B
2017-01-06 1:51 ` Long, Qin [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=BF2CCE9263284D428840004653A28B6E53F522DC@SHSMSX103.ccr.corp.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