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

From: Suzuki K Poulose
Date: Thu May 01 2025 - 12:52:08 EST


On 16/04/2025 14:41, 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.

Signed-off-by: Steven Price <steven.price@xxxxxxx>

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>