[PATCH v19 11/20] KVM: arm64: Mandate VGIC v3 for for VMs running on hyp that don't trust the host
Gavin Shan
gshan at redhat.com
Sun Sep 27 18:10:43 PDT 2026
On 9/21/26 7:28 AM, Suzuki K Poulose wrote:
> pKVM and RMM, both do not trust the host. Add a helper to detect the VMs
> that have "distrusting" hyp. Use this for blocking ioremap of vgic-v2 into
> stage2 and prevent creation of VGIC other than v3.
>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> ---
> Changes since v18:
> - Cover pKVM guests for VGIC v3 mandate.
> - Merge the VGIC mandate check in here.
> ---
> arch/arm64/include/asm/kvm_host.h | 3 +++
> arch/arm64/kvm/mmu.c | 2 +-
> arch/arm64/kvm/vgic/vgic-init.c | 2 ++
> 3 files changed, 6 insertions(+), 1 deletion(-)
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-arm-kernel
mailing list