KVM: selftests: Standardise layout of GIC frames
authorOliver Upton <oliver.upton@linux.dev>
Mon, 22 Apr 2024 20:01:53 +0000 (20:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 25 Apr 2024 12:19:56 +0000 (13:19 +0100)
commit1505bc70f80df9824e9d68d15a7452856df7488c
tree89372bb60676814176a750eca0bd105be7b725f2
parentd82689bdd828833bd582c2bf7a85071cacb52990
KVM: selftests: Standardise layout of GIC frames

It would appear that all of the selftests are using the same exact
layout for the GIC frames. Fold this back into the library
implementation to avoid defining magic values all over the selftests.

This is an extension of Colton's change, ripping out parameterization of
from the library internals in addition to the public interfaces.

Co-developed-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240422200158.2606761-15-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/aarch64/arch_timer.c
tools/testing/selftests/kvm/aarch64/vgic_irq.c
tools/testing/selftests/kvm/aarch64/vpmu_counter_access.c
tools/testing/selftests/kvm/dirty_log_perf_test.c
tools/testing/selftests/kvm/include/aarch64/gic.h
tools/testing/selftests/kvm/include/aarch64/vgic.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
tools/testing/selftests/kvm/lib/aarch64/vgic.c