[PATCH v19 15/20] KVM: arm64: CCA: Introduce Realms
Jonathan Cameron
jonathan.cameron at oss.qualcomm.com
Tue Sep 22 15:49:31 PDT 2026
On Sun, 20 Sep 2026 22:28:40 +0100
Suzuki K Poulose <suzuki.poulose at arm.com> wrote:
> From: Steven Price <steven.price at arm.com>
>
> Add foundational work for supporting Realms.
> - Add a new VM flavor.
> - At KVM init, check if the KVM can support Realms (though not functional yet)
> and will be advertised by static key kvm_rmi_is_available. This will be
> turned on in a later patches, once we have all the bits and pieces ready.
> For now check if we are blessed with KVM_MODE_RMM.
> - Add realm specific tracking in kvm_arch. Since Realm and protected pKVM
> states are mutually exclusive, move them into a union.
>
> Please note that we cannot create Realm VMs yet. This requires further changes
> to the UABI and core RMI driver support, which will come later.
>
> Signed-off-by: Steven Price <steven.price at arm.com>
> Co-developed-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
Seems like sensible infrastructure to me.
Reviewed-by: Jonathan Cameron <jonathan.cameron at oss.qualcomm.com>
More information about the linux-arm-kernel
mailing list