1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/kvm/lib/aarch64
Raghavendra Rao Ananta 250b8d6cb3 KVM: arm64: selftests: Add host support for vGIC
Implement a simple library to perform vGIC-v3 setup
from a host point of view. This includes creating a
vGIC device, setting up distributor and redistributor
attributes, and mapping the guest physical addresses.

The definition of REDIST_REGION_ATTR_ADDR is taken from
aarch64/vgic_init test. Hence, replace the definition
by including vgic.h in the test file.

Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211007233439.1826892-14-rananta@google.com
2021-10-17 11:17:21 +01:00
..
gic.c KVM: arm64: selftests: Add basic GICv3 support 2021-10-17 11:17:21 +01:00
gic_private.h KVM: arm64: selftests: Add basic GICv3 support 2021-10-17 11:17:21 +01:00
gic_v3.c KVM: arm64: selftests: Add basic GICv3 support 2021-10-17 11:17:21 +01:00
gic_v3.h KVM: arm64: selftests: Add basic GICv3 support 2021-10-17 11:17:21 +01:00
handlers.S KVM: selftests: Add exception handling support for aarch64 2021-06-14 09:06:23 +01:00
processor.c KVM: arm64: selftests: Add guest support to get the vcpuid 2021-10-17 11:17:21 +01:00
spinlock.c KVM: arm64: selftests: Add light-weight spinlock support 2021-10-17 11:17:21 +01:00
ucall.c KVM: selftests: Unconditionally use memslot '0' for page table allocations 2021-06-24 11:47:48 -04:00
vgic.c KVM: arm64: selftests: Add host support for vGIC 2021-10-17 11:17:21 +01:00