KVM: arm64: selftests: Change debug_version() to take ID_AA64DFR0_EL1
authorReiji Watanabe <reijiw@google.com>
Thu, 20 Oct 2022 05:41:59 +0000 (22:41 -0700)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:03:54 +0000 (19:03 +0000)
commit5dd544e882d96d43b363c5ef64683281f2a386d9
tree2660033d2ad7c7820502fd4fce04e22ff89e3738
parent948f439c9d0080972ec937f4aefbe51229546510
KVM: arm64: selftests: Change debug_version() to take ID_AA64DFR0_EL1

Change debug_version() to take the ID_AA64DFR0_EL1 value instead of
vcpu as an argument, and change its callsite to read ID_AA64DFR0_EL1
(and pass it to debug_version()).
Subsequent patches will reuse the register value in the callsite.

No functional change intended.

Signed-off-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221020054202.2119018-7-reijiw@google.com
tools/testing/selftests/kvm/aarch64/debug-exceptions.c