]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: selftests: Add unsanitised helpers for VGICv3 creation
authorOliver Upton <oliver.upton@linux.dev>
Wed, 17 Sep 2025 21:20:34 +0000 (14:20 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 24 Sep 2025 18:23:32 +0000 (19:23 +0100)
commitb8daa7ceac1c56e39b6ef4e62510a7d846511695
treee4e579a7c46f3bed2b1cc9e48c608f639feddc10
parentb712afa7a1cdb787f311f51c04df81fc6f026368
KVM: arm64: selftests: Add unsanitised helpers for VGICv3 creation

vgic_v3_setup() has a good bit of sanity checking internally to ensure
that vCPUs have actually been created and match the dimensioning of the
vgic itself. Spin off an unsanitised setup and initialization helper so
vgic initialization can be wired in around a 'default' VM's vCPU
creation.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/include/arm64/vgic.h
tools/testing/selftests/kvm/lib/arm64/vgic.c