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

From: Steven Price

Date: Thu Dec 03 2026 - 04:24:38 EST


On 02/12/2026 04:45, Kohei Enju wrote:
> On 11/30 14:25, Steven Price wrote:
>> This series adds the memory management plumbing for CCA, building on the
>> basic RMM support [1]. Thanks to everyone who reviewed and tested the
>> earlier versions.
>>
>> The patches introduce internal Realm VM state, prepare Realm stage-2
>> setup and teardown, and provide RTT mapping and invalidation helpers.
>> Realm memslots are restricted to the lower half of the IPA space because
>> the protected and shared halves alias each other. The final patch
>> connects the helpers to KVM's stage-2 MMU operations.
>>
>> This is the memory management portion of the larger Realm host series.
>> Realm descriptor creation, REC entry and exit, activation, and the new
>> uAPI follow in the integration stack. This series alone does not enable
>> Realm creation.
>>
>> The integration branch [2] includes Realm creation, REC entry and exit,
>> and the remaining host support on top of this series. The MM branch [3]
>> contains just this series.
>
> Hi Steve,
>
> I've tested the v5 integration branch on our real hardware, and I
> haven't seen any issues so far.
>
> For the series:
> Tested-by: Kohei Enju <enju.kohei@xxxxxxxxxxx>

Thanks!

> I'd also like to review the series if time permits, but unfortunately
> I've only had enough bandwidth for testing so far :D

No worries - having someone test this on real hardware is very valuable.

Thanks,
Steve