KVM: selftests: Add vgic initialization for dirty log perf test for ARM
authorJing Zhang <jingzhangos@google.com>
Tue, 18 Jan 2022 01:57:03 +0000 (01:57 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 8 Feb 2022 14:27:53 +0000 (14:27 +0000)
commitc340f7899af6f83bd937f8838949bb32da54c8a4
treee22f0501dc35e34d5d7efab47c75a4399976e3c0
parentf783ef1c0e82e4fc311a972472ff61f6d1d0e22d
KVM: selftests: Add vgic initialization for dirty log perf test for ARM

For ARM64, if no vgic is setup before the dirty log perf test, the
userspace irqchip would be used, which would affect the dirty log perf
test result.

Signed-off-by: Jing Zhang <jingzhangos@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220118015703.3630552-4-jingzhangos@google.com
tools/testing/selftests/kvm/dirty_log_perf_test.c