KVM: arm64: selftests: Add write_dbg{b,w}{c,v}r helpers in debug-exceptions
authorReiji Watanabe <reijiw@google.com>
Thu, 20 Oct 2022 05:41:55 +0000 (22:41 -0700)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:03:54 +0000 (19:03 +0000)
commitf6d02aa28ae21161d64300bac62b2dde85584004
treeb0661c7f6d4299d8a5bf646a4697059a6b7fb930
parent1a6182033f2d5c481aec1f8c1c26ebc649693d57
KVM: arm64: selftests: Add write_dbg{b,w}{c,v}r helpers in debug-exceptions

Introduce helpers in the debug-exceptions test to write to
dbg{b,w}{c,v}r registers. Those helpers will be useful for
test cases that will be added to the test in subsequent patches.

No functional change intended.

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