[PATCH v9 12/43] KVM: arm64: vgic: Provide helper for number of list registers

Suzuki K Poulose suzuki.poulose at arm.com
Tue Jul 1 03:16:32 PDT 2025


On 11/06/2025 11:48, Steven Price wrote:
> Currently the number of list registers available is stored in a global
> (kvm_vgic_global_state.nr_lr). With Arm CCA the RMM is permitted to
> reserve list registers for its own use and so the number of available
> list registers can be fewer for a realm VM. Provide a wrapper function
> to fetch the global in preparation for restricting nr_lr when dealing
> with a realm VM.
> 
> Reviewed-by: Gavin Shan <gshan at redhat.com>
> Signed-off-by: Steven Price <steven.price at arm.com>

Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com




More information about the linux-arm-kernel mailing list