KVM: arm64: selftests: Test with every breakpoint/watchpoint
authorReiji Watanabe <reijiw@google.com>
Thu, 20 Oct 2022 05:42:02 +0000 (22:42 -0700)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:03:54 +0000 (19:03 +0000)
commitebb8cc10316de3040efc4cfb40030f374cbbaa3b
treef1aec3b5088f2e46a8065ae70586f6aad100a67a
parent5ced4e533b676b1a582d89aba5328e4b316957e0
KVM: arm64: selftests: Test with every breakpoint/watchpoint

Currently, the debug-exceptions test always uses only
{break,watch}point#0 and the highest numbered context-aware
breakpoint. Modify the test to use all {break,watch}points and
context-aware breakpoints supported on the system.

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