]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: selftests: Initialize VGICv3 only once
authorOliver Upton <oliver.upton@linux.dev>
Wed, 17 Sep 2025 21:20:32 +0000 (14:20 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 24 Sep 2025 18:23:31 +0000 (19:23 +0100)
commita5022da5f9a3a791ff2caf5fe3789561ae687747
treea9d9a0d103de91e77b613f7b358da683785e73b5
parent7326348209a0079a83c7bd7963a0e32d26af61c8
KVM: arm64: selftests: Initialize VGICv3 only once

vgic_v3_setup() unnecessarily initializes the vgic twice. Keep the
initialization after configuring MMIO frames and get rid of the other.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/lib/arm64/vgic.c