* [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC
@ 2021-01-21 12:09 Nhi Pham
2021-01-22 4:49 ` 回复: " gaoliming
[not found] ` <165C749DE6BA3469.2801@groups.io>
0 siblings, 2 replies; 3+ messages in thread
From: Nhi Pham @ 2021-01-21 12:09 UTC (permalink / raw)
To: devel; +Cc: Nhi Pham, Michael D Kinney, Liming Gao, Zhiguang Liu
Add Start Method Specific Parameters for ARM SMC Start Method described
in the TCG ACPI Specification version 1.2, revision 8.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
---
MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
index 3ed6834cc9ce..946bc7dab77a 100644
--- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
+++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
@@ -2,6 +2,7 @@
TPM2 ACPI table definition.
Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved. <BR>
+Copyright (c) 2021, Ampere Computing LLC. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -48,6 +49,18 @@ typedef struct {
UINT64 Response;
} EFI_TPM2_ACPI_CONTROL_AREA;
+//
+// Start Method Specific Parameters for ARM SMC Start Method (11)
+// Refer to Table 9: Start Method Specific Parameters for ARM SMC
+//
+typedef struct {
+ UINT32 Interrupt;
+ UINT8 Flags;
+ UINT8 OperationFlags;
+ UINT8 Reserved[2];
+ UINT32 SmcFunctionId;
+} EFI_TPM2_ACPI_START_METHOD_SPECIFIC_PARAMETERS_ARM_SMC;
+
#pragma pack ()
#endif
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* 回复: [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC
2021-01-21 12:09 [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC Nhi Pham
@ 2021-01-22 4:49 ` gaoliming
[not found] ` <165C749DE6BA3469.2801@groups.io>
1 sibling, 0 replies; 3+ messages in thread
From: gaoliming @ 2021-01-22 4:49 UTC (permalink / raw)
To: 'Nhi Pham', devel
Cc: 'Michael D Kinney', 'Zhiguang Liu'
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
> -----邮件原件-----
> 发件人: Nhi Pham <nhi@os.amperecomputing.com>
> 发送时间: 2021年1月21日 20:09
> 收件人: devel@edk2.groups.io
> 抄送: Nhi Pham <nhi@os.amperecomputing.com>; Michael D Kinney
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>;
> Zhiguang Liu <zhiguang.liu@intel.com>
> 主题: [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific
> Parameters for ARM SMC
>
> Add Start Method Specific Parameters for ARM SMC Start Method described
> in the TCG ACPI Specification version 1.2, revision 8.
>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
> ---
> MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> index 3ed6834cc9ce..946bc7dab77a 100644
> --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> @@ -2,6 +2,7 @@
> TPM2 ACPI table definition.
>
> Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved. <BR>
> +Copyright (c) 2021, Ampere Computing LLC. All rights reserved. <BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
>
> **/
> @@ -48,6 +49,18 @@ typedef struct {
> UINT64 Response;
> } EFI_TPM2_ACPI_CONTROL_AREA;
>
> +//
> +// Start Method Specific Parameters for ARM SMC Start Method (11)
> +// Refer to Table 9: Start Method Specific Parameters for ARM SMC
> +//
> +typedef struct {
> + UINT32 Interrupt;
> + UINT8 Flags;
> + UINT8 OperationFlags;
> + UINT8 Reserved[2];
> + UINT32 SmcFunctionId;
> +} EFI_TPM2_ACPI_START_METHOD_SPECIFIC_PARAMETERS_ARM_SMC;
> +
> #pragma pack ()
>
> #endif
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <165C749DE6BA3469.2801@groups.io>]
* 回复: [edk2-devel] 回复: [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC
[not found] ` <165C749DE6BA3469.2801@groups.io>
@ 2021-01-26 1:26 ` gaoliming
0 siblings, 0 replies; 3+ messages in thread
From: gaoliming @ 2021-01-26 1:26 UTC (permalink / raw)
To: devel, gaoliming, 'Nhi Pham'
Cc: 'Michael D Kinney', 'Zhiguang Liu'
This patch has been merged by https://github.com/tianocore/edk2/pull/1388.
Thanks
Liming
> -----邮件原件-----
> 发件人: bounce+27952+70666+4905953+8761045@groups.io
> <bounce+27952+70666+4905953+8761045@groups.io> 代表 gaoliming
> 发送时间: 2021年1月22日 12:50
> 收件人: 'Nhi Pham' <nhi@os.amperecomputing.com>; devel@edk2.groups.io
> 抄送: 'Michael D Kinney' <michael.d.kinney@intel.com>; 'Zhiguang Liu'
> <zhiguang.liu@intel.com>
> 主题: [edk2-devel] 回复: [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start
> Method Specific Parameters for ARM SMC
>
> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
>
> > -----邮件原件-----
> > 发件人: Nhi Pham <nhi@os.amperecomputing.com>
> > 发送时间: 2021年1月21日 20:09
> > 收件人: devel@edk2.groups.io
> > 抄送: Nhi Pham <nhi@os.amperecomputing.com>; Michael D Kinney
> > <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>;
> > Zhiguang Liu <zhiguang.liu@intel.com>
> > 主题: [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific
> > Parameters for ARM SMC
> >
> > Add Start Method Specific Parameters for ARM SMC Start Method
> described
> > in the TCG ACPI Specification version 1.2, revision 8.
> >
> > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> > Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
> > ---
> > MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 13 +++++++++++++
> > 1 file changed, 13 insertions(+)
> >
> > diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> > b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> > index 3ed6834cc9ce..946bc7dab77a 100644
> > --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> > +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> > @@ -2,6 +2,7 @@
> > TPM2 ACPI table definition.
> >
> > Copyright (c) 2013 - 2019, Intel Corporation. All rights reserved. <BR>
> > +Copyright (c) 2021, Ampere Computing LLC. All rights reserved. <BR>
> > SPDX-License-Identifier: BSD-2-Clause-Patent
> >
> > **/
> > @@ -48,6 +49,18 @@ typedef struct {
> > UINT64 Response;
> > } EFI_TPM2_ACPI_CONTROL_AREA;
> >
> > +//
> > +// Start Method Specific Parameters for ARM SMC Start Method (11)
> > +// Refer to Table 9: Start Method Specific Parameters for ARM SMC
> > +//
> > +typedef struct {
> > + UINT32 Interrupt;
> > + UINT8 Flags;
> > + UINT8 OperationFlags;
> > + UINT8 Reserved[2];
> > + UINT32 SmcFunctionId;
> > +} EFI_TPM2_ACPI_START_METHOD_SPECIFIC_PARAMETERS_ARM_SMC;
> > +
> > #pragma pack ()
> >
> > #endif
> > --
> > 2.17.1
> >
>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-26 1:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-21 12:09 [PATCH 1/1] MdePkg/Tpm2Acpi.h: Add Start Method Specific Parameters for ARM SMC Nhi Pham
2021-01-22 4:49 ` 回复: " gaoliming
[not found] ` <165C749DE6BA3469.2801@groups.io>
2021-01-26 1:26 ` 回复: [edk2-devel] " gaoliming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox