From: "Stefan Berger" <stefanb@linux.ibm.com>
To: devel@edk2.groups.io, sami.mujawar@arm.com
Cc: marcandre.lureau@redhat.com, kraxel@redhat.com,
jiewen.yao@intel.com, ardb+tianocore@kernel.org,
leif@nuviainc.com, Stefan Berger <stefanb@linux.vnet.ibm.com>
Subject: Re: [edk2-devel] [RFC PATCH 1/3] ArmVirtPkg/TPM: Add a NULL implementation of TpmPlatformHierarchyLib
Date: Sat, 18 Sep 2021 07:57:46 -0400 [thread overview]
Message-ID: <cf70cbb1-902b-4488-ec6e-5daca773adce@linux.ibm.com> (raw)
In-Reply-To: <a7e64e7f-24b2-7092-7ac3-9f17b4559144@arm.com>
On 9/18/21 4:48 AM, Sami Mujawar wrote:
> Hi Stefan,
>
> Thank you for this patch.
>
> I have a few minor comments marked inline as [SAMI].
>
> Regards,
>
> Sami Mujawar
>
>
> On 16/09/2021 10:17 PM, Stefan Berger wrote:
>> From: Stefan Berger <stefanb@linux.vnet.ibm.com>
>>
>> Add a NULL implementation of the library class TpmPlatformHierarchyLib.
> [SAMI] Is it possible to add a link to the bugzilla
> (https://bugzilla.tianocore.org/show_bug.cgi?id=3510), please?
> Also, would it be possible to place 'PeiDxeTpmPlatformHierarchyLibNull'
> in SecurityPkg (i.e. if this library can be useful for other
> architectures).
Yes. I didn't put it there because it was 'specialized' for ARM, but I
don't mind moving it there on next round.
>> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
>> Cc: Leif Lindholm <leif@nuviainc.com>
>> Cc: Sami Mujawar <sami.mujawar@arm.com>
>> Cc: Gerd Hoffmann <kraxel@redhat.com>
>> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
>> ---
>> ArmVirtPkg/ArmVirtPkg.dec | 1 +
>> .../Include/Library/TpmPlatformHierarchyLib.h | 27 +++++++++++++++++
>> .../PeiDxeTpmPlatformHierarchyLib.c | 22 ++++++++++++++
>> .../PeiDxeTpmPlatformHierarchyLib.inf | 30 +++++++++++++++++++
>> 4 files changed, 80 insertions(+)
>> create mode 100644
>> ArmVirtPkg/Include/Library/TpmPlatformHierarchyLib.h
>> create mode 100644
>> ArmVirtPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.c
>> create mode 100644
>> ArmVirtPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
>>
>> diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec
>> index 4e4d758015..f3bdca118b 100644
>> --- a/ArmVirtPkg/ArmVirtPkg.dec
>> +++ b/ArmVirtPkg/ArmVirtPkg.dec
>> @@ -27,6 +27,7 @@
>>
>>
>> [LibraryClasses]
>>
>> ArmVirtMemInfoLib|Include/Library/ArmVirtMemInfoLib.h
>>
>> + TpmPlatformHierarchyLib|Include/Library/TpmPlatformHierarchyLib.h
> [SAMI] The file 'ArmVirtPkg/Include/Library/TpmPlatformHierarchyLib.h'
> appears to be a copy of the header file
> SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h. Is this needed
> here or we could reference the one from SecurityPkg?
I added it since one of the test builds complaint about a missing header
file. This silenced it. If we move the NULL implementation to
SecruityPkg, then we won't need this anymore.
next prev parent reply other threads:[~2021-09-18 11:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 21:17 [RFC PATCH 0/3] ArmVirtPkg: Disable the TPM 2 platform hierarchy Stefan Berger
2021-09-16 21:17 ` [RFC PATCH 1/3] ArmVirtPkg/TPM: Add a NULL implementation of TpmPlatformHierarchyLib Stefan Berger
2021-09-18 7:55 ` [edk2-devel] " Ard Biesheuvel
2021-09-18 11:53 ` Stefan Berger
2021-09-22 11:39 ` Ard Biesheuvel
2021-09-22 16:29 ` Stefan Berger
2021-09-18 8:48 ` Sami Mujawar
2021-09-18 11:57 ` Stefan Berger [this message]
2021-09-16 21:17 ` [RFC PATCH 2/3] ArmVirtPkg: Reference new TPM classes in the build system for compilation Stefan Berger
2021-09-18 8:49 ` Sami Mujawar
2021-09-18 11:59 ` [edk2-devel] " Stefan Berger
2021-09-16 21:17 ` [RFC PATCH 3/3] ArmVirtPkg: Disable the TPM2 platform hierarchy Stefan Berger
2021-09-18 8:51 ` Sami Mujawar
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=cf70cbb1-902b-4488-ec6e-5daca773adce@linux.ibm.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