| commit | 486ffdce7223f836ce7ee86f484b267a15dd1cdb | [log] [tgz] |
|---|---|---|
| author | Kathleen Capella <kathleen.capella@arm.com> | Tue Aug 20 12:50:23 2024 -0400 |
| committer | Kathleen Capella <kathleen.capella@arm.com> | Mon Sep 16 11:56:56 2024 -0400 |
| tree | 3f98e297c6f73f6a94d94e572325180aec63bb2f | |
| parent | 337dbdfa04ee96084d3826f0157d4ae1e53ee8bb [diff] |
test(ff-a): FFA_MSG_WAIT multicore RX buffer test Add a test case in which multiple SP vcpus potentially interact with the SP's RX buffer. The test follows the following steps: * Send an indirect message to the SP with a constant value. * Use the FFA_MSG_WAIT ABI with the retain RX buffer flag in one SP vcpu. RX buffer should be retained by the SP. * The other vcpu attempts to read the RX buffer after the FFA_MSG_WAIT call. It should succeed and see the same constant value that was sent. Signed-off-by: Kathleen Capella <kathleen.capella@arm.com> Change-Id: Ieb49ec9062c9e6e0bff85be55e27300ef6f7aed8
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.