Re: [PATCH 00/11] KVM: arm64: CCA: Prepare Realm memory management

From: Suzuki K Poulose

Date: Tue Nov 10 2026 - 07:03:48 EST


Hi Kohei

On 10/11/2026 09:24, Kohei Enju wrote:
On 11/02 14:12, Steven Price wrote:
This series adds the memory plumbing for CCA building on the basic
plumbing[1] that has just been merged.

These patches add the internal realm VM state and RMM feature checks,
prepare realm stage-2 setup and teardown, and provide RTT mapping and
invalidation helpers. Realm memslots are now contrained to the lower
half of the IPA space, because faults treat the protected and shared
halves as aliasing. The final patch then connects these helpers to the
KVM stage-2 MMU operations.

There's also an integration branch[2] that builds on this series and
includes the realm descriptor creation, REC entry/exit, activation and
the new uAPI. This series by itself is also available as a git
branch[3]. However the new code isn't generally active without the full
integration branch.

[1] https://lore.kernel.org/all/20261007073537.2454351-1-suzuki.poulose@xxxxxxx/
[2] https://gitlab.arm.com/linux-arm/linux-cca
branch: cca-host-mm/v1/integration

Hi Steve, thanks for your work on CCA upstreaming.

For testing purposes, could you clarify which TF-RMM revision (or commit
hash) you tested with? Although this MM series itself doesn't seem to be
particularly sensitive to changes in TF-RMM, testing the integration
branch could be affected by subtle changes in the RMM.

Tip of both the repositories should work (tf-a and tf-rmm).

Cheers
Suzuki



It would also be useful to know the TF-A revision, if possible.

Thanks,
Kohei