commit | d6c055dd5283b4e394b3ea7434f35522fb25fab8 | [log] [tgz] |
---|---|---|
author | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | Thu May 08 15:35:46 2025 -0500 |
committer | Joao Alves <joao.alves@arm.com> | Thu Sep 11 16:43:32 2025 +0000 |
tree | 3f9a34d1f9fcd5d612e09857202f17e636a9b5ae | |
parent | 4b544f6ebb5d617dffcc9c3f637aa078bf3f857a [diff] |
feat: add support for newly added lifecycle states of a vCPU Please refer to section 7 of the FF-A v1.3 ALP2 specification for details of newly added lifecycle states. The changes in this patch help partition manager to support the use case of managing lifecycle of a secure partition from its creation to deletion. Change-Id: I78d52b33e0eb3a7ea93dd65e85dbc37fcaa384a9 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Hafnium is the Secure Partition Manager(SPM) reference implementation, following the Arm's Firmware Framework specification.
It leverages Arm's virtualization extensions in the secure world of Arm's A class of devices (feature introduced with Armv8.4 FEAT_SEL2) to allow multiple Trusted OSes or Applications to run concurrently, inside the Trusted Execution Environment, each running as a Secure Partition (SP). Its main goal is to control the system access given to Trusted OSes, and serve as a mediator to the rest of the system.
For example, it limits the memory use, and handles all system calls from Trusted OS. Thus the SPM can enforce spacial isolation, and enforce some level of access control, protecting other critical system resources such as: the secure monitor, the normal world software stack, the SPM itself and other SPs/Trusted Applications. Other important features are: secure interrupt handling, device assignment, inter-partition communication and with the Normal World Software stack, also known as Rich Execution Environment (REE).
The following diagram shows an overview of a typical aarch64-based system, and where Hafnium fits:
Get in touch and keep up-to-date at:
See feature requests and bugs through github.
To find more about Hafnium, view the full documentation. It includes valuable resources such as: Getting Started guide, Threat Model, and other documentation.