feat(smccc): introduce TPM Start SMC
To support TPM start method compatible with pre-FFA configuration (to
support SPM_MM) introduce an SMC FID el3 vendor specific range. This
SMC is forwarded to SPM_MM module which converts into a MM_COMMUNICATE
to interact with Secure partition.
TPM Start method is mentioned in TCG ACPI spec section 3.3.1
https://trustedcomputinggroup.org/wp-content/uploads/TCG-ACPI-Specification-Version-1.4-Revision-15_pub.pdf
As this patch introduces a new sub service, increment minor version
of Vendor EL3 service.
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I61698018e6bc33c9b389ac905fe158810af21bfa
diff --git a/docs/components/ven-el3-service.rst b/docs/components/ven-el3-service.rst
index 8be1b39..3c35948 100644
--- a/docs/components/ven-el3-service.rst
+++ b/docs/components/ven-el3-service.rst
@@ -36,9 +36,13 @@
+-----------------------------------+ Compliance Suite) SMC | | 1 - 15 are reserved for future expansion. |
| 0xC7000030 - 0xC700003F (SMC64) | handler | |
+-----------------------------------+-----------------------+---------------------------------------------+
-| 0x87000040 - 0x8700FFFF (SMC32) | Reserved | | reserved for future expansion |
+| 0x87000040 - 0x8700004F (SMC32) | TPM Start method | | 0 is in use. |
++-----------------------------------+ | | 1 - 15 are reserved for future expansion. |
+| 0xC7000040 - 0xC700004F (SMC64) | | |
++-----------------------------------+-----------------------+---------------------------------------------+
+| 0x87000050 - 0x8700FFFF (SMC32) | Reserved | | reserved for future expansion |
+-----------------------------------+ | |
-| 0xC7000040 - 0xC700FFFF (SMC64) | | |
+| 0xC7000050 - 0xC700FFFF (SMC64) | | |
+-----------------------------------+-----------------------+---------------------------------------------+
Source definitions for vendor-specific EL3 Monitor Service Calls used by TF-A are located in
@@ -50,6 +54,8 @@
| 1 | 0 | Added Debugfs and PMF services.|
+----------------------------+----------------------------+--------------------------------+
| 1 | 1 | Added ACS SMC handler services.|
++------------------------------------------------------------------------------------------+
+| 1 | 2 | Added TPM Start method. |
+----------------------------+----------------------------+--------------------------------+
*Table 1: Showing different versions of Vendor-specific service and changes done with each version*
@@ -84,9 +90,15 @@
to their ACS EL3 code based on their respective use-cases.
For more details on System ACS, `System ACS`_.
+TPM Start method
+----------------
+
+TPM start method as mentioned in `TCG ACPI specification`_ section 3.3.1.
+
--------------
*Copyright (c) 2024-2025, Arm Limited and Contributors. All rights reserved.*
.. _System ACS: https://developer.arm.com/Architectures/Architectural%20Compliance%20Suite
.. _SMC Calling Convention: https://developer.arm.com/docs/den0028/latest
+.. _TCG ACPI specification: https://trustedcomputinggroup.org/wp-content/uploads/TCG-ACPI-Specification-Version-1.4-Revision-15_pub.pdf