KVM: selftests: aarch64: Add GICv3 register accessor library functions
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:38:52 +0000 (18:38 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:23:13 +0000 (19:23 +0000)
commit17ce617bf76a7c1d3b553ed01607706434b9ed59
tree0345e41dd38f661a2765537f1efb47b4ec925546
parent745068367ccbf33d69cf4acf7b1a3d5478978e8e
KVM: selftests: aarch64: Add GICv3 register accessor library functions

Add library functions for accessing GICv3 registers: DIR, PMR, CTLR,
ISACTIVER, ISPENDR.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Acked-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211109023906.1091208-4-ricarkol@google.com
tools/testing/selftests/kvm/include/aarch64/gic.h
tools/testing/selftests/kvm/include/aarch64/gic_v3.h
tools/testing/selftests/kvm/lib/aarch64/gic.c
tools/testing/selftests/kvm/lib/aarch64/gic_private.h
tools/testing/selftests/kvm/lib/aarch64/gic_v3.c