[PATCH v6 09/11] KVM: arm64: Select protected VM behaviour by VM flavour

Fuad Tabba fuad.tabba at linux.dev
Fri Dec 4 05:21:25 PST 2026


On Fri, 4 Dec 2026 at 11:58, Steven Price <steven.price at arm.com> wrote:
>
> Use the VM flavour when choosing the stage-2 fault lock, fault memory
> cache, pre-fault policy and ptdump visibility. This prepares these paths
> for Realm VMs, whose stage-2 tables are managed outside the host.
>
> Move the VM flavour helper outside the nVHE guard so the shared
> fault-lock helpers can use it.
>
> Signed-off-by: Steven Price <steven.price at arm.com>

Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>

Cheers,
/fuad



More information about the linux-arm-kernel mailing list