KVM: arm64: selftests: Add a test case for a linked watchpoint
authorReiji Watanabe <reijiw@google.com>
Thu, 20 Oct 2022 05:42:01 +0000 (22:42 -0700)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:03:54 +0000 (19:03 +0000)
commit5ced4e533b676b1a582d89aba5328e4b316957e0
treef13f3e8ac9aa9414a291e430873034a16ff81044
parent142365932f5f296df593dd653d79194ff5457722
KVM: arm64: selftests: Add a test case for a linked watchpoint

Currently, the debug-exceptions test doesn't have a test case for
a linked watchpoint. Add a test case for the linked watchpoint to
the test. The new test case uses the highest numbered context-aware
breakpoint (for Context ID match), and the watchpoint#0, which is
linked to the context-aware breakpoint.

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