]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: selftests: Add support for GICv2 on v3
authorMarc Zyngier <maz@kernel.org>
Thu, 14 Jul 2022 15:41:08 +0000 (16:41 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 15 Jul 2022 10:01:00 +0000 (11:01 +0100)
commit52345b9e93bb90792e31748dc4586ffe9b050574
treedf9e24521cfcf0dca9e018764e1ed9b4c0ce5514
parentb45ef07c706634f1bf0a393e6ae9ffcf4465d0a3
KVM: arm64: selftests: Add support for GICv2 on v3

The current vgic_init test wrongly assumes that the host cannot
multiple versions of the GIC architecture, while v2 emulation
on v3 has almost always been supported (it was supported before
the standalone v3 emulation).

Tweak the test to support multiple GIC incarnations.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Fixes: 177d3897d0fa ("KVM: arm64: selftests: Make vgic_init gic version agnostic")
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Link: https://lore.kernel.org/r/20220714154108.3531213-1-maz@kernel.org
tools/testing/selftests/kvm/aarch64/vgic_init.c