Hi TF-RMM maintainers,
Realm PMU support was available with RMM v1.0, but commit 476d5f719405
temporarily disabled it during the transition to RMM v2.0. Since v2.0
changes how PMU overflows are handled, I assume restoring support will
require more than re-enabling the existing code.
Is there a roadmap or any ongoing work for Realm PMU support in TF-RMM?
I'm planning to work on the Linux/KVM side to support PMU and would be
happy to help on the RMM side as well, whether with development or
validation.
Thanks,
Kohei
Hi all,
We are adding support for FEAT_BBML2 to the RTT CREATE and FOLD operations,
currently maintaining separate CPU paths for FEAT_BBML0/1 and FEAT_BBML2 or later.
Because device assignment (DA) requires the SMMU to support BBML2,
we expect DA-capable platforms to provide CPU BBML2 support as well.
Retaining both CPU paths adds implementation complexity and increases the associated maintenance and testing burden.
We therefore propose making CPU FEAT_BBML2 a mandatory requirement for TF-RMM and removing the BBML0/1 path.
With this change, RMM would fail to boot on CPUs that do not implement BBML2, including on platforms that do not use DA.
Would there be any concerns with adopting this requirement?
Please let us know if you have a platform or use case that still requires CPU BBML0/1 support.
Patch- https://review.trustedfirmware.org/c/TF-RMM/tf-rmm/+/57372
Regards,
Shruti Gupta
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi,
We are pleased to announce the formal release of Trusted Firmware-A version 2.16.0 bundle of project deliverables.
This includes Trusted Firmware-A, Trusted Firmware-A Tests, TF-RMM, Hafnium, and TF-A OpenCI scripts/jobs components.
These went live on Nov, 27th 2026.
Many thanks to the trustedfirmware.org community for the active engagement in delivering this release!
Notable features of the Version 2.16.0 release are as follows:
TF-A
New features
- Architecture and CPU support: Centralized architectural feature detection; added SRMASK, TRBE exceptions, SPE extensions, ANERR/ADERR, and experimental EL3 branch recording. Added Cortex-X1C, Cortex-A520AE and Venom AE support.
- EL3 runtime: Added BL31 live firmware activation, synchronous external-abort injection, recoverable granule-protection-fault handling, and a framework for implementation-defined CPU traps.
- Firmware services: Added PFDI fault-detection services, Errata Management ABI v1.1, and FF-A v1.3 version-query and notification forwarding.
- Realm support: Extended FIRME with platform attestation, MECID management, and synchronous/asynchronous IDE key management. Live activation now respects RMM policy.
- Trusted boot: Added AES-256-CCM image encryption/decryption, PSA X.509 parsing, non-blocking attestation operations, and SHA-384 TPM support.
- Storage and tooling: Added HyperFlash and octal-DTR support, storage erase operations, and automated CPU errata discovery and workaround generation.
Third-party libraries (TF-A submodules)
-Mbed TLS: Updated from 3.6.6 to 3.6.7, including security fixes.
-LibEventLog: Updated the library; TF-A now calculates event-log buffer sizes.
-LibTL: Added an FDT overlay tag.
-LibTPM: Added SHA-384 PCR operations, TPM capability queries and PCR allocation.
Platform changes
- New platforms: Arm BaseV2 and TC5; Altera Agilex 3 and Agilex72; NXP i.MX952 and Nodebox v3; Qualcomm Shikra EVK, Arduino UNO Q and VENTUNO Q; TI AM62L3 BeagleBadge; Allwinner A133; Rockchip RV1126B; and Engicam MicroGEA-STM32MP257D-RMM.
- Arm models and reference designs: Added BaseV2 flash-image packaging, FVP live activation and FIRME integration, RD-Aspen fault-detection support, and FPGA MMU/feature enablement.
- Qualcomm: Expanded native clock, power, CPUCP, access-control and diagnostic drivers, enabling Lemans EVK and RB3 Gen 2 boot without QTISECLIB.
- STMicroelectronics: Expanded STM32MP2 trusted boot, image encryption and NAND/SPI/HyperFlash boot support. Added direct Linux boot, metadata GUID selection, NVMEM-backed backup registers and firmware-update improvements.
- NXP: Added i.MX93 M33 lifecycle and system-sleep support, OP-TEE support for i.MX94/i.MX952, S32G SCMI clock services, and LX2160 boot/storage improvements.
- AMD/Xilinx: Expanded dynamic and non-secure transfer-list handoffs, including Versal Premium Gen 2; corrected SoC identification, suspend/resume and handoff validation.
- QEMU and Raspberry Pi: Added QEMU FIP loading through fw_cfg, suspend support and richer RMM manifests; added Raspberry Pi 4 staged boot with transfer lists, SPMD and measured boot.
- Other platforms: Improved TI AM62L multicore/power management, MediaTek memory protection and context handling, Rockchip suspend/security behavior, and Renesas interrupt handling.
- Retirements: Removed TC3, SPM_MM and NS_TIMER_SWITCH; deprecated Broadcom Stingray and fvp_ve.
Detailed change logs
https://tf-a.docs.trustedfirmware.org/en/v2.16.0/change-log.html#id1https://tf-a-tftf.docs.trustedfirmware.org/en/v2.16.0/change-log.html#versi…
TF-RMM
- RMM 2.0 ABI updates: Update device assignment interfaces through Beta 3, including PDEV stream operations, VDEV initialization, freshness tracking, measurements, range validation, and per-Realm VDEV limits.
- Dynamic granule tracking: Add configurable 2 MiB and 1 GiB tracking regions, fine/coarse tracking, and dynamic metadata donation and reclamation. Support resumable range delegation, undelegation, sanitization, and rollback.
- Range-based memory operations: Extend protected, unprotected, and device RTT map/unmap operations with range processing, partial progress, and resumable operations where applicable.
- Lifecycle and CPU management: Add Realm termination, RMM state queries and deactivation/reconfiguration. Remove sequential REC MPIDR restrictions and handle PSCI affinity queries within RMM.
- Attestation and live firmware activation: Add SHA-384 and the Realm Instance ID token claim; update token formatting and RIM inputs. Support Realm LFA policy and restart attestation transparently after activation.
- Memory and architecture support: Add virtual-address reservation and commit/reclaim APIs, per-CPU memory regions, automatic LPA2 selection, PAN3 support, and stronger EL2 BTI protection.
- Additional interfaces: Add PDEV stream and PSMMU information interfaces, plus initial GPT-management and architectural-device ABI stubs; these do not imply complete implementation.
Detailed change log https://tf-rmm.readthedocs.io/en/tf-rmm-v0.10.0/about/change-log.html#v0-10…
Hafnium
- FF-A v1.3 notifications: Add BIND2, UNBIND2, SET2, and GET2, supporting up to 384 notification IDs per VM/SP category, selective retrieval, capability discovery, and per-endpoint allocation limits.
- FF-A version negotiation: Add compatible-version and current-version queries, with framework-use and outstanding-invocation tracking.
- Larger mailboxes: Support configurable 4–16 KiB RX/TX buffers and memory-send fragments sized to the sender’s mailbox. Legacy FF-A v1.0 and hypervisor–SPMC forwarding retain one-page fragment limits.
- Memory mapping: Add non-identity mappings across page-table and VM APIs. Allow RWX normal-memory regions for S-EL1 partitions.
Detailed change log https://hafnium.readthedocs.io/en/v2.16.0/change-log.html#id1
Release tags
https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/…https://review.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/t…https://review.trustedfirmware.org/plugins/gitiles/hafnium/hafnium/+/refs/t…https://review.trustedfirmware.org/plugins/gitiles/TF-RMM/tf-rmm/+/refs/tag…https://review.trustedfirmware.org/plugins/gitiles/ci/tf-a-ci-scripts/+/ref…
Regards,
Olivier.
Hi Everyone
We are progressing Large RMI Granule Support in TF-RMM, with the goal of supporting 4 KB, 16 KB and 64 KB host granule sizes alongside Realms using 4 KB, 16 KB or 64 KB granules. Currently, assumptions around the 4 KB granule size are pervasive throughout TF-RMM. Decoupling these assumptions is a significant undertaking involving several technical challenges and design considerations.
The work is organised into several workstreams covering configuration, memory management, S2 translation tables, SMMU support, TFTF testing and Linux validation. The overall design and planned workstreams are available through the following GitHub parent issue, which links to individual sub-issues with further details:
https://github.com/TF-RMM/tf-rmm/issues/59
I hope to be presenting aspects of the design and planned work at the upcoming TF-A Tech Forum on Thursday. We welcome feedback on the proposed design, particularly from partners and the wider community, as well as input and contributions towards testing and validation.
Best Regards
Soby Mathew
Hi, On Thursday Nov 26th at 4.00pm (UK time) Soby Mathew will present the
topic of TF-RMM large granule support with the agenda: "This session
presents the proposed design for supporting 4 KB, 16 KB and 64 KB RMI
granule sizes in TF-RMM. It will cover key design considerations and
planned workstreams across memory management, translation tables, SMMU
support and testing. The session aims to gather feedback from partners and
the wider community on the proposed design, testing and validation
strategy." Regards, Olivier.
TF-A Tech Forum
Thursday Nov 26, 2026 ⋅ 5pm – 6pm
Central European Time - Paris
Location
https://linaro-org.zoom.us/j/93557863987?pwd=56a1l8cBnetDTZ6eazHGaE1Ctk4W34…https://www.google.com/url?q=https%3A%2F%2Flinaro-org.zoom.us%2Fj%2F9355786…
Trusted Firmware is inviting you to a scheduled Zoom meeting.
Topic: TF-A Tech Forum
Time: May 15, 2025 02:00 PM London
Every 2 weeks on Thu, 78 occurrence(s)
Please download and import the following iCalendar (.ics) files to your
calendar system.
Weekly:
https://linaro-org.zoom.us/meeting/tJcocu6gqDgjEtOkyBhSQauR1sUyFwIcNKLa/ics…
Join Zoom Meeting
https://linaro-org.zoom.us/j/93557863987?pwd=56a1l8cBnetDTZ6eazHGaE1Ctk4W34…
Meeting ID: 935 5786 3987
Passcode: 939141
---
One tap mobile
+12532158782,,93557863987# US (Tacoma)
+13017158592,,93557863987# US (Washington DC)
---
Dial by your location
• +1 253 215 8782 US (Tacoma)
• +1 301 715 8592 US (Washington DC)
• +1 305 224 1968 US
• +1 309 205 3325 US
• +1 312 626 6799 US (Chicago)
• +1 346 248 7799 US (Houston)
• +1 360 209 5623 US
• +1 386 347 5053 US
• +1 507 473 4847 US
• +1 564 217 2000 US
• +1 646 558 8656 US (New York)
• +1 646 931 3860 US
• +1 669 444 9171 US
• +1 669 900 9128 US (San Jose)
• +1 689 278 1000 US
• +1 719 359 4580 US
• +1 253 205 0468 US
• 833 548 0276 US Toll-free
• 833 548 0282 US Toll-free
• 833 928 4608 US Toll-free
• 833 928 4609 US Toll-free
• 833 928 4610 US Toll-free
• 877 853 5247 US Toll-free
• 888 788 0099 US Toll-free
Meeting ID: 935 5786 3987
Find your local number: https://linaro-org.zoom.us/u/adoz9mILli
Guests
d82620130(a)gmail.com
namyoon(a)google.com
shaikadnanafrid(a)gmail.com
tf-a(a)lists.trustedfirmware.org
Hello,
I would like to clarify the intended REM extend behavior, as DEN0137
2.0-bet3 and TF-RMM appear to differ.
Section B3.122, RemExtend, defines the hash input as a fixed 1024-bit
value:
old_REM[64 bytes] ||
new_value[0:size] ||
zero_padding[0:64-size]
However, TF-RMM’s app_do_extend() appears to calculate:
old_REM[0:hash_size] || new_value[0:size]
where hash_size is 32, 48, or 64 bytes for SHA-256, SHA-384, or SHA-512.
Thus, except when using SHA-512 with size == 64, the hash inputs differ.
The TF-RMM behavior seems closer to the conventional Hash(old
measurement || new contribution) construction used by measurement
registers such as TPM PCRs and Intel TDX RTMRs.
Could you clarify which behavior is intended?
- Is the fixed 1024-bit construction in DEN0137 normative?
- Or should the specification describe the hash-sized/variable-length
construction implemented by TF-RMM?
For context, I have been considering implementing a CCEL replay library
for Arm CCA and noticed this mismatch. The exact construction matters
because otherwise the replayed measurements will differ from the REM
values produced by the RMM.
Thanks,
Kohei
Hi All,
The next release of the Firmware-A bundle of projects tagged v2.15 has an
expected code freeze date of 15/05/2026.
Refer to the release cadence section from TF-A documentation
(https://trustedfirmware-a.readthedocs.io/en/latest/about/release-informatio…).
Closing out the release takes around 6-10 working days after the code freeze.
v2.15 release preparation tasks are on-going and well progressed.
We want to ensure that planned feature patches for the release are submitted in
good time for the review process to conclude.
As a kind reminder and a matter of sharing CI resources, please launch CI
jobs with care e.g.:
*
For simple platform, docs changes, or one liners, use Allow-CI+1 label (no
need for a full Allow-CI+2 run).
*
For large patch stacks use Allow-CI+2 at top of the patch stack (and if
required few individual Allow+CI+1 labels in the middle of the patch stack).
*
Carefully analyze results and fix the change if required, before launching new
jobs on the same change.
*
If after issuing a Allow-CI+1 or Allow-CI+2 label a Build start notice is not
added as a gerrit comment on the patch right away please be patient as under
heavy load CI jobs can be queued and in extreme conditions it can be over an
hour before the Build start notice is issued. Issuing another Allow-CI+1 or
Allow-CI+2 label will just result in an additional job being queued.
Thanks & Regards,
Harrison on behalf of the TF-A team
Hi Folks,
It's first time to raise questions here, not sure it's the right place for discussion on
feature planning and support here. The background is our RHEL distributions like RHEL10
supports 64KB (base) page size for arm64, which isn't supported by upstream TF-RMM yet.
So the question is do we have a plan to support 64KB granule size and the estimated time
for it to happen?
Looking at the latest TF-RMM upstream code, 64KB granule size isn't supported as I can
understand.
- In smc_rmm_config_set(), handler of RMI RMM_CONFIG_SET, the configured granule size should
be RMI_GRANULE_SIZE, which is hardcoded to 4KB like below.
/* The implementation currently supports only the 4 KiB RMI Granule size. */
#define RMI_GRANULE_SIZE RMI_GRANULE_SIZE_4KB
- 'struct granule' represents a granule in TF-RMM, whose length is 16-bits. Bits[0 - 9] are curved
out for the reference count, which isn't sufficient when the granule is taken as stage-2 RTT if
the granule size is 64KB. In this specific case, Bits[0 - 13] are needed for the reference count.
- The translation regimes are sticky to 4KB. For example, option 'XLAT_GRANULARITY_SIZE_SHIFT' only
supports 4KB at present.
if(NOT(XLAT_GRANULARITY_SIZE_SHIFT EQUAL "12"))
message(FATAL_ERROR "Only 4K granularity is supported at the moment")
endif()
Thanks,
Gavin
Hi everyone,
I am sending this email to all tf.org project mailing lists to ensure all maintainers are aware and on board regarding this matter. If you have any concerns or questions, please reply on tf.org Discord #general channel, where I'll create a thread, as I think it will be much easier than dealing with cross-mailing lists emails.
Background
When a security vulnerability is discovered in one of the trustedfirmware.org projects, it is common to request a "Common Vulnerabilities and Exposures" (CVE) number. This number uniquely references the issue, which can then be searched in the vulnerability databases. One of these databases is NIST's "National Vulnerability Database" (NVD): https://nvd.nist.gov<https://nvd.nist.gov/vuln/detail/CVE-2023-51712>
Entering a specific CVE number in NVD search engine will allow you to easily find the details of a specific issue, for example:
https://nvd.nist.gov/vuln/detail/CVE-2023-51712
However, sometimes one is not looking for a specific CVE number but rather wants to list all known vulnerabilities affecting a particular project. For this, one can use the Common Platform Enumerations (CPE) search engine:
https://nvd.nist.gov/products/cpe/search
CPE is a structured naming scheme that includes information like the vendor name, the project name, the version / tag, and so on.
See https://nvd.nist.gov/products/cpe for more details.
So for example, https://nvd.nist.gov/vuln/detail/CVE-2023-51712 referenced above has the following CPE:
cpe:2.3:o:arm:trusted_firmware-m:*:*:*:*:*:*:*:*
This basically means
*
CPE version 2.3 is in use
*
'o is the type of project, in this case it stands for Operating Systems (which is probably the closest match for low-level code like TF-M)
*
'arm' is the vendor (that is wrong, see below)
*
'trusted_firmware-m' is the project name,
Problem statement
It appears that CPEs used in NVD to reference vulnerabilities in tf.org projects differ a lot across projects. For some projects, there's even multiple of them. Sometimes the vendor is "arm", sometimes it's "linaro", or something else.
Some of the TF-A and MbedTLS maintainers have initiated discussions with NVD to get this simplified and unified, but it would make sense to align other tf.org projects as well.
Proposal
CPE naming rules are that the vendor name should the parent organization of the project. Thus the proposal would be for all tf.org projects to use "trustedfirmware" as the vendor name in their CPE.
For example:
cpe:2.3:o:trustedfirmware:trusted_firmware-m:*:*:*:*:*:*:*:*
cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*
We're only proposing to change the vendor name here ; each project is then free to choose how they want the project name or the type of software project they want to encode there.
Thanks for reading,
Best regards,
Sandrine Afsa
Forwarding to TF-RMM list.
From: Google Calendar <calendar-notification(a)google.com> on behalf of Olivier Deprez via TF-A <tf-a(a)lists.trustedfirmware.org>
Date: Monday, 8 June 2026 at 14:15
To: tf-a(a)lists.trustedfirmware.org <tf-a(a)lists.trustedfirmware.org>; Olivier Deprez <Olivier.Deprez(a)arm.com>
Subject: [TF-A] TF-A Tech Forum - Fuzzing TF-RMM Jun 11th 2026 4.00pm UK
Hi,
On Jun 11th 2026 4.00pm UK, Rustam Ismayilov will present the topic of TF-RMM fuzzing with the following agenda:
Fuzzed Interfaces
fake_host
AFL++
seed generation
statefull fuzzing
Results and performance
Limitations and planned improvements
Regards,
Olivier.
TF-A Tech Forum
Thursday Jun 11, 2026 ⋅ 5pm – 6pm (Central European Time - Paris)
Trusted Firmware is inviting you to a scheduled Zoom meeting.
Topic: TF-A Tech Forum
Time: May 15, 2025 02:00 PM London
Every 2 weeks on Thu, 78 occurrence(s)
Please download and import the following iCalendar (.ics) files to your calendar system.
Weekly: https://linaro-org.zoom.us/meeting/tJcocu6gqDgjEtOkyBhSQauR1sUyFwIcNKLa/ics…<https://www.google.com/url?q=https%3A%2F%2Flinaro-org.zoom.us%2Fmeeting%2Ft…>
Join Zoom Meeting
https://linaro-org.zoom.us/j/93557863987?pwd=56a1l8cBnetDTZ6eazHGaE1Ctk4W34…<https://www.google.com/url?q=https%3A%2F%2Flinaro-org.zoom.us%2Fj%2F9355786…>
Meeting ID: 935 5786 3987
Passcode: 939141
---
One tap mobile
+12532158782,,93557863987# US (Tacoma)
+13017158592,,93557863987# US (Washington DC)
---
Dial by your location
• +1 253 215 8782 US (Tacoma)
• +1 301 715 8592 US (Washington DC)
• +1 305 224 1968 US
• +1 309 205 3325 US
• +1 312 626 6799 US (Chicago)
• +1 346 248 7799 US (Houston)
• +1 360 209 5623 US
• +1 386 347 5053 US
• +1 507 473 4847 US
• +1 564 217 2000 US
• +1 646 558 8656 US (New York)
• +1 646 931 3860 US
• +1 669 444 9171 US
• +1 669 900 9128 US (San Jose)
• +1 689 278 1000 US
• +1 719 359 4580 US
• +1 253 205 0468 US
• 833 548 0276 US Toll-free
• 833 548 0282 US Toll-free
• 833 928 4608 US Toll-free
• 833 928 4609 US Toll-free
• 833 928 4610 US Toll-free
• 877 853 5247 US Toll-free
• 888 788 0099 US Toll-free
Meeting ID: 935 5786 3987
Find your local number: https://linaro-org.zoom.us/u/adoz9mILli<https://www.google.com/url?q=https%3A%2F%2Flinaro-org.zoom.us%2Fu%2Fadoz9mI…>
Location
https://linaro-org.zoom.us/j/93557863987?pwd=56a1l8cBnetDTZ6eazHGaE1Ctk4W34…
View map<https://www.google.com/url?q=https%3A%2F%2Flinaro-org.zoom.us%2Fj%2F9355786…>
Guests
d82620130(a)gmail.com<mailto:d82620130@gmail.com>
namyoon(a)google.com<mailto:namyoon@google.com>
shaikadnanafrid(a)gmail.com<mailto:shaikadnanafrid@gmail.com>
tf-a(a)lists.trustedfirmware.org<mailto:tf-a@lists.trustedfirmware.org>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.